/external/libjpeg-turbo/ |
jidctint.c | 84 * CONST_BITS bits of precision in the constants). After doing a 87 * cheaply as a right shift of CONST_BITS bits. We postpone shifting 98 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis 103 #define CONST_BITS 13 106 #define CONST_BITS 13 113 * If you change CONST_BITS you may want to add appropriate values. 117 #if CONST_BITS == 13 242 tmp0 = LEFT_SHIFT(z2 + z3, CONST_BITS); 243 tmp1 = LEFT_SHIFT(z2 - z3, CONST_BITS); 284 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS) [all...] |
jfdctint.c | 62 * CONST_BITS bits of precision in the constants). After doing a 65 * cheaply as a right shift of CONST_BITS bits. We postpone shifting 76 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis 81 #define CONST_BITS 13 84 #define CONST_BITS 13 91 * If you change CONST_BITS you may want to add appropriate values. 95 #if CONST_BITS == 13 181 CONST_BITS-PASS1_BITS); 183 CONST_BITS-PASS1_BITS); 208 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS) [all...] |
jidctred.c | 46 #define CONST_BITS 13 49 #define CONST_BITS 13 56 * If you change CONST_BITS you may want to add appropriate values. 60 #if CONST_BITS == 13 163 tmp0 = LEFT_SHIFT(tmp0, CONST_BITS+1); 192 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp2, CONST_BITS-PASS1_BITS+1); 193 wsptr[DCTSIZE*3] = (int) DESCALE(tmp10 - tmp2, CONST_BITS-PASS1_BITS+1); 194 wsptr[DCTSIZE*1] = (int) DESCALE(tmp12 + tmp0, CONST_BITS-PASS1_BITS+1); 195 wsptr[DCTSIZE*2] = (int) DESCALE(tmp12 - tmp0, CONST_BITS-PASS1_BITS+1); 224 tmp0 = LEFT_SHIFT((JLONG) wsptr[0], CONST_BITS+1) [all...] |
jfdctfst.c | 71 #define CONST_BITS 8 77 * If you change CONST_BITS you may want to add appropriate values. 81 #if CONST_BITS == 8 109 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
jddctmgr.c | 267 #define CONST_BITS 14 285 CONST_BITS-IFAST_SCALE_BITS);
|
jidctfst.c | 80 #define CONST_BITS 8 83 #define CONST_BITS 8 90 * If you change CONST_BITS you may want to add appropriate values. 94 #if CONST_BITS == 8 122 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jidctint.c | 59 * CONST_BITS bits of precision in the constants). After doing a 62 * cheaply as a right shift of CONST_BITS bits. We postpone shifting 73 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis 78 #define CONST_BITS 13 81 #define CONST_BITS 13 88 * If you change CONST_BITS you may want to add appropriate values. 92 #if CONST_BITS == 13 216 tmp0 = (z2 + z3) << CONST_BITS; 217 tmp1 = (z2 - z3) << CONST_BITS; 258 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS) [all...] |
fpdfapi_jfdctint.c | 59 * CONST_BITS bits of precision in the constants). After doing a 62 * cheaply as a right shift of CONST_BITS bits. We postpone shifting 73 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis 78 #define CONST_BITS 13 81 #define CONST_BITS 13 88 * If you change CONST_BITS you may want to add appropriate values. 92 #if CONST_BITS == 13 178 CONST_BITS-PASS1_BITS); 180 CONST_BITS-PASS1_BITS); 205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS) [all...] |
fpdfapi_jidctred.c | 43 #define CONST_BITS 13 46 #define CONST_BITS 13 53 * If you change CONST_BITS you may want to add appropriate values. 57 #if CONST_BITS == 13 159 tmp0 <<= (CONST_BITS+1); 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); 220 tmp0 = ((INT32) wsptr[0]) << (CONST_BITS+1) [all...] |
fpdfapi_jfdctfst.c | 68 #define CONST_BITS 8 74 * If you change CONST_BITS you may want to add appropriate values. 78 #if CONST_BITS == 8 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
fpdfapi_jddctmgr.c | 184 #define CONST_BITS 14 202 CONST_BITS-IFAST_SCALE_BITS);
|
fpdfapi_jidctfst.c | 77 #define CONST_BITS 8 80 #define CONST_BITS 8 87 * If you change CONST_BITS you may want to add appropriate values. 91 #if CONST_BITS == 8 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
/external/libjpeg-turbo/simd/ |
jidctred-mmx.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1_4 (CONST_BITS-PASS1_BITS+1) 32 %define DESCALE_P2_4 (CONST_BITS+PASS1_BITS+3+1) 33 %define DESCALE_P1_2 (CONST_BITS-PASS1_BITS+2) 34 %define DESCALE_P2_2 (CONST_BITS+PASS1_BITS+3+2) 36 %if CONST_BITS == 13 54 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243) 55 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579) 56 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887) 57 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822 [all...] |
jidctred-sse2-64.asm | 29 %define CONST_BITS 13 32 %define DESCALE_P1_4 (CONST_BITS-PASS1_BITS+1) 33 %define DESCALE_P2_4 (CONST_BITS+PASS1_BITS+3+1) 34 %define DESCALE_P1_2 (CONST_BITS-PASS1_BITS+2) 35 %define DESCALE_P2_2 (CONST_BITS+PASS1_BITS+3+2) 37 %if CONST_BITS == 13 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 [all...] |
jidctred-sse2.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1_4 (CONST_BITS-PASS1_BITS+1) 32 %define DESCALE_P2_4 (CONST_BITS+PASS1_BITS+3+1) 33 %define DESCALE_P1_2 (CONST_BITS-PASS1_BITS+2) 34 %define DESCALE_P2_2 (CONST_BITS+PASS1_BITS+3+2) 36 %if CONST_BITS == 13 54 F_0_211 equ DESCALE( 226735879,30-CONST_BITS) ; FIX(0.211164243) 55 F_0_509 equ DESCALE( 547388834,30-CONST_BITS) ; FIX(0.509795579) 56 F_0_601 equ DESCALE( 645689155,30-CONST_BITS) ; FIX(0.601344887) 57 F_0_720 equ DESCALE( 774124714,30-CONST_BITS) ; FIX(0.720959822 [all...] |
jidctint-mmx.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 32 %define DESCALE_P2 (CONST_BITS+PASS1_BITS+3) 34 %if CONST_BITS == 13 50 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 51 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 52 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 53 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 54 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 55 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602 [all...] |
jidctint-sse2-64.asm | 29 %define CONST_BITS 13 32 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 33 %define DESCALE_P2 (CONST_BITS+PASS1_BITS+3) 35 %if CONST_BITS == 13 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 [all...] |
jidctint-sse2.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 32 %define DESCALE_P2 (CONST_BITS+PASS1_BITS+3) 34 %if CONST_BITS == 13 50 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 51 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 52 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 53 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 54 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 55 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602 [all...] |
jfdctfst-altivec.c | 40 #define CONST_BITS 8 42 #define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS - 1)
|
jfdctint-mmx.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 32 %define DESCALE_P2 (CONST_BITS+PASS1_BITS) 34 %if CONST_BITS == 13 50 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 51 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 52 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 53 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 54 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 55 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602 [all...] |
jfdctint-sse2-64.asm | 29 %define CONST_BITS 13 32 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 33 %define DESCALE_P2 (CONST_BITS+PASS1_BITS) 35 %if CONST_BITS == 13 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 [all...] |
jfdctint-sse2.asm | 28 %define CONST_BITS 13 31 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 32 %define DESCALE_P2 (CONST_BITS+PASS1_BITS) 34 %if CONST_BITS == 13 50 F_0_298 equ DESCALE( 320652955,30-CONST_BITS) ; FIX(0.298631336) 51 F_0_390 equ DESCALE( 418953276,30-CONST_BITS) ; FIX(0.390180644) 52 F_0_541 equ DESCALE( 581104887,30-CONST_BITS) ; FIX(0.541196100) 53 F_0_765 equ DESCALE( 821806413,30-CONST_BITS) ; FIX(0.765366865) 54 F_0_899 equ DESCALE( 966342111,30-CONST_BITS) ; FIX(0.899976223) 55 F_1_175 equ DESCALE(1262586813,30-CONST_BITS) ; FIX(1.175875602 [all...] |
jidctfst-mmx.asm | 28 %define CONST_BITS 8 ; 14 is also OK. 35 %if CONST_BITS == 8 44 F_1_082 equ DESCALE(1162209775,30-CONST_BITS) ; FIX(1.082392200) 45 F_1_414 equ DESCALE(1518500249,30-CONST_BITS) ; FIX(1.414213562) 46 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 47 F_2_613 equ DESCALE(2805822602,30-CONST_BITS) ; FIX(2.613125930) 48 F_1_613 equ (F_2_613 - (1 << CONST_BITS)) ; FIX(2.613125930) - FIX(1) 55 ; CONST_BITS + CONST_SHIFT + PRE_MULTIPLY_SCALE_BITS == 16 (for pmulhw) 58 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
|
jidctfst-sse2-64.asm | 29 %define CONST_BITS 8 ; 14 is also OK. 36 %if CONST_BITS == 8 45 F_1_082 equ DESCALE(1162209775,30-CONST_BITS) ; FIX(1.082392200) 46 F_1_414 equ DESCALE(1518500249,30-CONST_BITS) ; FIX(1.414213562) 47 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 48 F_2_613 equ DESCALE(2805822602,30-CONST_BITS) ; FIX(2.613125930) 49 F_1_613 equ (F_2_613 - (1 << CONST_BITS)) ; FIX(2.613125930) - FIX(1) 56 ; CONST_BITS + CONST_SHIFT + PRE_MULTIPLY_SCALE_BITS == 16 (for pmulhw) 59 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
|
jidctfst-sse2.asm | 28 %define CONST_BITS 8 ; 14 is also OK. 35 %if CONST_BITS == 8 44 F_1_082 equ DESCALE(1162209775,30-CONST_BITS) ; FIX(1.082392200) 45 F_1_414 equ DESCALE(1518500249,30-CONST_BITS) ; FIX(1.414213562) 46 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 47 F_2_613 equ DESCALE(2805822602,30-CONST_BITS) ; FIX(2.613125930) 48 F_1_613 equ (F_2_613 - (1 << CONST_BITS)) ; FIX(2.613125930) - FIX(1) 55 ; CONST_BITS + CONST_SHIFT + PRE_MULTIPLY_SCALE_BITS == 16 (for pmulhw) 58 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
|