diff options
author | Elliott Hughes <enh@google.com> | 2020-12-02 18:09:57 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-12-02 18:24:38 -0800 |
commit | 98e581f8227b9846b7adc92c0c63f5ed2384ff4b (patch) | |
tree | 26effec72dbace7671158aeddc9fde1e3e9cd1a9 /simd/powerpc/jcsample.h | |
parent | ff78ee5a324a7d37e0bfffd6152ea37056f29931 (diff) | |
parent | d5148db386ceb4a608058320071cbed890bd6ad2 (diff) |
Switch to chromium upstream.
Bug: https://issuetracker.google.com/135180511
Test: treehugger
Change-Id: I0c78ec9b07debdb501a96df0d6cb2f9a24b5fc84
Diffstat (limited to 'simd/powerpc/jcsample.h')
-rw-r--r-- | simd/powerpc/jcsample.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/simd/powerpc/jcsample.h b/simd/powerpc/jcsample.h deleted file mode 100644 index 2ac4816..0000000 --- a/simd/powerpc/jcsample.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * jcsample.h - * - * This file was part of the Independent JPEG Group's software: - * Copyright (C) 1991-1996, Thomas G. Lane. - * For conditions of distribution and use, see the accompanying README.ijg - * file. - */ - -LOCAL(void) -expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, - JDIMENSION output_cols) -{ - register JSAMPROW ptr; - register JSAMPLE pixval; - register int count; - int row; - int numcols = (int)(output_cols - input_cols); - - if (numcols > 0) { - for (row = 0; row < num_rows; row++) { - ptr = image_data[row] + input_cols; - pixval = ptr[-1]; /* don't need GETJSAMPLE() here */ - for (count = numcols; count > 0; count--) - *ptr++ = pixval; - } - } -} |