HomeSort by relevance Sort by last modified time
    Searched refs:JSAMPLE (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/image-encoders/
JPEGImageEncoder.cpp 109 Vector<JSAMPLE, 600 * 3> rowBuffer;
120 JSAMPLE* output = rowBuffer.data();
122 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // red
123 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // green
124 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // blue
  /external/jpeg/
jdsample.c 195 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) ((thiscolsum * 4 + 8) >> 4)
    [all...]
jmorecfg.h 75 /* JSAMPLE should be the smallest type that will hold the values 0..255.
81 typedef unsigned char JSAMPLE;
86 typedef char JSAMPLE;
102 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
106 typedef short JSAMPLE;
150 * extraction code like we did for JSAMPLE. (In other words, these
rdppm.c 77 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) == SIZEOF(U_CHAR))
    [all...]
jcsample.c 91 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) ((membersum + 32768) >> 16)
    [all...]
rdtarga.c 111 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) UCH(source->tga_pixel[0])
    [all...]
rdcolmap.c 67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
jccolor.c 161 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)
jdmaster.c 274 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));
rdbmp.c 90 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;
jidctred.c 128 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);
jquant2.c 401 * 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) icolor
    [all...]
  /external/qemu/distrib/jpeg-6b/
jdsample.c 195 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) ((thiscolsum * 4 + 8) >> 4)
    [all...]
jmorecfg.h 77 /* JSAMPLE should be the smallest type that will hold the values 0..255.
83 typedef unsigned char JSAMPLE;
88 typedef char JSAMPLE;
104 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
108 typedef short JSAMPLE;
152 * extraction code like we did for JSAMPLE. (In other words, these
rdppm.c 77 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) == SIZEOF(U_CHAR))
    [all...]
jcsample.c 91 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) ((membersum + 32768) >> 16)
    [all...]
rdtarga.c 111 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) UCH(source->tga_pixel[0])
    [all...]
jccolor.c 161 outptr0[col] = (JSAMPLE)
165 outptr1[col] = (JSAMPLE)
169 outptr2[col] = (JSAMPLE)
208 outptr0[col] = (JSAMPLE)
212 outptr1[col] = (JSAMPLE)
216 outptr2[col] = (JSAMPLE)
254 outptr0[col] = (JSAMPLE)
258 outptr1[col] = (JSAMPLE)
262 outptr2[col] = (JSAMPLE)
303 outptr[col] = (JSAMPLE)
    [all...]
rdcolmap.c 67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
jdmaster.c 274 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));
rdbmp.c 90 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;
jidctred.c 128 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);
jquant2.c 401 * 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) icolor
    [all...]
  /external/skia/legacy/src/images/
SkImageDecoder_libjpeg.cpp 158 JSAMPLE* rowptr = (JSAMPLE*)buffer;
171 JSAMPLE* rowptr = (JSAMPLE*)buffer;
324 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
346 rowptr = (JSAMPLE*)bm->getPixels();
390 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
428 JSAMPLE* rowptr = (JSAMPLE*)srcRow
    [all...]
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 158 JSAMPLE* rowptr = (JSAMPLE*)buffer;
171 JSAMPLE* rowptr = (JSAMPLE*)buffer;
354 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
376 rowptr = (JSAMPLE*)bm->getPixels();
423 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
462 JSAMPLE* rowptr = (JSAMPLE*)srcRow
    [all...]

Completed in 1963 milliseconds

1 2 3