Home
last modified time | relevance | path

Searched refs:JSAMPLE (Results 1 – 25 of 114) sorted by relevance

12345

/external/qemu/distrib/jpeg-6b/
Djdsample.c195 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 …]
Drdppm.c77 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 …]
Drdtarga.c111 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()
Djccolor.c161 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 …]
Djcsample.c91 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()
Drdbmp.c90 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()
Djmorecfg.h83 typedef unsigned char JSAMPLE; typedef
88 typedef char JSAMPLE; typedef
108 typedef short JSAMPLE; typedef
Djdmaster.c274 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/
Djdsample.c200 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 …]
Drdppm.c78 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 …]
Drdtarga.c111 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()
Djcsample.c93 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()
Djccolext.c60 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/
Dfpdfapi_jdsample.c196 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 …]
Dfpdfapi_jcsample.c92 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()
Djmorecfg.h62 typedef unsigned char JSAMPLE; typedef
67 typedef char JSAMPLE; typedef
87 typedef short JSAMPLE; typedef
Dfpdfapi_jccolor.c160 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()
Dfpdfapi_jdmaster.c252 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/
Djdsample.c195 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 …]
Drdppm.c77 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 …]
Drdtarga.c111 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()
Djcsample.c91 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()
Drdbmp.c90 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()
Djmorecfg.h86 typedef uint8_t JSAMPLE; typedef
91 typedef char JSAMPLE; typedef
111 typedef int16_t JSAMPLE; typedef
/external/pdfium/core/include/thirdparties/libjpeg/
Djmorecfg.h62 typedef unsigned char JSAMPLE; typedef
67 typedef char JSAMPLE; typedef
87 typedef short JSAMPLE; typedef

12345