Home
last modified time | relevance | path

Searched refs:JLONG (Results 1 – 25 of 32) sorted by relevance

12

/external/libjpeg-turbo/
Djidctred.c61 #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 …]
Djidctint.c118 #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 …]
Djfdctint.c96 #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 …]
Djdmrg565.c33 JLONG * Crgtab = upsample->Cr_g_tab; in LOCAL()
34 JLONG * Cbgtab = upsample->Cb_g_tab; in LOCAL()
36 JLONG rgb; in LOCAL()
104 JLONG * Crgtab = upsample->Cr_g_tab; in LOCAL()
105 JLONG * Cbgtab = upsample->Cb_g_tab; in LOCAL()
106 JLONG d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK]; in LOCAL()
108 JLONG rgb; in LOCAL()
178 JLONG * Crgtab = upsample->Cr_g_tab; in LOCAL()
179 JLONG * Cbgtab = upsample->Cb_g_tab; in LOCAL()
181 JLONG rgb; in LOCAL()
[all …]
Djdcolor.c32 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 …]
Djdcol565.c34 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 …]
Djaricom.c32 #define V(i,a,b,c,d) (((JLONG)a << 16) | ((JLONG)c << 8) | ((JLONG)d << 7) | b)
34 const JLONG jpeg_aritab[113+1] = {
Djdct.h44 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)))
Djdmerge.c61 JLONG *Cr_g_tab; /* => table for Cr to G conversion */
62 JLONG *Cb_g_tab; /* => table for Cb to G conversion */
79 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1))
80 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5))
194 JLONG x; in build_ycc_rgb_table()
203 upsample->Cr_g_tab = (JLONG *) in build_ycc_rgb_table()
205 (MAXJSAMPLE+1) * sizeof(JLONG)); in build_ycc_rgb_table()
206 upsample->Cb_g_tab = (JLONG *) in build_ycc_rgb_table()
208 (MAXJSAMPLE+1) * sizeof(JLONG)); in build_ycc_rgb_table()
460 static const JLONG dither_matrix[4] = {
Djdmarker.c243 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 unsigned int datalen, JLONG remaining) in examine_app0()
608 JLONG totallen = (JLONG) datalen + remaining; in examine_app0()
642 ((JLONG)GETJOCTET(data[12]) * (JLONG)GETJOCTET(data[13]) * (JLONG) 3)) in examine_app0()
[all …]
Djfdctfst.c82 #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) */
Djccolor.c29 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()
385 register JLONG *ctab = cconvert->rgb_ycc_tab; in cmyk_ycck_convert()
Djquant2.c163 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()
641 JLONG minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors()
642 JLONG mindist[MAXNUMCOLORS]; /* min distance to colormap entry i */ in find_nearby_colors()
766 register JLONG *bptr; /* pointer into bestdist[] array */ in find_best_colors()
768 JLONG dist0, dist1; /* initial distance values */ in find_best_colors()
769 register JLONG dist2; /* current distance in inner loop */ in find_best_colors()
[all …]
Djpegint.h48 typedef long JLONG; typedef
56 #define LEFT_SHIFT(a, b) ((JLONG)((unsigned long)(a) << (b)))
293 #define SHIFT_TEMPS JLONG shift_temp;
296 (shift_temp >> (shft)) | ((~((JLONG) 0)) << (32-(shft))) : \
359 extern const JLONG jpeg_aritab[];
Djdmrgext.c39 JLONG * Crgtab = upsample->Cr_g_tab; in LOCAL()
40 JLONG * Cbgtab = upsample->Cb_g_tab; in LOCAL()
112 JLONG * Crgtab = upsample->Cr_g_tab; in LOCAL()
113 JLONG * Cbgtab = upsample->Cb_g_tab; in LOCAL()
Djquant1.c131 typedef JLONG FSERROR; /* may need more than 16 bits */
132 typedef JLONG LOCFSERROR; /* be sure calculation temps are big enough */
257 return (int) (((JLONG) j * MAXJSAMPLE + maxj/2) / maxj); in output_value()
267 return (int) (((JLONG) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); in largest_input_value()
403 JLONG num,den; in make_odither_array()
413 den = 2 * ODITHER_CELLS * ((JLONG) (ncolors - 1)); in make_odither_array()
416 num = ((JLONG) (ODITHER_CELLS-1 - 2*((int)base_dither_matrix[j][k]))) in make_odither_array()
Djidctfst.c95 #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) */
Djdcolext.c45 register JLONG * Crgtab = cconvert->Cr_g_tab; in LOCAL()
46 register JLONG * Cbgtab = cconvert->Cb_g_tab; in LOCAL()
Djccolext.c38 register JLONG * ctab = cconvert->rgb_ycc_tab; in LOCAL()
95 register JLONG * ctab = cconvert->rgb_ycc_tab; in LOCAL()
Djdhuff.h25 JLONG maxcode[18]; /* largest code of length k (-1 if none) */
27 JLONG valoffset[18]; /* huffval[] offset for codes of length k */
Djdhuff.c213 if (((JLONG) code) >= (((JLONG) 1) << si)) in jpeg_make_d_derived_tbl()
227 dtbl->valoffset[l] = (JLONG) p - (JLONG) huffcode[p]; in jpeg_make_d_derived_tbl()
454 register JLONG code; in jpeg_huff_decode()
Djcarith.c29 JLONG c; /* C register, base of coding interval, layout as in sec. D.1.3 */
30 JLONG a; /* A register, normalized size of coding interval */
31 JLONG sc; /* counter for stacked 0xFF values which might overflow */
32 JLONG zc; /* counter for pending 0x00 output values which might *
139 JLONG temp; in finish_pass()
226 register JLONG qe, temp; in arith_encode()
Djcsample.c154 JLONG outvalue; in int_downsample()
177 outvalue += (JLONG) GETJSAMPLE(*inptr++); in int_downsample()
306 JLONG membersum, neighsum, memberscale, neighscale; in h2v2_smooth_downsample()
406 JLONG membersum, neighsum, memberscale, neighscale; in fullsize_smooth_downsample()
Djddctmgr.c283 DESCALE(MULTIPLY16V16((JLONG) qtbl->quantval[i], in start_pass()
284 (JLONG) aanscales[i]), in start_pass()
Djcdctmgr.c309 DESCALE(MULTIPLY16V16((JLONG) qtbl->quantval[i], in start_pass_fdctmgr()
310 (JLONG) aanscales[i]), in start_pass_fdctmgr()
316 DESCALE(MULTIPLY16V16((JLONG) qtbl->quantval[i], in start_pass_fdctmgr()
317 (JLONG) aanscales[i]), in start_pass_fdctmgr()

12