Home
last modified time | relevance | path

Searched refs:inptr (Results 1 – 25 of 41) sorted by relevance

12

/external/jpeg/
Djidctred.c124 JCOEFPTR inptr; variable
135 inptr = coef_block; variable
138 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
142 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
143 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
144 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) {
146 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
158 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
161 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
162 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Djccolor.c139 register JSAMPROW inptr; in rgb_ycc_convert() local
145 inptr = *input_buf++; in rgb_ycc_convert()
151 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_ycc_convert()
152 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_ycc_convert()
153 b = GETJSAMPLE(inptr[RGB_BLUE]); in rgb_ycc_convert()
154 inptr += RGB_PIXELSIZE; in rgb_ycc_convert()
195 register JSAMPROW inptr; in rgb_gray_convert() local
201 inptr = *input_buf++; in rgb_gray_convert()
205 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_gray_convert()
206 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_gray_convert()
[all …]
Djidctflt.c75 JCOEFPTR inptr; variable
86 inptr = coef_block; variable
99 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
100 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
101 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
102 inptr[DCTSIZE*7] == 0) {
104 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
115 inptr++; /* advance pointers to next column */
123 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
124 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
[all …]
Djidctfst.c175 JCOEFPTR inptr; variable
187 inptr = coef_block; variable
200 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
201 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
202 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
203 inptr[DCTSIZE*7] == 0) {
205 int dcval = (int) DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
216 inptr++; /* advance pointers to next column */
224 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
225 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
[all …]
Djidctint.c155 JCOEFPTR inptr; variable
168 inptr = coef_block; variable
181 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
182 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
183 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
184 inptr[DCTSIZE*7] == 0) {
186 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
197 inptr++; /* advance pointers to next column */
206 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
207 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Dwrtarga.c104 register JSAMPROW inptr; in put_pixel_rows() local
108 inptr = dest->pub.buffer[0]; in put_pixel_rows()
111 outptr[0] = (char) GETJSAMPLE(inptr[2]); /* RGB to BGR order */ in put_pixel_rows()
112 outptr[1] = (char) GETJSAMPLE(inptr[1]); in put_pixel_rows()
113 outptr[2] = (char) GETJSAMPLE(inptr[0]); in put_pixel_rows()
114 inptr += 3, outptr += 3; in put_pixel_rows()
125 register JSAMPROW inptr; in put_gray_rows() local
129 inptr = dest->pub.buffer[0]; in put_gray_rows()
132 *outptr++ = (char) GETJSAMPLE(*inptr++); in put_gray_rows()
148 register JSAMPROW inptr; in put_demapped_gray() local
[all …]
Djdsample.c194 register JSAMPROW inptr, outptr; in int_upsample() local
207 inptr = input_data[inrow]; in int_upsample()
211 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in int_upsample()
237 register JSAMPROW inptr, outptr; in h2v1_upsample() local
243 inptr = input_data[inrow]; in h2v1_upsample()
247 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v1_upsample()
265 register JSAMPROW inptr, outptr; in h2v2_upsample() local
272 inptr = input_data[inrow]; in h2v2_upsample()
276 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v2_upsample()
308 register JSAMPROW inptr, outptr; in h2v1_fancy_upsample() local
[all …]
Djutils.c126 register JSAMPROW inptr, outptr; in jcopy_sample_rows() local
138 inptr = *input_array++; in jcopy_sample_rows()
141 FMEMCOPY(outptr, inptr, count); in jcopy_sample_rows()
144 *outptr++ = *inptr++; /* needn't bother with GETJSAMPLE() here */ in jcopy_sample_rows()
158 register JCOEFPTR inptr, outptr; in jcopy_block_row()
161 inptr = (JCOEFPTR) input_row; in jcopy_block_row()
164 *outptr++ = *inptr++; in jcopy_block_row()
Djcsample.c146 JSAMPROW inptr, outptr; in int_downsample() local
168 inptr = input_data[inrow+v] + outcol_h; in int_downsample()
170 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample()
218 register JSAMPROW inptr, outptr; in h2v1_downsample() local
230 inptr = input_data[outrow]; in h2v1_downsample()
233 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
236 inptr += 2; in h2v1_downsample()
398 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local
420 inptr = input_data[outrow]; in fullsize_smooth_downsample()
426 GETJSAMPLE(*inptr); in fullsize_smooth_downsample()
[all …]
Djdcolor.c515 register JSAMPROW inptr, outptr; in null_convert() local
523 inptr = input_buf[ci][input_row]; in null_convert()
526 *outptr = *inptr++; /* needn't bother with GETJSAMPLE() here */ in null_convert()
563 register JSAMPROW inptr, outptr; in gray_rgb_convert() local
568 inptr = input_buf[0][input_row++]; in gray_rgb_convert()
572 outptr[RGB_RED] = outptr[RGB_GREEN] = outptr[RGB_BLUE] = inptr[col]; in gray_rgb_convert()
584 register JSAMPROW inptr, outptr; in gray_rgba_8888_convert() local
589 inptr = input_buf[0][input_row++]; in gray_rgba_8888_convert()
593 outptr[RGB_RED] = outptr[RGB_GREEN] = outptr[RGB_BLUE] = inptr[col]; in gray_rgba_8888_convert()
605 register JSAMPROW inptr, outptr; in gray_rgb_565_convert() local
[all …]
Dmips_jidctfst.c174 void mips_idct_columns(JCOEF * inptr, IFAST_MULT_TYPE * quantptr,
189 JCOEFPTR inptr; in jpeg_idct_mips() local
195 inptr = coef_block; in jpeg_idct_mips()
198 mips_idct_columns(inptr, quantptr, workspace, mips_idct_coefs); in jpeg_idct_mips()
Drdbmp.c126 register JSAMPROW inptr, outptr; in get_8bit_row() local
136 inptr = image_ptr[0]; in get_8bit_row()
139 t = GETJSAMPLE(*inptr++); in get_8bit_row()
155 register JSAMPROW inptr, outptr; in get_24bit_row() local
167 inptr = image_ptr[0]; in get_24bit_row()
170 outptr[2] = *inptr++; /* can omit GETJSAMPLE() safely */ in get_24bit_row()
171 outptr[1] = *inptr++; in get_24bit_row()
172 outptr[0] = *inptr++; in get_24bit_row()
Dwrbmp.c77 register JSAMPROW inptr, outptr; in put_pixel_rows() local
90 inptr = dest->pub.buffer[0]; in put_pixel_rows()
93 outptr[2] = *inptr++; /* can omit GETJSAMPLE() safely */ in put_pixel_rows()
94 outptr[1] = *inptr++; in put_pixel_rows()
95 outptr[0] = *inptr++; in put_pixel_rows()
112 register JSAMPROW inptr, outptr; in put_gray_rows() local
123 inptr = dest->pub.buffer[0]; in put_gray_rows()
126 *outptr++ = *inptr++; /* can omit GETJSAMPLE() safely */ in put_gray_rows()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jidctred.c125 JCOEFPTR inptr; variable
136 inptr = coef_block; variable
139 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
144 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
145 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) {
147 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
159 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
162 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
163 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Dfpdfapi_jccolor.c138 register JSAMPROW inptr; in rgb_ycc_convert() local
144 inptr = *input_buf++; in rgb_ycc_convert()
150 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_ycc_convert()
151 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_ycc_convert()
152 b = GETJSAMPLE(inptr[RGB_BLUE]); in rgb_ycc_convert()
153 inptr += RGB_PIXELSIZE; in rgb_ycc_convert()
194 register JSAMPROW inptr; in rgb_gray_convert() local
200 inptr = *input_buf++; in rgb_gray_convert()
204 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_gray_convert()
205 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_gray_convert()
[all …]
Dfpdfapi_jidctfst.c176 JCOEFPTR inptr; variable
188 inptr = coef_block; variable
201 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
202 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
203 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
204 inptr[DCTSIZE*7] == 0) {
206 int dcval = (int) DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
217 inptr++; /* advance pointers to next column */
225 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
226 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
[all …]
Dfpdfapi_jidctint.c156 JCOEFPTR inptr; variable
169 inptr = coef_block; variable
182 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
183 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
184 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
185 inptr[DCTSIZE*7] == 0) {
187 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS;
198 inptr++; /* advance pointers to next column */
207 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
208 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Dfpdfapi_jdsample.c195 register JSAMPROW inptr, outptr; in int_upsample() local
208 inptr = input_data[inrow]; in int_upsample()
212 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in int_upsample()
238 register JSAMPROW inptr, outptr; in h2v1_upsample() local
244 inptr = input_data[inrow]; in h2v1_upsample()
248 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v1_upsample()
266 register JSAMPROW inptr, outptr; in h2v2_upsample() local
273 inptr = input_data[inrow]; in h2v2_upsample()
277 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v2_upsample()
309 register JSAMPROW inptr, outptr; in h2v1_fancy_upsample() local
[all …]
Dfpdfapi_jutils.c121 register JSAMPROW inptr, outptr; in jcopy_sample_rows() local
133 inptr = *input_array++; in jcopy_sample_rows()
136 FMEMCOPY(outptr, inptr, count); in jcopy_sample_rows()
139 *outptr++ = *inptr++; /* needn't bother with GETJSAMPLE() here */ in jcopy_sample_rows()
153 register JCOEFPTR inptr, outptr; in jcopy_block_row()
156 inptr = (JCOEFPTR) input_row; in jcopy_block_row()
159 *outptr++ = *inptr++; in jcopy_block_row()
Dfpdfapi_jcsample.c147 JSAMPROW inptr, outptr; in int_downsample() local
169 inptr = input_data[inrow+v] + outcol_h; in int_downsample()
171 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample()
219 register JSAMPROW inptr, outptr; in h2v1_downsample() local
231 inptr = input_data[outrow]; in h2v1_downsample()
234 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
237 inptr += 2; in h2v1_downsample()
399 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local
421 inptr = input_data[outrow]; in fullsize_smooth_downsample()
427 GETJSAMPLE(*inptr); in fullsize_smooth_downsample()
[all …]
Dfpdfapi_jdcolor.c174 register JSAMPROW inptr, outptr; in null_convert() local
182 inptr = input_buf[ci][input_row]; in null_convert()
185 *outptr = *inptr++; /* needn't bother with GETJSAMPLE() here */ in null_convert()
222 register JSAMPROW inptr, outptr; in gray_rgb_convert() local
227 inptr = input_buf[0][input_row++]; in gray_rgb_convert()
231 outptr[RGB_RED] = outptr[RGB_GREEN] = outptr[RGB_BLUE] = inptr[col]; in gray_rgb_convert()
/external/webrtc/src/common_audio/signal_processing/
Dvector_scaling_operations.c100 G_CONST WebRtc_Word16 *inptr; in WebRtcSpl_ScaleVector() local
103 inptr = in_vector; in WebRtcSpl_ScaleVector()
108 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts); in WebRtcSpl_ScaleVector()
119 G_CONST WebRtc_Word16 *inptr; in WebRtcSpl_ScaleVectorWithSat() local
122 inptr = in_vector; in WebRtcSpl_ScaleVectorWithSat()
127 tmpW32 = WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, gain, right_shifts); in WebRtcSpl_ScaleVectorWithSat()
Dilbc_specific_functions.c50 G_CONST WebRtc_Word16 *inptr = in; in WebRtcSpl_ReverseOrderMultArrayElements() local
54 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, in WebRtcSpl_ReverseOrderMultArrayElements()
65 G_CONST WebRtc_Word16 *inptr = in; in WebRtcSpl_ElementwiseVectorMult() local
69 (*outptr++) = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(*inptr++, in WebRtcSpl_ElementwiseVectorMult()
/external/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc59 const void* inptr; in main() local
62 ok = in.Next(&inptr, &inlen); in main()
67 int err = write(STDOUT_FILENO, inptr, inlen); in main()
/external/boringssl/src/crypto/modes/
Dcbc.c126 const uintptr_t inptr = (uintptr_t) in; in CRYPTO_cbc128_decrypt() local
129 assert(inptr >= outptr || inptr + len <= outptr); in CRYPTO_cbc128_decrypt()
131 if ((inptr >= 32 && outptr <= inptr - 32) || inptr < outptr) { in CRYPTO_cbc128_decrypt()

12