Home
last modified time | relevance | path

Searched refs:inptr (Results 1 – 25 of 73) 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()
93 register JSAMPROW inptr; in LOCAL() local
99 inptr = *input_buf++; in LOCAL()
103 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
104 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],
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 …]
Drdbmp.c162 register JSAMPROW inptr, outptr; in get_8bit_row() local
171 inptr = image_ptr[0]; in get_8bit_row()
175 inptr = source->iobuffer; in get_8bit_row()
182 t = GETJSAMPLE(*inptr++); in get_8bit_row()
189 t = GETJSAMPLE(*inptr++); in get_8bit_row()
205 t = GETJSAMPLE(*inptr++); in get_8bit_row()
216 t = GETJSAMPLE(*inptr++); in get_8bit_row()
237 register JSAMPROW inptr, outptr; in get_24bit_row() local
246 inptr = image_ptr[0]; in get_24bit_row()
250 inptr = source->iobuffer; in get_24bit_row()
[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],
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.c382 register JSAMPROW inptr; in cmyk_ycck_convert() local
388 inptr = *input_buf++; in cmyk_ycck_convert()
395 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
396 g = MAXJSAMPLE - GETJSAMPLE(inptr[1]); in cmyk_ycck_convert()
397 b = MAXJSAMPLE - GETJSAMPLE(inptr[2]); in cmyk_ycck_convert()
399 outptr3[col] = inptr[3]; /* don't need GETJSAMPLE here */ in cmyk_ycck_convert()
400 inptr += 4; in cmyk_ycck_convert()
430 register JSAMPROW inptr; in grayscale_convert() local
437 inptr = *input_buf++; in grayscale_convert()
441 outptr[col] = inptr[0]; /* don't need GETJSAMPLE() here */ in grayscale_convert()
[all …]
Djdsample.c162 register JSAMPROW inptr, outptr; in int_upsample() local
175 inptr = input_data[inrow]; in int_upsample()
179 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in int_upsample()
205 register JSAMPROW inptr, outptr; in h2v1_upsample() local
211 inptr = input_data[inrow]; in h2v1_upsample()
215 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v1_upsample()
233 register JSAMPROW inptr, outptr; in h2v2_upsample() local
240 inptr = input_data[inrow]; in h2v2_upsample()
244 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v2_upsample()
276 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()
241 (JSAMPLE)((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) + bias) >> 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 …]
Dwrbmp.c103 register JSAMPROW inptr, outptr; in put_pixel_rows() local
121 inptr = dest->pub.buffer[0]; in put_pixel_rows()
124 MEMCOPY(outptr, inptr, dest->row_width); in put_pixel_rows()
128 unsigned short *inptr2 = (unsigned short *)inptr; in put_pixel_rows()
145 JSAMPLE c = *inptr++, m = *inptr++, y = *inptr++, k = *inptr++; in put_pixel_rows()
157 outptr[0] = inptr[bindex]; in put_pixel_rows()
158 outptr[1] = inptr[gindex]; in put_pixel_rows()
159 outptr[2] = inptr[rindex]; in put_pixel_rows()
160 outptr += 3; inptr += ps; in put_pixel_rows()
180 register JSAMPROW inptr, outptr; in put_gray_rows() local
[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 …]
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/powerpc/
Djcgryext-altivec.c31 JSAMPROW inptr, outptr; in jsimd_rgb_gray_convert_altivec() local
64 inptr = *input_buf++; in jsimd_rgb_gray_convert_altivec()
69 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_gray_convert_altivec()
74 offset = (size_t)inptr & 15; in jsimd_rgb_gray_convert_altivec()
87 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_gray_convert_altivec()
96 rgb0 = vec_ld(0, inptr); in jsimd_rgb_gray_convert_altivec()
98 rgb1 = vec_ld(16, inptr); in jsimd_rgb_gray_convert_altivec()
100 rgb2 = vec_ld(32, inptr); in jsimd_rgb_gray_convert_altivec()
102 rgb3 = vec_ld(48, inptr); in jsimd_rgb_gray_convert_altivec()
105 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
68 inptr = *input_buf++; in jsimd_rgb_ycc_convert_altivec()
75 num_cols -= RGB_PIXELSIZE * 16, inptr += RGB_PIXELSIZE * 16, in jsimd_rgb_ycc_convert_altivec()
80 offset = (size_t)inptr & 15; in jsimd_rgb_ycc_convert_altivec()
93 memcpy(tmpbuf, inptr, min(num_cols, RGB_PIXELSIZE * 16)); in jsimd_rgb_ycc_convert_altivec()
102 rgb0 = vec_ld(0, inptr); in jsimd_rgb_ycc_convert_altivec()
104 rgb1 = vec_ld(16, inptr); in jsimd_rgb_ycc_convert_altivec()
106 rgb2 = vec_ld(32, inptr); in jsimd_rgb_ycc_convert_altivec()
108 rgb3 = vec_ld(48, inptr); in jsimd_rgb_ycc_convert_altivec()
111 rgb4 = vec_ld(64, inptr); in jsimd_rgb_ycc_convert_altivec()
[all …]
Djdsample-altivec.c34 JSAMPROW inptr, outptr; in jsimd_h2v1_fancy_upsample_altivec() local
62 inptr = input_data[inrow]; in jsimd_h2v1_fancy_upsample_altivec()
66 inptr[downsampled_width] = inptr[downsampled_width - 1]; in jsimd_h2v1_fancy_upsample_altivec()
68 this0 = vec_ld(0, inptr); in jsimd_h2v1_fancy_upsample_altivec()
73 incol -= 16, inptr += 16, outptr += 32) { in jsimd_h2v1_fancy_upsample_altivec()
83 next0 = vec_ld(16, inptr); in jsimd_h2v1_fancy_upsample_altivec()
325 JSAMPROW inptr, outptr; in jsimd_h2v1_upsample_altivec() local
331 inptr = input_data[inrow]; in jsimd_h2v1_upsample_altivec()
335 incol -= 64, inptr += 32, outptr += 64) { in jsimd_h2v1_upsample_altivec()
337 in = vec_ld(0, inptr); in jsimd_h2v1_upsample_altivec()
[all …]
Djcsample-altivec.c38 JSAMPROW inptr, outptr; in jsimd_h2v1_downsample_altivec() local
55 inptr = input_data[outrow]; in jsimd_h2v1_downsample_altivec()
58 outcol -= 16, inptr += 32, outptr += 16) { in jsimd_h2v1_downsample_altivec()
60 this0 = vec_ld(0, inptr); in jsimd_h2v1_downsample_altivec()
69 next0 = vec_ld(16, inptr); in jsimd_h2v1_downsample_altivec()
/external/libjpeg-turbo/simd/loongson/
Djccolext-mmi.c97 JSAMPROW inptr, outptr0, outptr1, outptr2; in jsimd_rgb_ycc_convert_mmi() local
104 inptr = *input_buf++; in jsimd_rgb_ycc_convert_mmi()
183 : "r" (col), "r" (num_rows), "r" (inptr) in jsimd_rgb_ycc_convert_mmi()
188 if (!(((long)inptr) & 7)) { in jsimd_rgb_ycc_convert_mmi()
189 mmA = _mm_load_si64((__m64 *)&inptr[0]); in jsimd_rgb_ycc_convert_mmi()
190 mmG = _mm_load_si64((__m64 *)&inptr[8]); in jsimd_rgb_ycc_convert_mmi()
191 mmF = _mm_load_si64((__m64 *)&inptr[16]); in jsimd_rgb_ycc_convert_mmi()
193 mmA = _mm_loadu_si64((__m64 *)&inptr[0]); in jsimd_rgb_ycc_convert_mmi()
194 mmG = _mm_loadu_si64((__m64 *)&inptr[8]); in jsimd_rgb_ycc_convert_mmi()
195 mmF = _mm_loadu_si64((__m64 *)&inptr[16]); in jsimd_rgb_ycc_convert_mmi()
[all …]
Djidctint-mmi.c266 col0a = _mm_load_si32((__m32 *)&inptr[DCTSIZE * 1]); \
267 col1a = _mm_load_si32((__m32 *)&inptr[DCTSIZE * 2]); \
273 col0l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 0]); \
274 col1l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 1]); \
275 col2l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 2]); \
276 col3l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 3]); \
277 col4l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 4]); \
278 col5l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 5]); \
279 col6l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 6]); \
280 col7l = _mm_load_si64((__m64 *)&inptr[DCTSIZE * 7]); \
[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()
/external/boringssl/src/crypto/fipsmodule/modes/
Dcbc.c109 const uintptr_t inptr = (uintptr_t) in; in CRYPTO_cbc128_decrypt() local
112 assert(inptr >= outptr || inptr + len <= outptr); in CRYPTO_cbc128_decrypt()
114 if ((inptr >= 32 && outptr <= inptr - 32) || inptr < outptr) { in CRYPTO_cbc128_decrypt()
/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/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