/external/chromium_org/third_party/libjpeg_turbo/ |
jidctint.c | 81 * CONST_BITS bits of precision in the constants). After doing a 84 * cheaply as a right shift of CONST_BITS bits. We postpone shifting 95 * have BITS_IN_JSAMPLE + CONST_BITS + PASS1_BITS <= 26. Error analysis 100 #define CONST_BITS 13 103 #define CONST_BITS 13 110 * If you change CONST_BITS you may want to add appropriate values. 114 #if CONST_BITS == 13 238 tmp0 = (z2 + z3) << CONST_BITS; 239 tmp1 = (z2 - z3) << CONST_BITS; 280 wsptr[DCTSIZE*0] = (int) DESCALE(tmp10 + tmp3, CONST_BITS-PASS1_BITS) [all...] |
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...] |
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...] |
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))
|
jddctmgr.c | 253 #define CONST_BITS 14 271 CONST_BITS-IFAST_SCALE_BITS);
|
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/jpeg/ |
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...] |
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...] |
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...] |
mips_jidctfst.c | 79 #define CONST_BITS 8 82 #define CONST_BITS 8 89 * If you change CONST_BITS you may want to add appropriate values. 93 #if CONST_BITS == 8 121 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
|
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))
|
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/chromium_org/third_party/libjpeg_turbo/simd/ |
jimmxred.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...] |
jiss2red-64.asm | 30 %define CONST_BITS 13 33 %define DESCALE_P1_4 (CONST_BITS-PASS1_BITS+1) 34 %define DESCALE_P2_4 (CONST_BITS+PASS1_BITS+3+1) 35 %define DESCALE_P1_2 (CONST_BITS-PASS1_BITS+2) 36 %define DESCALE_P2_2 (CONST_BITS+PASS1_BITS+3+2) 38 %if CONST_BITS == 13 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 [all...] |
jiss2red.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...] |
jimmxint.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...] |
jiss2int-64.asm | 30 %define CONST_BITS 13 33 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 34 %define DESCALE_P2 (CONST_BITS+PASS1_BITS+3) 36 %if CONST_BITS == 13 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 [all...] |
jiss2int.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...] |
jfmmxint.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...] |
jfss2int-64.asm | 30 %define CONST_BITS 13 33 %define DESCALE_P1 (CONST_BITS-PASS1_BITS) 34 %define DESCALE_P2 (CONST_BITS+PASS1_BITS) 36 %if CONST_BITS == 13 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 [all...] |
jfss2int.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...] |
jimmxfst.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)
|
jiss2fst-64.asm | 30 %define CONST_BITS 8 ; 14 is also OK. 37 %if CONST_BITS == 8 46 F_1_082 equ DESCALE(1162209775,30-CONST_BITS) ; FIX(1.082392200) 47 F_1_414 equ DESCALE(1518500249,30-CONST_BITS) ; FIX(1.414213562) 48 F_1_847 equ DESCALE(1984016188,30-CONST_BITS) ; FIX(1.847759065) 49 F_2_613 equ DESCALE(2805822602,30-CONST_BITS) ; FIX(2.613125930) 50 F_1_613 equ (F_2_613 - (1 << CONST_BITS)) ; FIX(2.613125930) - FIX(1) 57 ; CONST_BITS + CONST_SHIFT + PRE_MULTIPLY_SCALE_BITS == 16 (for pmulhw) 60 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
|
jiss2fst.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)
|
jfmmxfst.asm | 29 %define CONST_BITS 8 ; 14 is also OK. 31 %if CONST_BITS == 8 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) 49 ; CONST_BITS + CONST_SHIFT + PRE_MULTIPLY_SCALE_BITS == 16 (for pmulhw) 52 %define CONST_SHIFT (16 - PRE_MULTIPLY_SCALE_BITS - CONST_BITS)
|