Home
last modified time | relevance | path

Searched refs:MAXJSAMPLE (Results 1 – 25 of 40) sorted by relevance

12

/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jccolor.c71 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
72 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
73 #define R_CB_OFF (3*(MAXJSAMPLE+1))
74 #define G_CB_OFF (4*(MAXJSAMPLE+1))
75 #define B_CB_OFF (5*(MAXJSAMPLE+1))
77 #define G_CR_OFF (6*(MAXJSAMPLE+1))
78 #define B_CR_OFF (7*(MAXJSAMPLE+1))
79 #define TABLE_SIZE (8*(MAXJSAMPLE+1))
98 for (i = 0; i <= MAXJSAMPLE; i++) { in rgb_ycc_start()
246 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
[all …]
Dfpdfapi_jdcolor.c80 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
83 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
86 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
89 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
91 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
276 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
277 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert()
280 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
Dfpdfapi_jdmaster.c257 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
258 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */ in prepare_range_limit_table()
261 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
263 for (i = 0; i <= MAXJSAMPLE; i++) in prepare_range_limit_table()
267 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
268 table[i] = MAXJSAMPLE; in prepare_range_limit_table()
270 MEMZERO(table + (2 * (MAXJSAMPLE+1)), in prepare_range_limit_table()
271 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
272 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
Djmorecfg.h76 #define MAXJSAMPLE 255 macro
90 #define MAXJSAMPLE 4095 macro
Dfpdfapi_jdmerge.c96 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
99 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
102 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
105 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
107 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
/external/jpeg/
Djccolor.c72 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
73 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
74 #define R_CB_OFF (3*(MAXJSAMPLE+1))
75 #define G_CB_OFF (4*(MAXJSAMPLE+1))
76 #define B_CB_OFF (5*(MAXJSAMPLE+1))
78 #define G_CR_OFF (6*(MAXJSAMPLE+1))
79 #define B_CR_OFF (7*(MAXJSAMPLE+1))
80 #define TABLE_SIZE (8*(MAXJSAMPLE+1))
99 for (i = 0; i <= MAXJSAMPLE; i++) { in rgb_ycc_start()
247 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
[all …]
Djdmaster.c279 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
280 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */ in prepare_range_limit_table()
283 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
285 for (i = 0; i <= MAXJSAMPLE; i++) in prepare_range_limit_table()
289 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
290 table[i] = MAXJSAMPLE; in prepare_range_limit_table()
292 MEMZERO(table + (2 * (MAXJSAMPLE+1)), in prepare_range_limit_table()
293 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
294 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
Djquant1.c254 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); in output_value()
264 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); in largest_input_value()
345 pad = MAXJSAMPLE*2; in create_colorindex()
354 (JDIMENSION) (MAXJSAMPLE+1 + pad), in create_colorindex()
367 cquantize->colorindex[i] += MAXJSAMPLE; in create_colorindex()
374 for (j = 0; j <= MAXJSAMPLE; j++) { in create_colorindex()
382 for (j = 1; j <= MAXJSAMPLE; j++) { in create_colorindex()
384 indexptr[MAXJSAMPLE+j] = indexptr[MAXJSAMPLE]; in create_colorindex()
414 * MAXJSAMPLE; in make_odither_array()
839 if (cinfo->desired_number_of_colors > (MAXJSAMPLE+1)) in jinit_1pass_quantizer()
[all …]
Drdcolmap.c63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry()
64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); in add_map_entry()
189 if (maxval != (unsigned int) MAXJSAMPLE) in read_ppm_map()
236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3); in read_color_map()
Djmorecfg.h100 #define MAXJSAMPLE 255 macro
114 #define MAXJSAMPLE 4095 macro
/external/qemu/distrib/jpeg-6b/
Djdmaster.c279 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
280 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */ in prepare_range_limit_table()
283 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
285 for (i = 0; i <= MAXJSAMPLE; i++) in prepare_range_limit_table()
289 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
290 table[i] = MAXJSAMPLE; in prepare_range_limit_table()
292 MEMZERO(table + (2 * (MAXJSAMPLE+1)), in prepare_range_limit_table()
293 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
294 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
Djquant1.c254 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); in output_value()
264 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); in largest_input_value()
345 pad = MAXJSAMPLE*2; in create_colorindex()
354 (JDIMENSION) (MAXJSAMPLE+1 + pad), in create_colorindex()
367 cquantize->colorindex[i] += MAXJSAMPLE; in create_colorindex()
374 for (j = 0; j <= MAXJSAMPLE; j++) { in create_colorindex()
382 for (j = 1; j <= MAXJSAMPLE; j++) { in create_colorindex()
384 indexptr[MAXJSAMPLE+j] = indexptr[MAXJSAMPLE]; in create_colorindex()
414 * MAXJSAMPLE; in make_odither_array()
839 if (cinfo->desired_number_of_colors > (MAXJSAMPLE+1)) in jinit_1pass_quantizer()
[all …]
Djccolor.c72 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
73 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
74 #define R_CB_OFF (3*(MAXJSAMPLE+1))
75 #define G_CB_OFF (4*(MAXJSAMPLE+1))
76 #define B_CB_OFF (5*(MAXJSAMPLE+1))
78 #define G_CR_OFF (6*(MAXJSAMPLE+1))
79 #define B_CR_OFF (7*(MAXJSAMPLE+1))
80 #define TABLE_SIZE (8*(MAXJSAMPLE+1))
99 for (i = 0; i <= MAXJSAMPLE; i++) { in rgb_ycc_start()
340 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
[all …]
Drdcolmap.c63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry()
64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); in add_map_entry()
189 if (maxval != (unsigned int) MAXJSAMPLE) in read_ppm_map()
236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3); in read_color_map()
Djmorecfg.h97 #define MAXJSAMPLE 255 macro
111 #define MAXJSAMPLE 4095 macro
Djdcolor.c99 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
102 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
105 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
108 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
110 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
719 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
720 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert()
723 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
/external/chromium_org/third_party/libjpeg_turbo/
Djccolor.c75 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
76 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
77 #define R_CB_OFF (3*(MAXJSAMPLE+1))
78 #define G_CB_OFF (4*(MAXJSAMPLE+1))
79 #define B_CB_OFF (5*(MAXJSAMPLE+1))
81 #define G_CR_OFF (6*(MAXJSAMPLE+1))
82 #define B_CR_OFF (7*(MAXJSAMPLE+1))
83 #define TABLE_SIZE (8*(MAXJSAMPLE+1))
207 for (i = 0; i <= MAXJSAMPLE; i++) { in rgb_ycc_start()
397 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
[all …]
Djdcolor.c86 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */
87 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
88 #define TABLE_SIZE (3*(MAXJSAMPLE+1))
218 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
221 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
224 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
227 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
229 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
312 for (i = 0; i <= MAXJSAMPLE; i++) { in build_rgb_y_table()
533 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
[all …]
Djquant1.c259 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); in output_value()
269 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); in largest_input_value()
350 pad = MAXJSAMPLE*2; in create_colorindex()
359 (JDIMENSION) (MAXJSAMPLE+1 + pad), in create_colorindex()
372 cquantize->colorindex[i] += MAXJSAMPLE; in create_colorindex()
379 for (j = 0; j <= MAXJSAMPLE; j++) { in create_colorindex()
387 for (j = 1; j <= MAXJSAMPLE; j++) { in create_colorindex()
389 indexptr[MAXJSAMPLE+j] = indexptr[MAXJSAMPLE]; in create_colorindex()
419 * MAXJSAMPLE; in make_odither_array()
844 if (cinfo->desired_number_of_colors > (MAXJSAMPLE+1)) in jinit_1pass_quantizer()
[all …]
Drdcolmap.c63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry()
64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); in add_map_entry()
189 if (maxval != (unsigned int) MAXJSAMPLE) in read_ppm_map()
236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3); in read_color_map()
Djdmaster.c428 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
429 table += (MAXJSAMPLE+1); /* allow negative subscripts of simple table */ in prepare_range_limit_table()
432 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
434 for (i = 0; i <= MAXJSAMPLE; i++) in prepare_range_limit_table()
438 for (i = CENTERJSAMPLE; i < 2*(MAXJSAMPLE+1); i++) in prepare_range_limit_table()
439 table[i] = MAXJSAMPLE; in prepare_range_limit_table()
441 MEMZERO(table + (2 * (MAXJSAMPLE+1)), in prepare_range_limit_table()
442 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
443 MEMCOPY(table + (4 * (MAXJSAMPLE+1) - CENTERJSAMPLE), in prepare_range_limit_table()
Djdmerge.c198 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
201 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
204 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
207 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
209 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
Djmorecfg.h75 #define MAXJSAMPLE 255 macro
89 #define MAXJSAMPLE 4095 macro
/external/pdfium/core/include/thirdparties/libjpeg/
Djmorecfg.h76 #define MAXJSAMPLE 255 macro
90 #define MAXJSAMPLE 4095 macro
/external/chromium_org/third_party/libjpeg_turbo/simd/
Djdct.inc14 ; converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could
19 %define RANGE_MASK (MAXJSAMPLE * 4 + 3) ; 2 bits wider than legal samples

12