/external/opencv3/3rdparty/libjpeg/ |
D | jidctint.c | 102 #define PASS1_BITS 2 macro 105 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 209 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS; 241 z2 += ONE << (CONST_BITS-PASS1_BITS-1); 283 wsptr[DCTSIZE*0] = (int) RIGHT_SHIFT(tmp10 + tmp3, CONST_BITS-PASS1_BITS); 284 wsptr[DCTSIZE*7] = (int) RIGHT_SHIFT(tmp10 - tmp3, CONST_BITS-PASS1_BITS); 285 wsptr[DCTSIZE*1] = (int) RIGHT_SHIFT(tmp11 + tmp2, CONST_BITS-PASS1_BITS); 286 wsptr[DCTSIZE*6] = (int) RIGHT_SHIFT(tmp11 - tmp2, CONST_BITS-PASS1_BITS); 287 wsptr[DCTSIZE*2] = (int) RIGHT_SHIFT(tmp12 + tmp1, CONST_BITS-PASS1_BITS); 288 wsptr[DCTSIZE*5] = (int) RIGHT_SHIFT(tmp12 - tmp1, CONST_BITS-PASS1_BITS); [all …]
|
D | jfdctint.c | 97 #define PASS1_BITS 2 macro 100 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 196 dataptr[0] = (DCTELEM) ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << PASS1_BITS); 197 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS); 201 z1 += ONE << (CONST_BITS-PASS1_BITS-1); 203 CONST_BITS-PASS1_BITS); 205 CONST_BITS-PASS1_BITS); 218 z1 += ONE << (CONST_BITS-PASS1_BITS-1); 233 RIGHT_SHIFT(tmp0 + tmp10 + tmp12, CONST_BITS-PASS1_BITS); 235 RIGHT_SHIFT(tmp1 + tmp11 + tmp13, CONST_BITS-PASS1_BITS); [all …]
|
D | jidctfst.c | 78 #define PASS1_BITS 2 macro 81 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS) 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) [all …]
|
/external/libjpeg-turbo/ |
D | jidctint.c | 103 #define PASS1_BITS 2 macro 106 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 211 PASS1_BITS); 283 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS); 284 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS); 285 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS); 286 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS); 287 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS); 288 wsptr[DCTSIZE*5] = (int) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS); 289 wsptr[DCTSIZE*3] = (int) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS); [all …]
|
D | jfdctint.c | 81 #define PASS1_BITS 2 macro 84 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 175 dataptr[0] = (DCTELEM) LEFT_SHIFT(tmp10 + tmp11, PASS1_BITS); 176 dataptr[4] = (DCTELEM) LEFT_SHIFT(tmp10 - tmp11, PASS1_BITS); 180 CONST_BITS-PASS1_BITS); 182 CONST_BITS-PASS1_BITS); 207 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS); 208 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); 209 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS); 210 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS); [all …]
|
D | jidctred.c | 46 #define PASS1_BITS 2 macro 49 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 149 PASS1_BITS); 191 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1); 192 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1); 193 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1); 194 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1); 208 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 251 CONST_BITS+PASS1_BITS+3+1) 254 CONST_BITS+PASS1_BITS+3+1) [all …]
|
D | jidctfst.c | 78 #define PASS1_BITS 2 macro 81 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS) 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) [all …]
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jfdctint.c | 79 #define PASS1_BITS 2 macro 82 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 173 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS); 174 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS); 178 CONST_BITS-PASS1_BITS); 180 CONST_BITS-PASS1_BITS); 205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS); 206 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); 207 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS); 208 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS); [all …]
|
D | fpdfapi_jidctint.c | 79 #define PASS1_BITS 2 macro 82 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 186 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS; 258 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS); 259 wsptr[DCTSIZE*7] = (int) DESCALE(tmp10 - tmp3, CONST_BITS-PASS1_BITS); 260 wsptr[DCTSIZE*1] = (int) DESCALE(tmp11 + tmp2, CONST_BITS-PASS1_BITS); 261 wsptr[DCTSIZE*6] = (int) DESCALE(tmp11 - tmp2, CONST_BITS-PASS1_BITS); 262 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 + tmp1, CONST_BITS-PASS1_BITS); 263 wsptr[DCTSIZE*5] = (int) DESCALE(tmp12 - tmp1, CONST_BITS-PASS1_BITS); 264 wsptr[DCTSIZE*3] = (int) DESCALE(tmp13 + tmp0, CONST_BITS-PASS1_BITS); [all …]
|
D | fpdfapi_jidctred.c | 44 #define PASS1_BITS 2 macro 47 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 146 int dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]) << PASS1_BITS; 188 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1); 189 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1); 190 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1); 191 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1); 205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 248 CONST_BITS+PASS1_BITS+3+1) 251 CONST_BITS+PASS1_BITS+3+1) [all …]
|
D | fpdfapi_jidctfst.c | 78 #define PASS1_BITS 2 macro 81 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS) 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) [all …]
|
/external/libgdx/gdx/jni/gdx2d/ |
D | jpgd.cpp | 52 #define PASS1_BITS 2 macro 112 pTemp[0] = DESCALE(tmp10 + btmp3, CONST_BITS-PASS1_BITS); in idct() 113 pTemp[7] = DESCALE(tmp10 - btmp3, CONST_BITS-PASS1_BITS); in idct() 114 pTemp[1] = DESCALE(tmp11 + btmp2, CONST_BITS-PASS1_BITS); in idct() 115 pTemp[6] = DESCALE(tmp11 - btmp2, CONST_BITS-PASS1_BITS); in idct() 116 pTemp[2] = DESCALE(tmp12 + btmp1, CONST_BITS-PASS1_BITS); in idct() 117 pTemp[5] = DESCALE(tmp12 - btmp1, CONST_BITS-PASS1_BITS); in idct() 118 pTemp[3] = DESCALE(tmp13 + btmp0, CONST_BITS-PASS1_BITS); in idct() 119 pTemp[4] = DESCALE(tmp13 - btmp0, CONST_BITS-PASS1_BITS); in idct() 139 const int dcval = (pSrc[0] << PASS1_BITS); in idct() [all …]
|
/external/libjpeg-turbo/simd/ |
D | jidctfst-mmx.asm | 33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|
D | jidctfst-sse2.asm | 33 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|
D | jidctfst-sse2-64.asm | 34 %error "'IFAST_SCALE_BITS' must be equal to 'PASS1_BITS'."
|