Home
last modified time | relevance | path

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

123

/external/libjpeg-turbo/
Djccolext.c39 register JSAMPROW inptr; in LOCAL() local
45 inptr = *input_buf++; in LOCAL()
51 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
52 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL()
53 b = GETJSAMPLE(inptr[RGB_BLUE]); in LOCAL()
54 inptr += RGB_PIXELSIZE; in LOCAL()
96 register JSAMPROW inptr; in LOCAL() local
102 inptr = *input_buf++; in LOCAL()
106 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
107 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL()
[all …]
Djidctred.c127 JCOEFPTR inptr; variable
138 inptr = coef_block; variable
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
145 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
146 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 &&
147 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) {
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]),
162 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
165 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
166 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Djidctflt.c79 JCOEFPTR inptr; variable
90 inptr = coef_block;
103 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
104 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
105 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
106 inptr[DCTSIZE*7] == 0) {
108 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0],
120 inptr++; /* advance pointers to next column */
128 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0] * _0_125);
129 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2] * _0_125);
[all …]
Djidctfst.c178 JCOEFPTR inptr; variable
190 inptr = coef_block; variable
203 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
204 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
205 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
206 inptr[DCTSIZE*7] == 0) {
208 int dcval = (int) DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
219 inptr++; /* advance pointers to next column */
227 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
228 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
[all …]
Djidctint.c180 JCOEFPTR inptr; variable
193 inptr = coef_block; variable
206 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 &&
207 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 &&
208 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 &&
209 inptr[DCTSIZE*7] == 0) {
211 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]),
223 inptr++; /* advance pointers to next column */
232 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]);
233 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]);
[all …]
Dwrtarga.c98 register JSAMPROW inptr; in put_pixel_rows() local
102 inptr = dest->pub.buffer[0]; in put_pixel_rows()
105 outptr[0] = (char) GETJSAMPLE(inptr[2]); /* RGB to BGR order */ in put_pixel_rows()
106 outptr[1] = (char) GETJSAMPLE(inptr[1]); in put_pixel_rows()
107 outptr[2] = (char) GETJSAMPLE(inptr[0]); in put_pixel_rows()
108 inptr += 3, outptr += 3; in put_pixel_rows()
119 register JSAMPROW inptr; in put_gray_rows() local
123 inptr = dest->pub.buffer[0]; in put_gray_rows()
126 *outptr++ = (char) GETJSAMPLE(*inptr++); in put_gray_rows()
142 register JSAMPROW inptr; in put_demapped_gray() local
[all …]
Djccolor.c386 register JSAMPROW inptr; in cmyk_ycck_convert() local
392 inptr = *input_buf++; in cmyk_ycck_convert()
399 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
400 g = MAXJSAMPLE - GETJSAMPLE(inptr[1]); in cmyk_ycck_convert()
401 b = MAXJSAMPLE - GETJSAMPLE(inptr[2]); in cmyk_ycck_convert()
403 outptr3[col] = inptr[3]; /* don't need GETJSAMPLE here */ in cmyk_ycck_convert()
404 inptr += 4; in cmyk_ycck_convert()
438 register JSAMPROW inptr; in grayscale_convert() local
445 inptr = *input_buf++; in grayscale_convert()
449 outptr[col] = inptr[0]; /* don't need GETJSAMPLE() here */ in grayscale_convert()
[all …]
Djdsample.c164 register JSAMPROW inptr, outptr; in int_upsample() local
177 inptr = input_data[inrow]; in int_upsample()
181 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in int_upsample()
207 register JSAMPROW inptr, outptr; in h2v1_upsample() local
213 inptr = input_data[inrow]; in h2v1_upsample()
217 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v1_upsample()
235 register JSAMPROW inptr, outptr; in h2v2_upsample() local
242 inptr = input_data[inrow]; in h2v2_upsample()
246 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v2_upsample()
278 register JSAMPROW inptr, outptr; in h2v1_fancy_upsample() local
[all …]
Djcsample.c153 JSAMPROW inptr, outptr; in int_downsample() local
175 inptr = input_data[inrow+v] + outcol_h; in int_downsample()
177 outvalue += (JLONG) GETJSAMPLE(*inptr++); in int_downsample()
225 register JSAMPROW inptr, outptr; in h2v1_downsample() local
237 inptr = input_data[outrow]; in h2v1_downsample()
240 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
243 inptr += 2; in h2v1_downsample()
405 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local
427 inptr = input_data[outrow]; in fullsize_smooth_downsample()
433 GETJSAMPLE(*inptr); in fullsize_smooth_downsample()
[all …]
Drdbmp.c131 register JSAMPROW inptr, outptr; in get_8bit_row() local
141 inptr = image_ptr[0]; in get_8bit_row()
144 t = GETJSAMPLE(*inptr++); in get_8bit_row()
160 register JSAMPROW inptr, outptr; in get_24bit_row() local
172 inptr = image_ptr[0]; in get_24bit_row()
175 outptr[2] = *inptr++; /* can omit GETJSAMPLE() safely */ in get_24bit_row()
176 outptr[1] = *inptr++; in get_24bit_row()
177 outptr[0] = *inptr++; in get_24bit_row()
191 register JSAMPROW inptr, outptr; in get_32bit_row() local
202 inptr = image_ptr[0]; in get_32bit_row()
[all …]
Djdcol565.c303 register JSAMPROW inptr, outptr; in LOCAL() local
311 inptr = input_buf[0][input_row++]; in LOCAL()
314 g = *inptr++; in LOCAL()
321 g = *inptr++; in LOCAL()
323 g = *inptr++; in LOCAL()
329 g = *inptr; in LOCAL()
343 register JSAMPROW inptr, outptr; in LOCAL() local
353 inptr = input_buf[0][input_row++]; in LOCAL()
356 g = *inptr++; in LOCAL()
364 g = *inptr++; in LOCAL()
[all …]
Dwrbmp.c91 register JSAMPROW inptr, outptr; in put_pixel_rows() local
104 inptr = dest->pub.buffer[0]; in put_pixel_rows()
109 unsigned short *inptr2 = (unsigned short *)inptr; in put_pixel_rows()
125 outptr[2] = *inptr++; /* can omit GETJSAMPLE() safely */ in put_pixel_rows()
126 outptr[1] = *inptr++; in put_pixel_rows()
127 outptr[0] = *inptr++; in put_pixel_rows()
145 register JSAMPROW inptr, outptr; in put_gray_rows() local
156 inptr = dest->pub.buffer[0]; in put_gray_rows()
159 *outptr++ = *inptr++; /* can omit GETJSAMPLE() safely */ in put_gray_rows()
Djutils.c103 register JSAMPROW inptr, outptr; in jcopy_sample_rows() local
111 inptr = *input_array++; in jcopy_sample_rows()
113 MEMCOPY(outptr, inptr, count); in jcopy_sample_rows()
/external/libjpeg-turbo/simd/
Djcgryext-altivec.c32 JSAMPROW inptr, outptr; in jsimd_rgb_gray_convert_altivec() local
63 inptr = *input_buf++; in jsimd_rgb_gray_convert_altivec()
68 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_gray_convert_altivec()
73 offset = (size_t)inptr & 15; in jsimd_rgb_gray_convert_altivec()
86 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_gray_convert_altivec()
95 rgb0 = vec_ld(0, inptr); in jsimd_rgb_gray_convert_altivec()
97 rgb1 = vec_ld(16, inptr); in jsimd_rgb_gray_convert_altivec()
99 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
101 rgb3 = vec_ld(48, inptr); in jsimd_rgb_gray_convert_altivec()
104 rgb4 = vec_ld(64, inptr); in jsimd_rgb_gray_convert_altivec()
[all …]
Djccolext-altivec.c31 JSAMPROW inptr, outptr0, outptr1, outptr2; in jsimd_rgb_ycc_convert_altivec() local
66 inptr = *input_buf++; in jsimd_rgb_ycc_convert_altivec()
73 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_ycc_convert_altivec()
78 offset = (size_t)inptr & 15; in jsimd_rgb_ycc_convert_altivec()
91 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_ycc_convert_altivec()
100 rgb0 = vec_ld(0, inptr); in jsimd_rgb_ycc_convert_altivec()
102 rgb1 = vec_ld(16, inptr); in jsimd_rgb_ycc_convert_altivec()
104 rgb2 = vec_ld(32, inptr); in jsimd_rgb_ycc_convert_altivec()
106 rgb3 = vec_ld(48, inptr); in jsimd_rgb_ycc_convert_altivec()
109 rgb4 = vec_ld(64, inptr); in jsimd_rgb_ycc_convert_altivec()
[all …]
Djdsample-altivec.c35 JSAMPROW inptr, outptr; in jsimd_h2v1_fancy_upsample_altivec() local
57 inptr = input_data[inrow]; in jsimd_h2v1_fancy_upsample_altivec()
61 inptr[downsampled_width] = inptr[downsampled_width - 1]; in jsimd_h2v1_fancy_upsample_altivec()
63 this0 = vec_ld(0, inptr); in jsimd_h2v1_fancy_upsample_altivec()
68 incol -= 16, inptr += 16, outptr += 32) { in jsimd_h2v1_fancy_upsample_altivec()
78 next0 = vec_ld(16, inptr); in jsimd_h2v1_fancy_upsample_altivec()
316 JSAMPROW inptr, outptr; in jsimd_h2v1_upsample_altivec() local
322 inptr = input_data[inrow]; in jsimd_h2v1_upsample_altivec()
326 incol -= 64, inptr += 32, outptr += 64) { in jsimd_h2v1_upsample_altivec()
328 in = vec_ld(0, inptr); in jsimd_h2v1_upsample_altivec()
[all …]
Djcsample-altivec.c37 JSAMPROW inptr, outptr; in jsimd_h2v1_downsample_altivec() local
54 inptr = input_data[outrow]; in jsimd_h2v1_downsample_altivec()
57 outcol -= 16, inptr += 32, outptr += 16) { in jsimd_h2v1_downsample_altivec()
59 this0 = vec_ld(0, inptr); in jsimd_h2v1_downsample_altivec()
68 next0 = vec_ld(16, inptr); in jsimd_h2v1_downsample_altivec()
/external/syslinux/com32/lib/jpeg/
Djidctflt.c128 int16_t *inptr; in tinyjpeg_idct_float() local
137 inptr = compptr->DCT; in tinyjpeg_idct_float()
150 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && in tinyjpeg_idct_float()
151 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && in tinyjpeg_idct_float()
152 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && in tinyjpeg_idct_float()
153 inptr[DCTSIZE*7] == 0) { in tinyjpeg_idct_float()
155 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]); in tinyjpeg_idct_float()
166 inptr++; /* advance pointers to next column */ in tinyjpeg_idct_float()
174 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]); in tinyjpeg_idct_float()
175 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]); in tinyjpeg_idct_float()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dvector_scaling_operations.c92 const int16_t *inptr; in WebRtcSpl_ScaleVector() local
95 inptr = in_vector; in WebRtcSpl_ScaleVector()
100 *outptr++ = (int16_t)((*inptr++ * gain) >> right_shifts); in WebRtcSpl_ScaleVector()
110 const int16_t *inptr; in WebRtcSpl_ScaleVectorWithSat() local
113 inptr = in_vector; in WebRtcSpl_ScaleVectorWithSat()
117 *outptr++ = WebRtcSpl_SatW32ToW16((*inptr++ * gain) >> right_shifts); in WebRtcSpl_ScaleVectorWithSat()
Dilbc_specific_functions.c31 const int16_t *inptr = in; in WebRtcSpl_ReverseOrderMultArrayElements() local
35 *outptr++ = (int16_t)((*inptr++ * *winptr--) >> right_shifts); in WebRtcSpl_ReverseOrderMultArrayElements()
45 const int16_t *inptr = in; in WebRtcSpl_ElementwiseVectorMult() local
49 *outptr++ = (int16_t)((*inptr++ * *winptr++) >> right_shifts); in WebRtcSpl_ElementwiseVectorMult()
Dfilter_ar_fast_q12_mips.c22 int coefptr, outptr, tmpout, inptr; in WebRtcSpl_FilterARFastQ12() local
129 [outptr] "=&r" (outptr), [inptr] "=&r" (inptr), in WebRtcSpl_FilterARFastQ12()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator_c.c27 const int16_t* inptr; in WebRtcIsacfix_PCorr2Q32() local
55 inptr = &in[k]; in WebRtcIsacfix_PCorr2Q32()
73 int16x4_t int_16x4_in = vld1_s16(&inptr[n]); in WebRtcIsacfix_PCorr2Q32()
90 csum32 += x[n] * inptr[n]; in WebRtcIsacfix_PCorr2Q32()
94 csum32 += (x[n] * inptr[n]) >> scaling; in WebRtcIsacfix_PCorr2Q32()
Dpitch_estimator_mips.c22 const int16_t* inptr; in WebRtcIsacfix_PCorr2Q32() local
101 inptr = &in[k]; in WebRtcIsacfix_PCorr2Q32()
172 [tmp7] "=&r" (tmp7), [tmp8] "=&r" (tmp8), [inptr] "+r" (inptr), in WebRtcIsacfix_PCorr2Q32()
/external/boringssl/src/crypto/fipsmodule/modes/
Dcbc.c122 const uintptr_t inptr = (uintptr_t) in; in CRYPTO_cbc128_decrypt() local
125 assert(inptr >= outptr || inptr + len <= outptr); in CRYPTO_cbc128_decrypt()
127 if ((inptr >= 32 && outptr <= inptr - 32) || inptr < outptr) { in CRYPTO_cbc128_decrypt()
/external/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc66 const void* inptr; in main() local
69 ok = in.Next(&inptr, &inlen); in main()
74 int err = write(STDOUT_FILENO, inptr, inlen); in main()

123