Searched refs:JSAMPLE (Results 1 - 25 of 41) sorted by relevance

12

/external/pdfium/core/include/thirdparties/libjpeg/
H A Djmorecfg.h56 /* JSAMPLE should be the smallest type that will hold the values 0..255.
62 typedef unsigned char JSAMPLE; typedef
67 typedef char JSAMPLE; typedef
83 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
87 typedef short JSAMPLE; typedef
131 * extraction code like we did for JSAMPLE. (In other words, these
/external/pdfium/core/src/fxcodec/libjpeg/
H A Djmorecfg.h56 /* JSAMPLE should be the smallest type that will hold the values 0..255.
62 typedef unsigned char JSAMPLE; typedef
67 typedef char JSAMPLE; typedef
83 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
87 typedef short JSAMPLE; typedef
131 * extraction code like we did for JSAMPLE. (In other words, these
H A Dfpdfapi_jdsample.c196 register JSAMPLE invalue;
239 register JSAMPLE invalue;
267 register JSAMPLE invalue;
319 *outptr++ = (JSAMPLE) invalue;
320 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2);
325 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2);
326 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2);
331 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2);
332 *outptr++ = (JSAMPLE) invalue;
373 *outptr++ = (JSAMPLE) ((thiscolsu
[all...]
H A Dfpdfapi_jcsample.c92 register JSAMPLE pixval;
174 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix);
234 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1])
273 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) +
344 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
364 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
379 *outptr = (JSAMPLE) ((membersum + 32768) >> 16);
433 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
443 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
451 *outptr = (JSAMPLE) ((membersu
[all...]
H A Dfpdfapi_jccolor.c160 outptr0[col] = (JSAMPLE)
164 outptr1[col] = (JSAMPLE)
168 outptr2[col] = (JSAMPLE)
209 outptr[col] = (JSAMPLE)
258 outptr0[col] = (JSAMPLE)
262 outptr1[col] = (JSAMPLE)
266 outptr2[col] = (JSAMPLE)
H A Dfpdfapi_jdmaster.c252 JSAMPLE * table;
255 table = (JSAMPLE *)
257 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
261 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
264 table[i] = (JSAMPLE) i;
271 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
273 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE));
H A Dfpdfapi_jidctred.c129 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
206 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
281 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
338 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
386 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
H A Dfpdfapi_jutils.c123 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
/external/jpeg/
H A Djdsample.c195 register JSAMPLE invalue;
238 register JSAMPLE invalue;
266 register JSAMPLE invalue;
318 *outptr++ = (JSAMPLE) invalue;
319 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2);
324 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2);
325 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2);
330 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2);
331 *outptr++ = (JSAMPLE) invalue;
372 *outptr++ = (JSAMPLE) ((thiscolsu
[all...]
H A Djmorecfg.h80 /* JSAMPLE should be the smallest type that will hold the values 0..255.
86 typedef uint8_t JSAMPLE; typedef
91 typedef char JSAMPLE; typedef
107 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
111 typedef int16_t JSAMPLE; typedef
155 * extraction code like we did for JSAMPLE. (In other words, these
H A Drdppm.c77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */
133 * In all cases, input is scaled to the size of JSAMPLE.
147 register JSAMPLE *rescale = source->rescale;
165 register JSAMPLE *rescale = source->rescale;
185 register JSAMPLE *rescale = source->rescale;
206 register JSAMPLE *rescale = source->rescale;
225 * In this case we just read right into the JSAMPLE buffer!
244 register JSAMPLE *rescale = source->rescale;
268 register JSAMPLE *rescale = source->rescale;
360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE)
[all...]
H A Djcsample.c91 register JSAMPLE pixval;
173 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix);
233 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1])
272 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) +
343 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
363 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
378 *outptr = (JSAMPLE) ((membersum + 32768) >> 16);
432 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
442 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
450 *outptr = (JSAMPLE) ((membersu
[all...]
H A Drdtarga.c111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);
228 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F];
230 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F];
232 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F];
249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
251 *ptr++ = (JSAMPLE) UC
[all...]
H A Drdcolmap.c67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
H A Djccolor.c161 outptr0[col] = (JSAMPLE)
165 outptr1[col] = (JSAMPLE)
169 outptr2[col] = (JSAMPLE)
210 outptr[col] = (JSAMPLE)
259 outptr0[col] = (JSAMPLE)
263 outptr1[col] = (JSAMPLE)
267 outptr2[col] = (JSAMPLE)
H A Djdmaster.c274 JSAMPLE * table;
277 table = (JSAMPLE *)
279 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
283 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
286 table[i] = (JSAMPLE) i;
293 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
295 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE));
H A Drdbmp.c90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
212 *out_ptr++ = (JSAMPLE) c;
H A Djidctred.c128 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
280 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
337 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
385 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
H A Djquant2.c401 * we have to shift back to JSAMPLE units to get consistent distances;
532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
647 JSAMPLE colorlist[])
768 colorlist[ncolors++] = (JSAMPLE) i;
776 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[])
787 JSAMPLE * cptr; /* pointer into bestcolor[] array */
837 *cptr = (JSAMPLE) icolo
[all...]
H A Djquant1.c314 colormap[i][ptr+k] = (JSAMPLE) val;
378 indexptr[j] = (JSAMPLE) (val * blksize);
480 *ptrout++ = (JSAMPLE) pixcode;
508 *ptrout++ = (JSAMPLE) pixcode;
534 (size_t) (width * SIZEOF(JSAMPLE)));
600 *output_ptr++ = (JSAMPLE) pixcode;
633 JSAMPLE *range_limit = cinfo->sample_range_limit;
639 (size_t) (width * SIZEOF(JSAMPLE)));
681 *output_ptr += (JSAMPLE) pixcode;
H A Djutils.c128 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
H A Drdrle.c31 * We assume that JSAMPLE has the same representation as rle_pixel,
221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
257 * We assume here that (a) rle_pixel is represented the same as JSAMPLE,
297 *scanline++ = (JSAMPLE)
H A Dexample.c61 extern JSAMPLE * image_buffer; /* Points to large array of R,G,B-order data */
92 JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */
220 * scanline-high JSAMPLE array as a work buffer, and we will let the JPEG
H A Djdcolor.c152 register JSAMPLE * range_limit = cinfo->sample_range_limit;
193 register JSAMPLE * range_limit = cinfo->sample_range_limit;
234 register JSAMPLE * range_limit = cinfo->sample_range_limit;
306 register JSAMPLE * range_limit = cinfo->sample_range_limit;
457 register JSAMPLE * range_limit = cinfo->sample_range_limit;
644 register JSAMPLE * range_limit = cinfo->sample_range_limit;
702 register JSAMPLE * range_limit = cinfo->sample_range_limit;
/external/skia/src/images/
H A DSkImageDecoder_libjpeg.cpp308 JSAMPLE* rowptr = (JSAMPLE*)buffer;
321 JSAMPLE* rowptr = (JSAMPLE*)buffer;
670 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
715 JSAMPLE* rowptr = (JSAMPLE*)srcRow;
1105 JSAMPLE* rowptr = (JSAMPLE*)bitma
[all...]

Completed in 451 milliseconds

12