/external/opencv3/3rdparty/libjpeg/ |
D | jfdctint.c | 371 dataptr[2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7() 375 DESCALE(z2 + z3 - MULTIPLY(tmp1 - tmp3, FIX(0.707106781)), /* c2+c6-c4 */ in jpeg_fdct_7x7() 377 dataptr[6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7() 391 dataptr[1] = (DCTELEM) DESCALE(tmp0, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7() 392 dataptr[3] = (DCTELEM) DESCALE(tmp1, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7() 393 dataptr[5] = (DCTELEM) DESCALE(tmp2, CONST_BITS-PASS1_BITS); in jpeg_fdct_7x7() 421 DESCALE(MULTIPLY(z1 + tmp1 + tmp3, FIX(1.306122449)), /* 64/49 */ in jpeg_fdct_7x7() 429 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + z2 + z3, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7() 433 DESCALE(z2 + z3 - MULTIPLY(tmp1 - tmp3, FIX(0.923568041)), /* c2+c6-c4 */ in jpeg_fdct_7x7() 435 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + z2, CONST_BITS+PASS1_BITS); in jpeg_fdct_7x7() [all …]
|
D | jfdctfst.c | 98 #undef DESCALE 99 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 107 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
D | jidctfst.c | 110 #undef DESCALE 111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
D | jddctmgr.c | 314 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
|
D | jcdctmgr.c | 406 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()
|
D | jdct.h | 363 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
|
D | jidctint.c | 316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 1074 dcval = (int) DESCALE((INT32) dcval, 3); in jpeg_idct_1x1()
|
/external/libjpeg-turbo/ |
D | jfdctint.c | 179 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 181 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), 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); 240 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS); 241 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS); 244 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 246 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), [all …]
|
D | jidctred.c | 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) 250 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2, 253 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2, 256 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0, 259 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0, 327 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2() [all …]
|
D | jfdctfst.c | 97 #undef DESCALE 98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
D | jidctfst.c | 110 #undef DESCALE 111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
D | jidctint.c | 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); 290 wsptr[DCTSIZE*4] = (int) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS); 316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 385 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3, [all …]
|
D | jdct.h | 177 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
|
D | jddctmgr.c | 282 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
|
D | jcdctmgr.c | 304 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr() 311 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jfdctint.c | 177 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 179 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), 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); 238 dataptr[DCTSIZE*0] = (DCTELEM) DESCALE(tmp10 + tmp11, PASS1_BITS); 239 dataptr[DCTSIZE*4] = (DCTELEM) DESCALE(tmp10 - tmp11, PASS1_BITS); 242 dataptr[DCTSIZE*2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 244 dataptr[DCTSIZE*6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), [all …]
|
D | fpdfapi_jidctint.c | 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); 265 wsptr[DCTSIZE*4] = (int) DESCALE(tmp13 - tmp0, CONST_BITS-PASS1_BITS); 291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 360 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3, [all …]
|
D | fpdfapi_jidctred.c | 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) 247 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2, 250 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2, 253 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0, 256 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0, 323 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp0, CONST_BITS-PASS1_BITS+2); in jpeg_idct_2x2() [all …]
|
D | fpdfapi_jfdctfst.c | 97 #undef DESCALE 98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
D | fpdfapi_jidctfst.c | 110 #undef DESCALE 111 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
D | jdct.h | 146 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
|
D | fpdfapi_jddctmgr.c | 200 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass()
|
D | fpdfapi_jcdctmgr.c | 120 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i], in start_pass_fdctmgr()
|
/external/opencv/cvaux/src/ |
D | cvhmmobs.cpp | 102 #define DESCALE CV_DESCALE macro 107 #define DESCALE(x,n) (float)(x) macro 201 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 213 buf[0] = DESCALE( s, PASS1_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 228 buf[0] = DESCALE( s, PASS1_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 281 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 296 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R() 398 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT ); in icvImgToObs_DCT_32f_C1R() 410 buf[0] = DESCALE( s, PASS1_SHIFT ); in icvImgToObs_DCT_32f_C1R() [all …]
|