Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djdcolor.c104 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
105 #define TABLE_SIZE (3*(MAXJSAMPLE+1))
123 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
126 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
129 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
132 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
163 (MAXJSAMPLE+1) * SIZEOF(int)); in build_bg_ycc_rgb_table()
166 (MAXJSAMPLE+1) * SIZEOF(int)); in build_bg_ycc_rgb_table()
169 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_bg_ycc_rgb_table()
172 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_bg_ycc_rgb_table()
[all …]
A Djmorecfg.h83 #define MAXJSAMPLE 255 macro
97 #define MAXJSAMPLE 511 macro
111 #define MAXJSAMPLE 1023 macro
125 #define MAXJSAMPLE 2047 macro
139 #define MAXJSAMPLE 4095 macro
A Djccolor.c84 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */
85 #define R_CB_OFF (3*(MAXJSAMPLE+1))
86 #define G_CB_OFF (4*(MAXJSAMPLE+1))
87 #define B_CB_OFF (5*(MAXJSAMPLE+1))
89 #define G_CR_OFF (6*(MAXJSAMPLE+1))
90 #define B_CR_OFF (7*(MAXJSAMPLE+1))
91 #define TABLE_SIZE (8*(MAXJSAMPLE+1))
110 for (i = 0; i <= MAXJSAMPLE; i++) { in rgb_ycc_start()
257 r = MAXJSAMPLE - GETJSAMPLE(inptr[0]); in cmyk_ycck_convert()
258 g = MAXJSAMPLE - GETJSAMPLE(inptr[1]); in cmyk_ycck_convert()
[all …]
A Djdmerge.c94 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
97 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
100 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
103 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
105 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_ycc_rgb_table()
134 (MAXJSAMPLE+1) * SIZEOF(int)); in build_bg_ycc_rgb_table()
137 (MAXJSAMPLE+1) * SIZEOF(int)); in build_bg_ycc_rgb_table()
140 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_bg_ycc_rgb_table()
143 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_bg_ycc_rgb_table()
145 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { in build_bg_ycc_rgb_table()
A Djquant1.c255 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); in output_value()
265 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); in largest_input_value()
346 pad = MAXJSAMPLE*2; in create_colorindex()
355 (JDIMENSION) (MAXJSAMPLE+1 + pad), in create_colorindex()
368 cquantize->colorindex[i] += MAXJSAMPLE; in create_colorindex()
375 for (j = 0; j <= MAXJSAMPLE; j++) { in create_colorindex()
383 for (j = 1; j <= MAXJSAMPLE; j++) { in create_colorindex()
385 indexptr[MAXJSAMPLE+j] = indexptr[MAXJSAMPLE]; in create_colorindex()
415 * MAXJSAMPLE; in make_odither_array()
840 if (cinfo->desired_number_of_colors > (MAXJSAMPLE+1)) in jinit_1pass_quantizer()
[all …]
A 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()
A Djdmaster.c242 5 * (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
244 MEMZERO(table, 2 * (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
245 table += 2 * (MAXJSAMPLE+1); /* allow negative subscripts of table */ in prepare_range_limit_table()
248 for (i = 0; i <= MAXJSAMPLE; i++) in prepare_range_limit_table()
251 for (; i < 3 * (MAXJSAMPLE+1); i++) in prepare_range_limit_table()
252 table[i] = MAXJSAMPLE; in prepare_range_limit_table()
A Djquant2.c128 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */
553 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; in select_colors()
555 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; in select_colors()
557 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; in select_colors()
1117 ((j_common_ptr) cinfo, JPOOL_IMAGE, (MAXJSAMPLE*2+1) * SIZEOF(int)); in init_error_limit()
1118 table += MAXJSAMPLE; /* so can index -MAXJSAMPLE .. +MAXJSAMPLE */ in init_error_limit()
1121 #define STEPSIZE ((MAXJSAMPLE+1)/16) in init_error_limit()
1132 for (; in <= MAXJSAMPLE; in++) { in init_error_limit()
A Drdppm.c361 } 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()
422 source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval); in start_input_ppm()
A Djdct.h87 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
88 #define RANGE_CENTER (MAXJSAMPLE * 2 + 2)
A Djcmarker.c299 emit_2bytes(cinfo, MAXJSAMPLE); /* MAXTRANS */ in emit_lse_ict()
A Djdmarker.c668 if (tmp != MAXJSAMPLE) goto bad; /* MAXTRANS */ in get_lse()
A Dstructure.txt570 typedef something JSAMPLE; a pixel component value, 0..MAXJSAMPLE
589 The code is written in terms of MAXJSAMPLE and CENTERJSAMPLE, which will be
A Dinstall.txt453 data is automatically rescaled to maxval=MAXJSAMPLE as appropriate for the
457 format, maxval=MAXJSAMPLE, when compiled with BITS_IN_JSAMPLE>8. Since this
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Djmorecfg.h83 #define MAXJSAMPLE 255 macro
97 #define MAXJSAMPLE 511 macro
111 #define MAXJSAMPLE 1023 macro
125 #define MAXJSAMPLE 2047 macro
139 #define MAXJSAMPLE 4095 macro

Completed in 26 milliseconds