/external/libjpeg-turbo/ |
D | jcsample.c | 175 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 …]
|
D | jdcol565.c | 47 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 …]
|
D | jdmrg565.c | 46 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 …]
|
D | jdmrgext.c | 49 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 …]
|
D | jccolext.c | 50 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()
|
D | wrtarga.c | 104 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()
|
D | jcdctmgr.c | 379 *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 …]
|
D | jquant1.c | 480 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 …]
|
D | jdsample.c | 286 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()
|
D | wrppm.c | 100 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()
|
D | jquant2.c | 217 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 …]
|
D | jmorecfg.h | 51 #define GETJSAMPLE(value) ((int) (value)) macro 57 #define GETJSAMPLE(value) ((int) (value)) macro 59 #define GETJSAMPLE(value) ((int) (value) & 0xFF) macro 76 #define GETJSAMPLE(value) ((int) (value)) macro
|
D | wrbmp.c | 342 putc(GETJSAMPLE(colormap[2][i]), outfile); in write_colormap() 343 putc(GETJSAMPLE(colormap[1][i]), outfile); in write_colormap() 344 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 351 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 352 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 353 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 409 putc(GETJSAMPLE(*data_ptr), outfile); in finish_output_bmp()
|
D | jdcolext.c | 55 y = GETJSAMPLE(inptr0[col]); in LOCAL() 56 cb = GETJSAMPLE(inptr1[col]); in LOCAL() 57 cr = GETJSAMPLE(inptr2[col]); in LOCAL()
|
D | wrgif.c | 267 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); in emit_header() 268 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); in emit_header() 269 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); in emit_header() 272 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); in emit_header() 330 compress_pixel(dest, GETJSAMPLE(*ptr++)); in put_pixel_rows()
|
D | wrrle.c | 128 GETJSAMPLE(cinfo->colormap[ci][i]) << 8; in start_output_rle() 246 *red++ = GETJSAMPLE(*output_row++); in finish_output_rle() 247 *green++ = GETJSAMPLE(*output_row++); in finish_output_rle() 248 *blue++ = GETJSAMPLE(*output_row++); in finish_output_rle()
|
D | rdcolmap.c | 56 if (GETJSAMPLE(colormap0[index]) == R && in add_map_entry() 57 GETJSAMPLE(colormap1[index]) == G && in add_map_entry() 58 GETJSAMPLE(colormap2[index]) == B) in add_map_entry()
|
D | jdcolor.c | 345 r = GETJSAMPLE(inptr0[col]); in rgb_gray_convert() 346 g = GETJSAMPLE(inptr1[col]); in rgb_gray_convert() 347 b = GETJSAMPLE(inptr2[col]); in rgb_gray_convert() 560 y = GETJSAMPLE(inptr0[col]); in ycck_cmyk_convert() 561 cb = GETJSAMPLE(inptr1[col]); in ycck_cmyk_convert() 562 cr = GETJSAMPLE(inptr2[col]); in ycck_cmyk_convert()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jcsample.c | 170 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 …]
|
D | fpdfapi_jcdctmgr.c | 205 *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 …]
|
D | fpdfapi_jdmerge.c | 254 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 …]
|
D | fpdfapi_jdsample.c | 317 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()
|
D | jmorecfg.h | 63 #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
|
D | fpdfapi_jccolor.c | 149 r = GETJSAMPLE(inptr[RGB_RED]); in rgb_ycc_convert() 150 g = GETJSAMPLE(inptr[RGB_GREEN]); in rgb_ycc_convert() 151 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()
|
D | fpdfapi_jdcolor.c | 145 y = GETJSAMPLE(inptr0[col]); in ycc_rgb_convert() 146 cb = GETJSAMPLE(inptr1[col]); in ycc_rgb_convert() 147 cr = GETJSAMPLE(inptr2[col]); in ycc_rgb_convert() 271 y = GETJSAMPLE(inptr0[col]); in ycck_cmyk_convert() 272 cb = GETJSAMPLE(inptr1[col]); in ycck_cmyk_convert() 273 cr = GETJSAMPLE(inptr2[col]); in ycck_cmyk_convert()
|