/external/libjpeg-turbo/ |
D | jccolext.c | 38 register JSAMPROW inptr; in LOCAL() local 44 inptr = *input_buf++; in LOCAL() 50 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL() 51 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL() 52 b = GETJSAMPLE(inptr[RGB_BLUE]); in LOCAL() 53 inptr += RGB_PIXELSIZE; in LOCAL() 95 register JSAMPROW inptr; in LOCAL() local 101 inptr = *input_buf++; in LOCAL() 105 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL() 106 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL() [all …]
|
D | jidctred.c | 126 JCOEFPTR inptr; variable 137 inptr = coef_block; variable 140 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { 144 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 145 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*5] == 0 && 146 inptr[DCTSIZE*6] == 0 && inptr[DCTSIZE*7] == 0) { 148 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]), 161 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]); 164 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]); 165 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]); [all …]
|
D | jidctflt.c | 78 JCOEFPTR inptr; variable 89 inptr = coef_block; 102 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 103 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 104 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 105 inptr[DCTSIZE*7] == 0) { 107 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0], 119 inptr++; /* advance pointers to next column */ 127 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0] * _0_125); 128 tmp1 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2] * _0_125); [all …]
|
D | jidctfst.c | 175 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 …]
|
D | jidctint.c | 179 JCOEFPTR inptr; variable 192 inptr = coef_block; variable 205 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 206 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 207 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 208 inptr[DCTSIZE*7] == 0) { 210 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]), 222 inptr++; /* advance pointers to next column */ 231 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]); 232 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]); [all …]
|
D | wrtarga.c | 97 register JSAMPROW inptr; in put_pixel_rows() local 101 inptr = dest->pub.buffer[0]; in put_pixel_rows() 104 outptr[0] = (char) GETJSAMPLE(inptr[2]); /* RGB to BGR order */ in put_pixel_rows() 105 outptr[1] = (char) GETJSAMPLE(inptr[1]); in put_pixel_rows() 106 outptr[2] = (char) GETJSAMPLE(inptr[0]); in put_pixel_rows() 107 inptr += 3, outptr += 3; in put_pixel_rows() 118 register JSAMPROW inptr; in put_gray_rows() local 122 inptr = dest->pub.buffer[0]; in put_gray_rows() 125 *outptr++ = (char) GETJSAMPLE(*inptr++); in put_gray_rows() 141 register JSAMPROW inptr; in put_demapped_gray() local [all …]
|
D | jdsample.c | 163 register JSAMPROW inptr, outptr; in int_upsample() local 176 inptr = input_data[inrow]; in int_upsample() 180 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in int_upsample() 206 register JSAMPROW inptr, outptr; in h2v1_upsample() local 212 inptr = input_data[inrow]; in h2v1_upsample() 216 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v1_upsample() 234 register JSAMPROW inptr, outptr; in h2v2_upsample() local 241 inptr = input_data[inrow]; in h2v2_upsample() 245 invalue = *inptr++; /* don't need GETJSAMPLE() here */ in h2v2_upsample() 277 register JSAMPROW inptr, outptr; in h2v1_fancy_upsample() local [all …]
|
D | jccolor.c | 385 register JSAMPROW inptr; in cmyk_ycck_convert() local 391 inptr = *input_buf++; in cmyk_ycck_convert() 398 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert() 399 g = MAXJSAMPLE - GETJSAMPLE(inptr[1]); in cmyk_ycck_convert() 400 b = MAXJSAMPLE - GETJSAMPLE(inptr[2]); in cmyk_ycck_convert() 402 outptr3[col] = inptr[3]; /* don't need GETJSAMPLE here */ in cmyk_ycck_convert() 403 inptr += 4; in cmyk_ycck_convert() 437 register JSAMPROW inptr; in grayscale_convert() local 444 inptr = *input_buf++; in grayscale_convert() 448 outptr[col] = inptr[0]; /* don't need GETJSAMPLE() here */ in grayscale_convert() [all …]
|
D | jcsample.c | 151 JSAMPROW inptr, outptr; in int_downsample() local 173 inptr = input_data[inrow+v] + outcol_h; in int_downsample() 175 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample() 223 register JSAMPROW inptr, outptr; in h2v1_downsample() local 235 inptr = input_data[outrow]; in h2v1_downsample() 238 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample() 241 inptr += 2; in h2v1_downsample() 403 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local 425 inptr = input_data[outrow]; in fullsize_smooth_downsample() 431 GETJSAMPLE(*inptr); in fullsize_smooth_downsample() [all …]
|
D | rdbmp.c | 130 register JSAMPROW inptr, outptr; in get_8bit_row() local 140 inptr = image_ptr[0]; in get_8bit_row() 143 t = GETJSAMPLE(*inptr++); in get_8bit_row() 159 register JSAMPROW inptr, outptr; in get_24bit_row() local 171 inptr = image_ptr[0]; in get_24bit_row() 174 outptr[2] = *inptr++; /* can omit GETJSAMPLE() safely */ in get_24bit_row() 175 outptr[1] = *inptr++; in get_24bit_row() 176 outptr[0] = *inptr++; in get_24bit_row() 190 register JSAMPROW inptr, outptr; in get_32bit_row() local 201 inptr = image_ptr[0]; in get_32bit_row() [all …]
|
/external/opencv3/3rdparty/libjpeg/ |
D | jccolor.c | 138 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() 170 inptr += RGB_PIXELSIZE; in rgb_ycc_convert() 194 register JSAMPROW inptr; in rgb_gray_convert() local 200 inptr = *input_buf++; in rgb_gray_convert() 203 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_gray_convert() 204 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_gray_convert() [all …]
|
D | jidctflt.c | 76 JCOEFPTR inptr; variable 86 inptr = coef_block; 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 …]
|
D | jidctfst.c | 175 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 …]
|
D | jidctint.c | 178 JCOEFPTR inptr; variable 191 inptr = coef_block; variable 204 if (inptr[DCTSIZE*1] == 0 && inptr[DCTSIZE*2] == 0 && 205 inptr[DCTSIZE*3] == 0 && inptr[DCTSIZE*4] == 0 && 206 inptr[DCTSIZE*5] == 0 && inptr[DCTSIZE*6] == 0 && 207 inptr[DCTSIZE*7] == 0) { 209 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS; 220 inptr++; /* advance pointers to next column */ 229 z2 = DEQUANTIZE(inptr[DCTSIZE*2], quantptr[DCTSIZE*2]); 230 z3 = DEQUANTIZE(inptr[DCTSIZE*6], quantptr[DCTSIZE*6]); [all …]
|
D | jutils.c | 186 register JSAMPROW inptr, outptr; in jcopy_sample_rows() local 198 inptr = *input_array++; in jcopy_sample_rows() 201 FMEMCOPY(outptr, inptr, count); in jcopy_sample_rows() 204 *outptr++ = *inptr++; /* needn't bother with GETJSAMPLE() here */ in jcopy_sample_rows() 218 register JCOEFPTR inptr, outptr; in jcopy_block_row() 221 inptr = (JCOEFPTR) input_row; in jcopy_block_row() 224 *outptr++ = *inptr++; in jcopy_block_row()
|
D | jcsample.c | 157 JSAMPROW inptr, outptr; in int_downsample() local 179 inptr = input_data[inrow+v] + outcol_h; in int_downsample() 181 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample() 230 register JSAMPROW inptr, outptr; in h2v1_downsample() local 242 inptr = input_data[inrow]; in h2v1_downsample() 245 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample() 248 inptr += 2; in h2v1_downsample() 412 register JSAMPROW inptr, above_ptr, below_ptr, outptr; in fullsize_smooth_downsample() local 434 inptr = input_data[inrow]; in fullsize_smooth_downsample() 440 GETJSAMPLE(*inptr); in fullsize_smooth_downsample() [all …]
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jidctred.c | 124 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 …]
|
D | fpdfapi_jccolor.c | 137 register JSAMPROW inptr; in rgb_ycc_convert() local 143 inptr = *input_buf++; in rgb_ycc_convert() 149 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_ycc_convert() 150 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_ycc_convert() 151 b = GETJSAMPLE(inptr[RGB_BLUE]); in rgb_ycc_convert() 152 inptr += RGB_PIXELSIZE; in rgb_ycc_convert() 193 register JSAMPROW inptr; in rgb_gray_convert() local 199 inptr = *input_buf++; in rgb_gray_convert() 203 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_gray_convert() 204 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_gray_convert() [all …]
|
D | fpdfapi_jidctfst.c | 175 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 …]
|
D | fpdfapi_jidctint.c | 155 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 …]
|
D | fpdfapi_jdsample.c | 194 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 …]
|
D | fpdfapi_jutils.c | 120 register JSAMPROW inptr, outptr; in jcopy_sample_rows() local 132 inptr = *input_array++; in jcopy_sample_rows() 135 FMEMCOPY(outptr, inptr, count); in jcopy_sample_rows() 138 *outptr++ = *inptr++; /* needn't bother with GETJSAMPLE() here */ in jcopy_sample_rows() 152 register JCOEFPTR inptr, outptr; in jcopy_block_row() 155 inptr = (JCOEFPTR) input_row; in jcopy_block_row() 158 *outptr++ = *inptr++; in jcopy_block_row()
|
D | fpdfapi_jcsample.c | 146 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 …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | inv_txfm_sse2.c | 3512 __m128i inptr[4]; in vpx_highbd_idct4x4_16_add_sse2() local 3523 inptr[0] = _mm_loadu_si128((const __m128i *)input); in vpx_highbd_idct4x4_16_add_sse2() 3524 inptr[1] = _mm_loadu_si128((const __m128i *)(input + 4)); in vpx_highbd_idct4x4_16_add_sse2() 3525 inptr[2] = _mm_loadu_si128((const __m128i *)(input + 8)); in vpx_highbd_idct4x4_16_add_sse2() 3526 inptr[3] = _mm_loadu_si128((const __m128i *)(input + 12)); in vpx_highbd_idct4x4_16_add_sse2() 3529 inptr[0] = _mm_packs_epi32(inptr[0], inptr[1]); in vpx_highbd_idct4x4_16_add_sse2() 3530 inptr[1] = _mm_packs_epi32(inptr[2], inptr[3]); in vpx_highbd_idct4x4_16_add_sse2() 3532 max_input = _mm_max_epi16(inptr[0], inptr[1]); in vpx_highbd_idct4x4_16_add_sse2() 3533 min_input = _mm_min_epi16(inptr[0], inptr[1]); in vpx_highbd_idct4x4_16_add_sse2() 3541 idct4_sse2(inptr); in vpx_highbd_idct4x4_16_add_sse2() [all …]
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | vector_scaling_operations.c | 92 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()
|