/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/ |
H A D | jccolor.c | 32 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 38 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2, 70 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 71 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 72 #define R_CB_OFF (3*(MAXJSAMPLE+1)) 73 #define G_CB_OFF (4*(MAXJSAMPLE+1)) 74 #define B_CB_OFF (5*(MAXJSAMPLE+1)) 76 #define G_CR_OFF (6*(MAXJSAMPLE+1)) 77 #define B_CR_OFF (7*(MAXJSAMPLE+1)) 78 #define TABLE_SIZE (8*(MAXJSAMPLE [all...] |
H A D | jdcolor.c | 40 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 84 (MAXJSAMPLE+1) * SIZEOF(int)); 87 (MAXJSAMPLE+1) * SIZEOF(int)); 90 (MAXJSAMPLE+1) * SIZEOF(JPEG_INT32)); 93 (MAXJSAMPLE+1) * SIZEOF(JPEG_INT32)); 95 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 96 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */ 280 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ 281 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ 284 outptr[2] = range_limit[MAXJSAMPLE [all...] |
H A D | jmorecfg.h | 73 #define MAXJSAMPLE 255 macro 87 #define MAXJSAMPLE 4095 macro
|
H A D | jdmaster.c | 205 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range 213 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE; 217 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from 218 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial 231 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE, 232 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), 233 * 0 (repeat 2*(MAXJSAMPLE [all...] |
H A D | jquant1.c | 66 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual. 247 /* The output values must fall in 0..MAXJSAMPLE in increasing order */ 249 /* We always provide values 0 and MAXJSAMPLE for each component; 254 return (int) (((JPEG_INT32) j * MAXJSAMPLE + maxj/2) / maxj); 261 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */ 264 return (int) (((JPEG_INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); 339 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in 340 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE). 345 pad = MAXJSAMPLE* [all...] |
H A D | jdmerge.c | 92 (MAXJSAMPLE+1) * SIZEOF(int)); 95 (MAXJSAMPLE+1) * SIZEOF(int)); 98 (MAXJSAMPLE+1) * SIZEOF(JPEG_INT32)); 101 (MAXJSAMPLE+1) * SIZEOF(JPEG_INT32)); 103 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 104 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
|
H A D | jdct.h | 69 * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could 78 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
|
H A D | jquant2.c | 127 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 552 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; 554 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; 556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; 1016 /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE. 1017 * The maximum error is +- MAXJSAMPLE (or less with error limiting); 1093 * +- MAXJSAMPLE. But we want the maximum correction applied to a pixel to be 1102 * A simple clamping of the error values to about +- MAXJSAMPLE/8 works pretty 1116 ((j_common_ptr) cinfo, JPOOL_IMAGE, (MAXJSAMPLE*2+1) * SIZEOF(int)); 1117 table += MAXJSAMPLE; /* s [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/ |
H A D | jccolor.c | 32 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 38 * Note: older versions of the IJG code used a zero offset of MAXJSAMPLE/2, 70 #define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ 71 #define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ 72 #define R_CB_OFF (3*(MAXJSAMPLE+1)) 73 #define G_CB_OFF (4*(MAXJSAMPLE+1)) 74 #define B_CB_OFF (5*(MAXJSAMPLE+1)) 76 #define G_CR_OFF (6*(MAXJSAMPLE+1)) 77 #define B_CR_OFF (7*(MAXJSAMPLE+1)) 78 #define TABLE_SIZE (8*(MAXJSAMPLE [all...] |
H A D | rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 63 if (ncolors >= (MAXJSAMPLE+1)) 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 189 if (maxval != (unsigned int) MAXJSAMPLE) 236 (JDIMENSION) (MAXJSAMPLE+1), (JDIMENSION) 3);
|
H A D | jdcolor.c | 35 * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. 79 (MAXJSAMPLE+1) * SIZEOF(int)); 82 (MAXJSAMPLE+1) * SIZEOF(int)); 85 (MAXJSAMPLE+1) * SIZEOF(INT32)); 88 (MAXJSAMPLE+1) * SIZEOF(INT32)); 90 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 91 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */ 275 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ 276 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ 279 outptr[2] = range_limit[MAXJSAMPLE [all...] |
H A D | jmorecfg.h | 74 #define MAXJSAMPLE 255 macro 88 #define MAXJSAMPLE 4095 macro
|
H A D | jquant1.c | 66 * this to 0..MAXJSAMPLE, and then index into the colorindex table as usual. 247 /* The output values must fall in 0..MAXJSAMPLE in increasing order */ 249 /* We always provide values 0 and MAXJSAMPLE for each component; 254 return (int) (((INT32) j * MAXJSAMPLE + maxj/2) / maxj); 261 /* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */ 264 return (int) (((INT32) (2*j + 1) * MAXJSAMPLE + maxj) / (2*maxj)); 339 /* For ordered dither, we pad the color index tables by MAXJSAMPLE in 340 * each direction (input index values can be -MAXJSAMPLE .. 2*MAXJSAMPLE). 345 pad = MAXJSAMPLE* [all...] |
H A D | jdmaster.c | 319 * 0..MAXJSAMPLE; the input value may fall somewhat outside this range 327 * else if (x > MAXJSAMPLE) x = MAXJSAMPLE; 331 * of x is within MAXJSAMPLE+1 of the legal range, so a table running from 332 * -(MAXJSAMPLE+1) to 2*MAXJSAMPLE+1 is sufficient. But for the initial 345 * CENTERJSAMPLE,CENTERJSAMPLE+1,...,MAXJSAMPLE, 346 * MAXJSAMPLE (repeat 2*(MAXJSAMPLE+1)-CENTERJSAMPLE times), 347 * 0 (repeat 2*(MAXJSAMPLE [all...] |
H A D | jdmerge.c | 92 (MAXJSAMPLE+1) * SIZEOF(int)); 95 (MAXJSAMPLE+1) * SIZEOF(int)); 98 (MAXJSAMPLE+1) * SIZEOF(INT32)); 101 (MAXJSAMPLE+1) * SIZEOF(INT32)); 103 for (i = 0, x = -CENTERJSAMPLE; i <= MAXJSAMPLE; i++, x++) { 104 /* i is the actual input pixel value, in the range 0..MAXJSAMPLE */
|
H A D | jquant2.c | 127 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 552 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; 554 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; 556 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; 1016 /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE. 1017 * The maximum error is +- MAXJSAMPLE (or less with error limiting); 1093 * +- MAXJSAMPLE. But we want the maximum correction applied to a pixel to be 1102 * A simple clamping of the error values to about +- MAXJSAMPLE/8 works pretty 1116 ((j_common_ptr) cinfo, JPOOL_IMAGE, (MAXJSAMPLE*2+1) * SIZEOF(int)); 1117 table += MAXJSAMPLE; /* s [all...] |
H A D | rdppm.c | 137 * maxval = MAXJSAMPLE, which is the normal case for 8-bit data. 225 /* This version is for reading raw-byte-format files with maxval = MAXJSAMPLE. 361 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { 376 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { 422 source->rescale[val] = (JSAMPLE) ((val*MAXJSAMPLE + half_maxval)/maxval);
|
H A D | jdct.h | 78 * converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could 87 #define RANGE_MASK (MAXJSAMPLE * 4 + 3) /* 2 bits wider than legal samples */
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/ |
H A D | quantize.cpp | 67 #define MAXJSAMPLE 255 macro 234 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 684 boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; 686 boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; 688 boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; 1149 /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE. 1150 * The maximum error is +- MAXJSAMPLE (or less with error limiting); 1226 * +- MAXJSAMPLE. But we want the maximum correction applied to a pixel to be 1235 * A simple clamping of the error values to about +- MAXJSAMPLE/8 works pretty 1248 table = (int *) malloc((MAXJSAMPLE* [all...] |