/external/libjpeg-turbo/ |
H A 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(z [all...] |
H A 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(tmp1 [all...] |
H A D | jfdctfst.c | 97 #undef DESCALE macro 98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
H A D | jidctfst.c | 110 #undef DESCALE macro 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) 136 /* Like DESCALE, but applies to a DCTELEM and produces an int. 182 SHIFT_TEMPS /* for DESCALE */
|
H A D | jdct.h | 177 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
|
H A D | jddctmgr.c | 282 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
|
/external/pdfium/third_party/libjpeg/ |
H A 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(z [all...] |
H A 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(tmp1 [all...] |
H A 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(tmp1 [all...] |
H A D | fpdfapi_jfdctfst.c | 97 #undef DESCALE macro 98 #define DESCALE(x,n) RIGHT_SHIFT(x, n) macro 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
H A D | fpdfapi_jidctfst.c | 110 #undef DESCALE macro 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) 136 /* Like DESCALE, but applies to a DCTELEM and produces an int. 182 SHIFT_TEMPS /* for DESCALE */
|
H A D | jdct.h | 146 #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) macro
|
H A D | fpdfapi_jddctmgr.c | 200 DESCALE(MULTIPLY16V16((INT32) qtbl->quantval[i],
|
/external/opencv/cvaux/src/ |
H A 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 ); 213 buf[0] = DESCALE( s, PASS1_SHIFT ); 228 buf[0] = DESCALE( s, PASS1_SHIFT ); 268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT ); 281 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); 296 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); 398 buf[0] = DESCALE( is * tab[-2], PASS1_SHIFT ); 410 buf[0] = DESCALE( [all...] |
/external/libjpeg-turbo/simd/ |
H A D | jidctred-mmx.asm | 54 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 55 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243) 56 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579) 57 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887) 58 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822) 59 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 60 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095) 61 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 62 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337) 63 F_1_272 equ DESCALE(136661411 [all...] |
H A D | jidctred-sse2-64.asm | 55 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 56 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243) 57 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579) 58 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887) 59 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822) 60 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 61 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095) 62 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 63 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337) 64 F_1_272 equ DESCALE(136661411 [all...] |
H A D | jidctred-sse2.asm | 54 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 55 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243) 56 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579) 57 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887) 58 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822) 59 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 60 F_0_850 equ DESCALE( 913142361,30-CONST_BITS) ; FIX(0.850430095) 61 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 62 F_1_061 equ DESCALE(1139878239,30-CONST_BITS) ; FIX(1.061594337) 63 F_1_272 equ DESCALE(136661411 [all...] |
H A D | jfdctint-mmx.asm | 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 59 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jfdctint-sse2-64.asm | 51 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 52 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 53 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 54 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 55 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 56 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 57 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 58 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 59 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 60 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jfdctint-sse2.asm | 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 59 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jidctint-mmx.asm | 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 59 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jidctint-sse2-64.asm | 51 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 52 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 53 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 54 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 55 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 56 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 57 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 58 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 59 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 60 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jidctint-sse2.asm | 50 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 51 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 52 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 53 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 54 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 55 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 56 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602) 57 F_1_501 equ DESCALE(1612031267,30-CONST_BITS) ; FIX(1.501321110) 58 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 59 F_1_961 equ DESCALE(210622035 [all...] |
H A D | jfdctfst-mmx.asm | 38 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 39 F_0_382 equ DESCALE( 410903207,30-CONST_BITS) ; FIX(0.382683433) 40 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 41 F_0_707 equ DESCALE( 759250124,30-CONST_BITS) ; FIX(0.707106781) 42 F_1_306 equ DESCALE(1402911301,30-CONST_BITS) ; FIX(1.306562965)
|
H A D | jfdctfst-sse2-64.asm | 39 %define DESCALE(x,n) (((x)+(1<<((n)-1)))>>(n)) 40 F_0_382 equ DESCALE( 410903207,30-CONST_BITS) ; FIX(0.382683433) 41 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 42 F_0_707 equ DESCALE( 759250124,30-CONST_BITS) ; FIX(0.707106781) 43 F_1_306 equ DESCALE(1402911301,30-CONST_BITS) ; FIX(1.306562965)
|