/external/libjpeg-turbo/ |
D | jidctred.c | 61 #define FIX_0_211164243 ((JLONG)1730) /* FIX(0.211164243) */ 62 #define FIX_0_509795579 ((JLONG)4176) /* FIX(0.509795579) */ 63 #define FIX_0_601344887 ((JLONG)4926) /* FIX(0.601344887) */ 64 #define FIX_0_720959822 ((JLONG)5906) /* FIX(0.720959822) */ 65 #define FIX_0_765366865 ((JLONG)6270) /* FIX(0.765366865) */ 66 #define FIX_0_850430095 ((JLONG)6967) /* FIX(0.850430095) */ 67 #define FIX_0_899976223 ((JLONG)7373) /* FIX(0.899976223) */ 68 #define FIX_1_061594337 ((JLONG)8697) /* FIX(1.061594337) */ 69 #define FIX_1_272758580 ((JLONG)10426) /* FIX(1.272758580) */ 70 #define FIX_1_451774981 ((JLONG)11893) /* FIX(1.451774981) */ [all …]
|
D | jfdctint.c | 96 #define FIX_0_298631336 ((JLONG)2446) /* FIX(0.298631336) */ 97 #define FIX_0_390180644 ((JLONG)3196) /* FIX(0.390180644) */ 98 #define FIX_0_541196100 ((JLONG)4433) /* FIX(0.541196100) */ 99 #define FIX_0_765366865 ((JLONG)6270) /* FIX(0.765366865) */ 100 #define FIX_0_899976223 ((JLONG)7373) /* FIX(0.899976223) */ 101 #define FIX_1_175875602 ((JLONG)9633) /* FIX(1.175875602) */ 102 #define FIX_1_501321110 ((JLONG)12299) /* FIX(1.501321110) */ 103 #define FIX_1_847759065 ((JLONG)15137) /* FIX(1.847759065) */ 104 #define FIX_1_961570560 ((JLONG)16069) /* FIX(1.961570560) */ 105 #define FIX_2_053119869 ((JLONG)16819) /* FIX(2.053119869) */ [all …]
|
D | jidctint.c | 118 #define FIX_0_298631336 ((JLONG)2446) /* FIX(0.298631336) */ 119 #define FIX_0_390180644 ((JLONG)3196) /* FIX(0.390180644) */ 120 #define FIX_0_541196100 ((JLONG)4433) /* FIX(0.541196100) */ 121 #define FIX_0_765366865 ((JLONG)6270) /* FIX(0.765366865) */ 122 #define FIX_0_899976223 ((JLONG)7373) /* FIX(0.899976223) */ 123 #define FIX_1_175875602 ((JLONG)9633) /* FIX(1.175875602) */ 124 #define FIX_1_501321110 ((JLONG)12299) /* FIX(1.501321110) */ 125 #define FIX_1_847759065 ((JLONG)15137) /* FIX(1.847759065) */ 126 #define FIX_1_961570560 ((JLONG)16069) /* FIX(1.961570560) */ 127 #define FIX_2_053119869 ((JLONG)16819) /* FIX(2.053119869) */ [all …]
|
D | jdmrg565.c | 32 JLONG *Crgtab = upsample->Cr_g_tab; in LOCAL() 33 JLONG *Cbgtab = upsample->Cb_g_tab; in LOCAL() 35 JLONG rgb; in LOCAL() 103 JLONG *Crgtab = upsample->Cr_g_tab; in LOCAL() 104 JLONG *Cbgtab = upsample->Cb_g_tab; in LOCAL() 105 JLONG d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK]; in LOCAL() 107 JLONG rgb; in LOCAL() 176 JLONG *Crgtab = upsample->Cr_g_tab; in LOCAL() 177 JLONG *Cbgtab = upsample->Cb_g_tab; in LOCAL() 179 JLONG rgb; in LOCAL() [all …]
|
D | jdcolor.c | 32 JLONG *Cr_g_tab; /* => table for Cr to G conversion */ 33 JLONG *Cb_g_tab; /* => table for Cb to G conversion */ 36 JLONG *rgb_y_tab; /* => table for RGB to Y conversion */ 77 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) 78 #define FIX(x) ((JLONG)((x) * (1L << SCALEBITS) + 0.5)) 215 JLONG x; in build_ycc_rgb_table() 224 cconvert->Cr_g_tab = (JLONG *) in build_ycc_rgb_table() 226 (MAXJSAMPLE + 1) * sizeof(JLONG)); in build_ycc_rgb_table() 227 cconvert->Cb_g_tab = (JLONG *) in build_ycc_rgb_table() 229 (MAXJSAMPLE + 1) * sizeof(JLONG)); in build_ycc_rgb_table() [all …]
|
D | jaricom.c | 33 (((JLONG)a << 16) | ((JLONG)c << 8) | ((JLONG)d << 7) | b) 35 const JLONG jpeg_aritab[113 + 1] = {
|
D | jdcol565.c | 34 register JLONG *Crgtab = cconvert->Cr_g_tab; in LOCAL() 35 register JLONG *Cbgtab = cconvert->Cb_g_tab; in LOCAL() 39 JLONG rgb; in LOCAL() 113 register JLONG *Crgtab = cconvert->Cr_g_tab; in LOCAL() 114 register JLONG *Cbgtab = cconvert->Cb_g_tab; in LOCAL() 115 JLONG d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK]; in LOCAL() 119 JLONG rgb; in LOCAL() 196 JLONG rgb; in LOCAL() 249 JLONG d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK]; in LOCAL() 253 JLONG rgb; in LOCAL() [all …]
|
D | jdct.h | 44 typedef JLONG DCTELEM; /* must have 32 bits */ 71 typedef JLONG IFAST_MULT_TYPE; /* need 32 bits for scaled quantizers */ 163 #define ONE ((JLONG)1) 171 #define FIX(x) ((JLONG)((x) * CONST_SCALE + 0.5)) 193 #define MULTIPLY16C16(var, const) (((INT16)(var)) * ((JLONG)(const)))
|
D | jdmarker.c | 243 JLONG length; in get_sof() 307 JLONG length; in get_sos() 390 JLONG length; in get_dac() 436 JLONG length; in get_dht() 470 if (count > 256 || ((JLONG)count) > length) in get_dht() 510 JLONG length; in get_dqt() 568 JLONG length; in get_dri() 602 JLONG remaining) in examine_app0() 608 JLONG totallen = (JLONG)datalen + remaining; in examine_app0() 640 if (totallen != ((JLONG)data[12] * (JLONG)data[13] * (JLONG)3)) in examine_app0() [all …]
|
D | jfdctfst.c | 82 #define FIX_0_382683433 ((JLONG)98) /* FIX(0.382683433) */ 83 #define FIX_0_541196100 ((JLONG)139) /* FIX(0.541196100) */ 84 #define FIX_0_707106781 ((JLONG)181) /* FIX(0.707106781) */ 85 #define FIX_1_306562965 ((JLONG)334) /* FIX(1.306562965) */
|
D | jdmerge.h | 30 JLONG *Cr_g_tab; /* => table for Cr to G conversion */ 31 JLONG *Cb_g_tab; /* => table for Cb to G conversion */
|
D | jdmerge.c | 51 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) 52 #define FIX(x) ((JLONG)((x) * (1L << SCALEBITS) + 0.5)) 166 JLONG x; in build_ycc_rgb_table() 175 upsample->Cr_g_tab = (JLONG *) in build_ycc_rgb_table() 177 (MAXJSAMPLE + 1) * sizeof(JLONG)); in build_ycc_rgb_table() 178 upsample->Cb_g_tab = (JLONG *) in build_ycc_rgb_table() 180 (MAXJSAMPLE + 1) * sizeof(JLONG)); in build_ycc_rgb_table() 425 static const JLONG dither_matrix[4] = {
|
D | jccolor.c | 29 JLONG *rgb_ycc_tab; /* => table for RGB to YCbCr conversion */ 66 #define CBCR_OFFSET ((JLONG)CENTERJSAMPLE << SCALEBITS) 67 #define ONE_HALF ((JLONG)1 << (SCALEBITS - 1)) 68 #define FIX(x) ((JLONG)((x) * (1L << SCALEBITS) + 0.5)) 201 JLONG *rgb_ycc_tab; in rgb_ycc_start() 202 JLONG i; in rgb_ycc_start() 205 cconvert->rgb_ycc_tab = rgb_ycc_tab = (JLONG *) in rgb_ycc_start() 207 (TABLE_SIZE * sizeof(JLONG))); in rgb_ycc_start() 381 register JLONG *ctab = cconvert->rgb_ycc_tab; in cmyk_ycck_convert()
|
D | jdmrgext.c | 38 JLONG *Crgtab = upsample->Cr_g_tab; in LOCAL() 39 JLONG *Cbgtab = upsample->Cb_g_tab; in LOCAL() 110 JLONG *Crgtab = upsample->Cr_g_tab; in LOCAL() 111 JLONG *Cbgtab = upsample->Cb_g_tab; in LOCAL()
|
D | jpegint.h | 48 typedef long JLONG; typedef 56 #define LEFT_SHIFT(a, b) ((JLONG)((unsigned long)(a) << (b))) 296 #define SHIFT_TEMPS JLONG shift_temp; 299 (shift_temp >> (shft)) | ((~((JLONG)0)) << (32 - (shft))) : \ 362 extern const JLONG jpeg_aritab[];
|
D | jquant2.c | 163 typedef JLONG FSERROR; /* may need more than 16 bits */ 164 typedef JLONG LOCFSERROR; /* be sure calculation temps are big enough */ 243 JLONG volume; 278 register JLONG maxv = 0; in find_biggest_volume() 301 JLONG dist0, dist1, dist2; in update_box() 640 JLONG minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() 641 JLONG mindist[MAXNUMCOLORS]; /* min distance to colormap entry i */ in find_nearby_colors() 765 register JLONG *bptr; /* pointer into bestdist[] array */ in find_best_colors() 767 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() 768 register JLONG dist2; /* current distance in inner loop */ in find_best_colors() [all …]
|
D | jquant1.c | 132 typedef JLONG FSERROR; /* may need more than 16 bits */ 133 typedef JLONG LOCFSERROR; /* be sure calculation temps are big enough */ 258 return (int)(((JLONG)j * MAXJSAMPLE + maxj / 2) / maxj); in output_value() 268 return (int)(((JLONG)(2 * j + 1) * MAXJSAMPLE + maxj) / (2 * maxj)); in largest_input_value() 404 JLONG num, den; in make_odither_array() 414 den = 2 * ODITHER_CELLS * ((JLONG)(ncolors - 1)); in make_odither_array() 417 num = ((JLONG)(ODITHER_CELLS - 1 - in make_odither_array()
|
D | jidctfst.c | 95 #define FIX_1_082392200 ((JLONG)277) /* FIX(1.082392200) */ 96 #define FIX_1_414213562 ((JLONG)362) /* FIX(1.414213562) */ 97 #define FIX_1_847759065 ((JLONG)473) /* FIX(1.847759065) */ 98 #define FIX_2_613125930 ((JLONG)669) /* FIX(2.613125930) */
|
D | jdcolext.c | 45 register JLONG *Crgtab = cconvert->Cr_g_tab; in LOCAL() 46 register JLONG *Cbgtab = cconvert->Cb_g_tab; in LOCAL()
|
D | jccolext.c | 38 register JLONG *ctab = cconvert->rgb_ycc_tab; in LOCAL() 92 register JLONG *ctab = cconvert->rgb_ycc_tab; in LOCAL()
|
D | jdhuff.h | 26 JLONG maxcode[18]; /* largest code of length k (-1 if none) */ 28 JLONG valoffset[18]; /* huffval[] offset for codes of length k */
|
D | jcsample.c | 154 JLONG outvalue; in int_downsample() 177 outvalue += (JLONG)(*inptr++); in int_downsample() 304 JLONG membersum, neighsum, memberscale, neighscale; in h2v2_smooth_downsample() 392 JLONG membersum, neighsum, memberscale, neighscale; in fullsize_smooth_downsample()
|
D | jdhuff.c | 199 if (((JLONG)code) >= (((JLONG)1) << si)) in jpeg_make_d_derived_tbl() 213 dtbl->valoffset[l] = (JLONG)p - (JLONG)huffcode[p]; in jpeg_make_d_derived_tbl() 439 register JLONG code; in jpeg_huff_decode()
|
D | jcarith.c | 32 JLONG c; /* C register, base of coding interval, layout as in sec. D.1.3 */ 33 JLONG a; /* A register, normalized size of coding interval */ 34 JLONG sc; /* counter for stacked 0xFF values which might overflow */ 35 JLONG zc; /* counter for pending 0x00 output values which might * 142 JLONG temp; in finish_pass() 229 register JLONG qe, temp; in arith_encode()
|
D | jddctmgr.c | 283 DESCALE(MULTIPLY16V16((JLONG)qtbl->quantval[i], in start_pass() 284 (JLONG)aanscales[i]), in start_pass()
|