Home
last modified time | relevance | path

Searched refs:GETJSAMPLE (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcsample.c170 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample()
233 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
272 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample()
273 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]) in h2v2_downsample()
333 membersum = GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_smooth_downsample()
334 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]); in h2v2_smooth_downsample()
335 neighsum = GETJSAMPLE(*above_ptr) + GETJSAMPLE(above_ptr[1]) + in h2v2_smooth_downsample()
336 GETJSAMPLE(*below_ptr) + GETJSAMPLE(below_ptr[1]) + in h2v2_smooth_downsample()
337 GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[2]) + in h2v2_smooth_downsample()
338 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[2]); in h2v2_smooth_downsample()
[all …]
Dfpdfapi_jcdctmgr.c205 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
206 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
207 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
208 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
209 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
210 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
211 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
212 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
216 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in forward_DCT()
295 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in forward_DCT_float()
[all …]
Dfpdfapi_jdmerge.c254 cb = GETJSAMPLE(*inptr1++); in h2v1_merged_upsample()
255 cr = GETJSAMPLE(*inptr2++); in h2v1_merged_upsample()
260 y = GETJSAMPLE(*inptr0++); in h2v1_merged_upsample()
265 y = GETJSAMPLE(*inptr0++); in h2v1_merged_upsample()
273 cb = GETJSAMPLE(*inptr1); in h2v1_merged_upsample()
274 cr = GETJSAMPLE(*inptr2); in h2v1_merged_upsample()
278 y = GETJSAMPLE(*inptr0); in h2v1_merged_upsample()
318 cb = GETJSAMPLE(*inptr1++); in h2v2_merged_upsample()
319 cr = GETJSAMPLE(*inptr2++); in h2v2_merged_upsample()
324 y = GETJSAMPLE(*inptr00++); in h2v2_merged_upsample()
[all …]
Dfpdfapi_jdsample.c317 invalue = GETJSAMPLE(*inptr++); in h2v1_fancy_upsample()
319 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample()
323 invalue = GETJSAMPLE(*inptr++) * 3; in h2v1_fancy_upsample()
324 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2); in h2v1_fancy_upsample()
325 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample()
329 invalue = GETJSAMPLE(*inptr); in h2v1_fancy_upsample()
330 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample()
370 thiscolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
371 nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
379 nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
Djmorecfg.h63 #define GETJSAMPLE(value) ((int) (value)) macro
69 #define GETJSAMPLE(value) ((int) (value)) macro
71 #define GETJSAMPLE(value) ((int) (value) & 0xFF) macro
88 #define GETJSAMPLE(value) ((int) (value)) macro
/external/libjpeg-turbo/
Djcsample.c175 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample()
238 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
277 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample()
278 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]) in h2v2_downsample()
338 membersum = GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_smooth_downsample()
339 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]); in h2v2_smooth_downsample()
340 neighsum = GETJSAMPLE(*above_ptr) + GETJSAMPLE(above_ptr[1]) + in h2v2_smooth_downsample()
341 GETJSAMPLE(*below_ptr) + GETJSAMPLE(below_ptr[1]) + in h2v2_smooth_downsample()
342 GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[2]) + in h2v2_smooth_downsample()
343 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[2]); in h2v2_smooth_downsample()
[all …]
Djdcol565.c47 y = GETJSAMPLE(*inptr0++); in LOCAL()
48 cb = GETJSAMPLE(*inptr1++); in LOCAL()
49 cr = GETJSAMPLE(*inptr2++); in LOCAL()
60 y = GETJSAMPLE(*inptr0++); in LOCAL()
61 cb = GETJSAMPLE(*inptr1++); in LOCAL()
62 cr = GETJSAMPLE(*inptr2++); in LOCAL()
69 y = GETJSAMPLE(*inptr0++); in LOCAL()
70 cb = GETJSAMPLE(*inptr1++); in LOCAL()
71 cr = GETJSAMPLE(*inptr2++); in LOCAL()
82 y = GETJSAMPLE(*inptr0); in LOCAL()
[all …]
Djdmrg565.c46 cb = GETJSAMPLE(*inptr1++); in LOCAL()
47 cr = GETJSAMPLE(*inptr2++); in LOCAL()
53 y = GETJSAMPLE(*inptr0++); in LOCAL()
59 y = GETJSAMPLE(*inptr0++); in LOCAL()
71 cb = GETJSAMPLE(*inptr1); in LOCAL()
72 cr = GETJSAMPLE(*inptr2); in LOCAL()
76 y = GETJSAMPLE(*inptr0); in LOCAL()
118 cb = GETJSAMPLE(*inptr1++); in LOCAL()
119 cr = GETJSAMPLE(*inptr2++); in LOCAL()
125 y = GETJSAMPLE(*inptr0++); in LOCAL()
[all …]
Djdmrgext.c49 cb = GETJSAMPLE(*inptr1++); in LOCAL()
50 cr = GETJSAMPLE(*inptr2++); in LOCAL()
55 y = GETJSAMPLE(*inptr0++); in LOCAL()
63 y = GETJSAMPLE(*inptr0++); in LOCAL()
74 cb = GETJSAMPLE(*inptr1); in LOCAL()
75 cr = GETJSAMPLE(*inptr2); in LOCAL()
79 y = GETJSAMPLE(*inptr0); in LOCAL()
124 cb = GETJSAMPLE(*inptr1++); in LOCAL()
125 cr = GETJSAMPLE(*inptr2++); in LOCAL()
130 y = GETJSAMPLE(*inptr00++); in LOCAL()
[all …]
Djccolext.c50 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
51 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL()
52 b = GETJSAMPLE(inptr[RGB_BLUE]); in LOCAL()
105 r = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
106 g = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL()
107 b = GETJSAMPLE(inptr[RGB_BLUE]); in LOCAL()
141 outptr0[col] = GETJSAMPLE(inptr[RGB_RED]); in LOCAL()
142 outptr1[col] = GETJSAMPLE(inptr[RGB_GREEN]); in LOCAL()
143 outptr2[col] = GETJSAMPLE(inptr[RGB_BLUE]); in LOCAL()
Djcdctmgr.c379 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
380 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
381 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
382 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
383 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
384 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
385 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
386 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
391 *workspaceptr++ = GETJSAMPLE(*elemptr++) - CENTERJSAMPLE; in convsamp()
532 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in convsamp_float()
[all …]
Dwrtarga.c104 outptr[0] = (char) GETJSAMPLE(inptr[2]); /* RGB to BGR order */ in put_pixel_rows()
105 outptr[1] = (char) GETJSAMPLE(inptr[1]); in put_pixel_rows()
106 outptr[2] = (char) GETJSAMPLE(inptr[0]); in put_pixel_rows()
125 *outptr++ = (char) GETJSAMPLE(*inptr++); in put_gray_rows()
149 *outptr++ = (char) GETJSAMPLE(color_map0[GETJSAMPLE(*inptr++)]); in put_demapped_gray()
184 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); in start_output_tga()
185 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); in start_output_tga()
186 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile); in start_output_tga()
Djquant1.c480 pixcode += GETJSAMPLE(colorindex[ci][GETJSAMPLE(*ptrin++)]); in color_quantize()
507 pixcode = GETJSAMPLE(colorindex0[GETJSAMPLE(*ptrin++)]); in color_quantize3()
508 pixcode += GETJSAMPLE(colorindex1[GETJSAMPLE(*ptrin++)]); in color_quantize3()
509 pixcode += GETJSAMPLE(colorindex2[GETJSAMPLE(*ptrin++)]); in color_quantize3()
552 *output_ptr += colorindex_ci[GETJSAMPLE(*input_ptr)+dither[col_index]]; in quantize_ord_dither()
595 pixcode = GETJSAMPLE(colorindex0[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
597 pixcode += GETJSAMPLE(colorindex1[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
599 pixcode += GETJSAMPLE(colorindex2[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
677 cur += GETJSAMPLE(*input_ptr); in quantize_fs_dither()
678 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()
[all …]
Djdsample.c286 invalue = GETJSAMPLE(*inptr++); in h2v1_fancy_upsample()
288 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample()
292 invalue = GETJSAMPLE(*inptr++) * 3; in h2v1_fancy_upsample()
293 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2); in h2v1_fancy_upsample()
294 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample()
298 invalue = GETJSAMPLE(*inptr); in h2v1_fancy_upsample()
299 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample()
339 thiscolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
340 nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
348 nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++); in h2v2_fancy_upsample()
Dwrppm.c100 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(*ptr++)); in copy_pixel_rows()
127 pixval = GETJSAMPLE(*ptr++); in put_demapped_rgb()
128 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map0[pixval])); in put_demapped_rgb()
129 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map1[pixval])); in put_demapped_rgb()
130 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map2[pixval])); in put_demapped_rgb()
149 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map[GETJSAMPLE(*ptr++)])); in put_demapped_gray()
Djquant2.c217 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
218 [GETJSAMPLE(ptr[1]) >> C1_SHIFT] in prescan_quantize()
219 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
668 x = GETJSAMPLE(cinfo->colormap[0][i]); in find_nearby_colors()
691 x = GETJSAMPLE(cinfo->colormap[1][i]); in find_nearby_colors()
713 x = GETJSAMPLE(cinfo->colormap[2][i]); in find_nearby_colors()
791 icolor = GETJSAMPLE(colorlist[i]); in find_best_colors()
793 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors()
795 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE; in find_best_colors()
797 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE; in find_best_colors()
[all …]
/external/opencv3/3rdparty/libjpeg/
Djcsample.c181 outvalue += (INT32) GETJSAMPLE(*inptr++); in int_downsample()
245 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample()
284 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample()
285 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]) in h2v2_downsample()
346 membersum = GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_smooth_downsample()
347 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[1]); in h2v2_smooth_downsample()
348 neighsum = GETJSAMPLE(*above_ptr) + GETJSAMPLE(above_ptr[1]) + in h2v2_smooth_downsample()
349 GETJSAMPLE(*below_ptr) + GETJSAMPLE(below_ptr[1]) + in h2v2_smooth_downsample()
350 GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[2]) + in h2v2_smooth_downsample()
351 GETJSAMPLE(*inptr1) + GETJSAMPLE(inptr1[2]); in h2v2_smooth_downsample()
[all …]
Djfdctint.c180 tmp0 = GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[7]);
181 tmp1 = GETJSAMPLE(elemptr[1]) + GETJSAMPLE(elemptr[6]);
182 tmp2 = GETJSAMPLE(elemptr[2]) + GETJSAMPLE(elemptr[5]);
183 tmp3 = GETJSAMPLE(elemptr[3]) + GETJSAMPLE(elemptr[4]);
190 tmp0 = GETJSAMPLE(elemptr[0]) - GETJSAMPLE(elemptr[7]);
191 tmp1 = GETJSAMPLE(elemptr[1]) - GETJSAMPLE(elemptr[6]);
192 tmp2 = GETJSAMPLE(elemptr[2]) - GETJSAMPLE(elemptr[5]);
193 tmp3 = GETJSAMPLE(elemptr[3]) - GETJSAMPLE(elemptr[4]);
352 tmp0 = GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[6]); in jpeg_fdct_7x7()
353 tmp1 = GETJSAMPLE(elemptr[1]) + GETJSAMPLE(elemptr[5]); in jpeg_fdct_7x7()
[all …]
Djfdctflt.c76 tmp0 = (FAST_FLOAT) (GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[7]));
77 tmp7 = (FAST_FLOAT) (GETJSAMPLE(elemptr[0]) - GETJSAMPLE(elemptr[7]));
78 tmp1 = (FAST_FLOAT) (GETJSAMPLE(elemptr[1]) + GETJSAMPLE(elemptr[6]));
79 tmp6 = (FAST_FLOAT) (GETJSAMPLE(elemptr[1]) - GETJSAMPLE(elemptr[6]));
80 tmp2 = (FAST_FLOAT) (GETJSAMPLE(elemptr[2]) + GETJSAMPLE(elemptr[5]));
81 tmp5 = (FAST_FLOAT) (GETJSAMPLE(elemptr[2]) - GETJSAMPLE(elemptr[5]));
82 tmp3 = (FAST_FLOAT) (GETJSAMPLE(elemptr[3]) + GETJSAMPLE(elemptr[4]));
83 tmp4 = (FAST_FLOAT) (GETJSAMPLE(elemptr[3]) - GETJSAMPLE(elemptr[4]));
Djfdctfst.c132 tmp0 = GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[7]);
133 tmp7 = GETJSAMPLE(elemptr[0]) - GETJSAMPLE(elemptr[7]);
134 tmp1 = GETJSAMPLE(elemptr[1]) + GETJSAMPLE(elemptr[6]);
135 tmp6 = GETJSAMPLE(elemptr[1]) - GETJSAMPLE(elemptr[6]);
136 tmp2 = GETJSAMPLE(elemptr[2]) + GETJSAMPLE(elemptr[5]);
137 tmp5 = GETJSAMPLE(elemptr[2]) - GETJSAMPLE(elemptr[5]);
138 tmp3 = GETJSAMPLE(elemptr[3]) + GETJSAMPLE(elemptr[4]);
139 tmp4 = GETJSAMPLE(elemptr[3]) - GETJSAMPLE(elemptr[4]);
Djdmerge.c251 cb = GETJSAMPLE(*inptr1++); in h2v1_merged_upsample()
252 cr = GETJSAMPLE(*inptr2++); in h2v1_merged_upsample()
257 y = GETJSAMPLE(*inptr0++); in h2v1_merged_upsample()
262 y = GETJSAMPLE(*inptr0++); in h2v1_merged_upsample()
270 cb = GETJSAMPLE(*inptr1); in h2v1_merged_upsample()
271 cr = GETJSAMPLE(*inptr2); in h2v1_merged_upsample()
275 y = GETJSAMPLE(*inptr0); in h2v1_merged_upsample()
315 cb = GETJSAMPLE(*inptr1++); in h2v2_merged_upsample()
316 cr = GETJSAMPLE(*inptr2++); in h2v2_merged_upsample()
321 y = GETJSAMPLE(*inptr00++); in h2v2_merged_upsample()
[all …]
Djquant1.c479 pixcode += GETJSAMPLE(colorindex[ci][GETJSAMPLE(*ptrin++)]); in color_quantize()
506 pixcode = GETJSAMPLE(colorindex0[GETJSAMPLE(*ptrin++)]); in color_quantize3()
507 pixcode += GETJSAMPLE(colorindex1[GETJSAMPLE(*ptrin++)]); in color_quantize3()
508 pixcode += GETJSAMPLE(colorindex2[GETJSAMPLE(*ptrin++)]); in color_quantize3()
552 *output_ptr += colorindex_ci[GETJSAMPLE(*input_ptr)+dither[col_index]]; in quantize_ord_dither()
595 pixcode = GETJSAMPLE(colorindex0[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
597 pixcode += GETJSAMPLE(colorindex1[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
599 pixcode += GETJSAMPLE(colorindex2[GETJSAMPLE(*input_ptr++) + in quantize3_ord_dither()
678 cur += GETJSAMPLE(*input_ptr); in quantize_fs_dither()
679 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()
[all …]
Djdcolor.c166 y = GETJSAMPLE(inptr0[col]); in ycc_rgb_convert()
167 cb = GETJSAMPLE(inptr1[col]); in ycc_rgb_convert()
168 cr = GETJSAMPLE(inptr2[col]); in ycc_rgb_convert()
232 r = GETJSAMPLE(inptr0[col]); in rgb_gray_convert()
233 g = GETJSAMPLE(inptr1[col]); in rgb_gray_convert()
234 b = GETJSAMPLE(inptr2[col]); in rgb_gray_convert()
267 r = GETJSAMPLE(inptr0[col]); in rgb1_rgb_convert()
268 g = GETJSAMPLE(inptr1[col]); in rgb1_rgb_convert()
269 b = GETJSAMPLE(inptr2[col]); in rgb1_rgb_convert()
307 r = GETJSAMPLE(inptr0[col]); in rgb1_gray_convert()
[all …]
Djccolor.c150 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_ycc_convert()
151 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_ycc_convert()
152 b = GETJSAMPLE(inptr[RGB_BLUE]); in rgb_ycc_convert()
203 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_gray_convert()
204 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_gray_convert()
205 b = GETJSAMPLE(inptr[RGB_BLUE]); in rgb_gray_convert()
245 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
246 g = MAXJSAMPLE - GETJSAMPLE(inptr[1]); in cmyk_ycck_convert()
247 b = MAXJSAMPLE - GETJSAMPLE(inptr[2]); in cmyk_ycck_convert()
297 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_rgb1_convert()
[all …]
Djquant2.c240 histp = & histogram[GETJSAMPLE(ptr[0]) >> C0_SHIFT] in prescan_quantize()
241 [GETJSAMPLE(ptr[1]) >> C1_SHIFT] in prescan_quantize()
242 [GETJSAMPLE(ptr[2]) >> C2_SHIFT]; in prescan_quantize()
690 x = GETJSAMPLE(cinfo->colormap[0][i]); in find_nearby_colors()
713 x = GETJSAMPLE(cinfo->colormap[1][i]); in find_nearby_colors()
735 x = GETJSAMPLE(cinfo->colormap[2][i]); in find_nearby_colors()
813 icolor = GETJSAMPLE(colorlist[i]); in find_best_colors()
815 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors()
817 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE; in find_best_colors()
819 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE; in find_best_colors()
[all …]

12