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

1 2

  /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 270 JSAMPLE * table;
273 table = (JSAMPLE *)
275 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
279 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
282 table[i] = (JSAMPLE) i;
289 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
291 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...]
jquant1.c 314 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;
jutils.c 122 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
rdrle.c 31 * 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)
example.c 61 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
jdcolor.c 150 register JSAMPLE * range_limit = cinfo->sample_range_limit;
191 register JSAMPLE * range_limit = cinfo->sample_range_limit;
232 register JSAMPLE * range_limit = cinfo->sample_range_limit;
304 register JSAMPLE * range_limit = cinfo->sample_range_limit;
455 register JSAMPLE * range_limit = cinfo->sample_range_limit;
642 register JSAMPLE * range_limit = cinfo->sample_range_limit;
700 register JSAMPLE * range_limit = cinfo->sample_range_limit;
jdmerge.c 261 register JSAMPLE * range_limit = cinfo->sample_range_limit;
320 register JSAMPLE * range_limit = cinfo->sample_range_limit;
384 register JSAMPLE * range_limit = cinfo->sample_range_limit;
458 register JSAMPLE * range_limit = cinfo->sample_range_limit;
534 register JSAMPLE * range_limit = cinfo->sample_range_limit;
619 register JSAMPLE * range_limit = cinfo->sample_range_limit;
737 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE)));
jmemmgr.c 407 ((long) samplesperrow * SIZEOF(JSAMPLE));
426 * SIZEOF(JSAMPLE)));
601 (long) sptr->samplesperrow * SIZEOF(JSAMPLE);
603 (long) sptr->samplesperrow * SIZEOF(JSAMPLE);
651 (long) SIZEOF(JSAMPLE));
695 bytesperrow = (long) ptr->samplesperrow * SIZEOF(JSAMPLE);
820 size_t bytesperrow = (size_t) ptr->samplesperrow * SIZEOF(JSAMPLE);
    [all...]
jidctfst.c 179 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3)
jidctint.c 159 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3)
jidctflt.c 79 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
wrppm.c 56 * When JSAMPLE is the same size as char, we can just fwrite() the
240 SIZEOF(JSAMPLE) != SIZEOF(char)) {
jpeglib.h 66 typedef JSAMPLE FAR *JSAMPROW; /* ptr to one image row of pixel samples. */
593 JSAMPLE * sample_range_limit; /* table for fast range-limiting */
    [all...]
  /system/extras/tests/bionic/libc/other/
test_jpeg.c 148 JSAMPLE* temprow;
190 temprow = calloc( cinfo.num_components * cinfo.output_width, sizeof(JSAMPLE) );
195 JSAMPLE* rowptr = temprow;
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 135 JSAMPLE* rowptr = (JSAMPLE*)buffer;
295 JSAMPLE* rowptr = (JSAMPLE*)bm->getPixels();
360 JSAMPLE* rowptr = (JSAMPLE*)srcRow;
613 JSAMPROW row_pointer[1]; /* pointer to JSAMPLE row[s] */

Completed in 202 milliseconds

1 2