/external/qemu/distrib/jpeg-6b/ |
D | jdsample.c | 195 register JSAMPLE invalue; in int_upsample() 238 register JSAMPLE invalue; in h2v1_upsample() 266 register JSAMPLE invalue; in h2v2_upsample() 318 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 319 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); 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() 330 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample() 331 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 372 *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 8) >> 4); in h2v2_fancy_upsample() [all …]
|
D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ 147 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() 165 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() 185 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row() 206 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row() 244 register JSAMPLE *rescale = source->rescale; in get_word_gray_row() 268 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row() 360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 375 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 415 source->rescale = (JSAMPLE *) in start_input_ppm() [all …]
|
D | rdtarga.c | 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 228 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 230 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 232 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
D | jccolor.c | 161 outptr0[col] = (JSAMPLE) in rgb_ycc_convert() 165 outptr1[col] = (JSAMPLE) in rgb_ycc_convert() 169 outptr2[col] = (JSAMPLE) in rgb_ycc_convert() 208 outptr0[col] = (JSAMPLE) in rgb565_ycc_convert() 212 outptr1[col] = (JSAMPLE) in rgb565_ycc_convert() 216 outptr2[col] = (JSAMPLE) in rgb565_ycc_convert() 254 outptr0[col] = (JSAMPLE) in rgba8888_ycc_convert() 258 outptr1[col] = (JSAMPLE) in rgba8888_ycc_convert() 262 outptr2[col] = (JSAMPLE) in rgba8888_ycc_convert() 303 outptr[col] = (JSAMPLE) in rgb_gray_convert() [all …]
|
D | jcsample.c | 91 register JSAMPLE pixval; in expand_right_edge() 173 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix); 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() 343 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 363 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 378 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 432 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 442 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 450 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
|
D | rdbmp.c | 90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 212 *out_ptr++ = (JSAMPLE) c; in preload_image()
|
D | jmorecfg.h | 83 typedef unsigned char JSAMPLE; typedef 88 typedef char JSAMPLE; typedef 108 typedef short JSAMPLE; typedef
|
D | jdmaster.c | 274 JSAMPLE * table; in prepare_range_limit_table() 277 table = (JSAMPLE *) in prepare_range_limit_table() 279 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 283 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 286 table[i] = (JSAMPLE) i; in prepare_range_limit_table() 293 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 295 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
|
/external/chromium_org/third_party/libjpeg_turbo/ |
D | jdsample.c | 200 register JSAMPLE invalue; in int_upsample() 243 register JSAMPLE invalue; in h2v1_upsample() 271 register JSAMPLE invalue; in h2v2_upsample() 323 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 324 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample() 329 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2); in h2v1_fancy_upsample() 330 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample() 335 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample() 336 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 377 *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 8) >> 4); in h2v2_fancy_upsample() [all …]
|
D | rdppm.c | 78 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ 148 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() 166 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() 186 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row() 207 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row() 245 register JSAMPLE *rescale = source->rescale; in get_word_gray_row() 269 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row() 361 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 376 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 416 source->rescale = (JSAMPLE *) in start_input_ppm() [all …]
|
D | rdtarga.c | 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 228 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 230 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 232 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
D | jcsample.c | 93 register JSAMPLE pixval; in expand_right_edge() 175 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix); in int_downsample() 235 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample() 274 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample() 345 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 365 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 380 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 434 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 444 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 452 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
|
D | jccolext.c | 60 outptr0[col] = (JSAMPLE) in LOCAL() 64 outptr1[col] = (JSAMPLE) in LOCAL() 68 outptr2[col] = (JSAMPLE) in LOCAL() 110 outptr[col] = (JSAMPLE) in LOCAL()
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
D | fpdfapi_jdsample.c | 196 register JSAMPLE invalue; in int_upsample() 239 register JSAMPLE invalue; in h2v1_upsample() 267 register JSAMPLE invalue; in h2v2_upsample() 319 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 320 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample() 325 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2); in h2v1_fancy_upsample() 326 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2); in h2v1_fancy_upsample() 331 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample() 332 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 373 *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 8) >> 4); in h2v2_fancy_upsample() [all …]
|
D | fpdfapi_jcsample.c | 92 register JSAMPLE pixval; in expand_right_edge() 174 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix); in int_downsample() 234 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) in h2v1_downsample() 273 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) + in h2v2_downsample() 344 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 364 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 379 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 433 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 443 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 451 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
|
D | jmorecfg.h | 62 typedef unsigned char JSAMPLE; typedef 67 typedef char JSAMPLE; typedef 87 typedef short JSAMPLE; typedef
|
D | fpdfapi_jccolor.c | 160 outptr0[col] = (JSAMPLE) in rgb_ycc_convert() 164 outptr1[col] = (JSAMPLE) in rgb_ycc_convert() 168 outptr2[col] = (JSAMPLE) in rgb_ycc_convert() 209 outptr[col] = (JSAMPLE) in rgb_gray_convert() 258 outptr0[col] = (JSAMPLE) in cmyk_ycck_convert() 262 outptr1[col] = (JSAMPLE) in cmyk_ycck_convert() 266 outptr2[col] = (JSAMPLE) in cmyk_ycck_convert()
|
D | fpdfapi_jdmaster.c | 252 JSAMPLE * table; in prepare_range_limit_table() 255 table = (JSAMPLE *) in prepare_range_limit_table() 257 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 261 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 264 table[i] = (JSAMPLE) i; in prepare_range_limit_table() 271 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table() 273 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
|
/external/jpeg/ |
D | jdsample.c | 195 register JSAMPLE invalue; in int_upsample() 238 register JSAMPLE invalue; in h2v1_upsample() 266 register JSAMPLE invalue; in h2v2_upsample() 318 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 319 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2); 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() 330 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2); in h2v1_fancy_upsample() 331 *outptr++ = (JSAMPLE) invalue; in h2v1_fancy_upsample() 372 *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 8) >> 4); in h2v2_fancy_upsample() [all …]
|
D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ 147 register JSAMPLE *rescale = source->rescale; in get_text_gray_row() 165 register JSAMPLE *rescale = source->rescale; in get_text_rgb_row() 185 register JSAMPLE *rescale = source->rescale; in get_scaled_gray_row() 206 register JSAMPLE *rescale = source->rescale; in get_scaled_rgb_row() 244 register JSAMPLE *rescale = source->rescale; in get_word_gray_row() 268 register JSAMPLE *rescale = source->rescale; in get_word_rgb_row() 360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 375 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm() 415 source->rescale = (JSAMPLE *) in start_input_ppm() [all …]
|
D | rdtarga.c | 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row() 228 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 230 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 232 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F]; in get_16bit_row() 249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row() 251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()
|
D | jcsample.c | 91 register JSAMPLE pixval; in expand_right_edge() 173 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix); 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() 343 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 363 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 378 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in h2v2_smooth_downsample() 432 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 442 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample() 450 *outptr = (JSAMPLE) ((membersum + 32768) >> 16); in fullsize_smooth_downsample()
|
D | rdbmp.c | 90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 212 *out_ptr++ = (JSAMPLE) c; in preload_image()
|
D | jmorecfg.h | 86 typedef uint8_t JSAMPLE; typedef 91 typedef char JSAMPLE; typedef 111 typedef int16_t JSAMPLE; typedef
|
/external/pdfium/core/include/thirdparties/libjpeg/ |
D | jmorecfg.h | 62 typedef unsigned char JSAMPLE; typedef 67 typedef char JSAMPLE; typedef 87 typedef short JSAMPLE; typedef
|