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

1 2 3

  /packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
genPCLm.h 28 JSAMPLE *imageBuffer, int resolution, colorSpaceDisposition, int *numCompBytes);
  /packages/apps/Gallery2/jni_jpegstream/src/
jpeg_reader.h 77 JSAMPLE* mScanlineBuf;
78 JSAMPLE* mScanlineIter;
jpeg_writer.h 73 JSAMPLE* mScanlineBuf;
74 JSAMPLE* mScanlineIter;
jpeg_writer.cpp 105 mScanlineBuf = (JSAMPLE *) (mInfo.mem->alloc_small)(
107 mScanlineBuflen * sizeof(JSAMPLE));
  /external/libjpeg-turbo/simd/
jcsample.h 15 register JSAMPLE pixval;
  /external/pdfium/third_party/libjpeg/
jmorecfg.h 56 /* JSAMPLE should be the smallest type that will hold the values 0..255.
62 typedef unsigned char JSAMPLE;
67 typedef char JSAMPLE;
83 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
87 typedef short JSAMPLE;
131 * extraction code like we did for JSAMPLE. (In other words, these
fpdfapi_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...]
fpdfapi_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...]
fpdfapi_jccolor.c 159 outptr0[col] = (JSAMPLE)
163 outptr1[col] = (JSAMPLE)
167 outptr2[col] = (JSAMPLE)
208 outptr[col] = (JSAMPLE)
257 outptr0[col] = (JSAMPLE)
261 outptr1[col] = (JSAMPLE)
265 outptr2[col] = (JSAMPLE)
fpdfapi_jdmaster.c 251 JSAMPLE * table;
254 table = (JSAMPLE *)
256 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE));
260 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE));
263 table[i] = (JSAMPLE) i;
270 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE));
272 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE));
fpdfapi_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);
fpdfapi_jutils.c 122 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
  /external/libjpeg-turbo/
jdsample.c 165 register JSAMPLE invalue;
208 register JSAMPLE invalue;
236 register JSAMPLE invalue;
288 *outptr++ = (JSAMPLE) invalue;
289 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2);
294 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2);
295 *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2);
300 *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2);
301 *outptr++ = (JSAMPLE) invalue;
340 *outptr++ = (JSAMPLE) ((thiscolsum + 1) >> 2)
    [all...]
jmorecfg.h 45 /* JSAMPLE should be the smallest type that will hold the values 0..255.
51 typedef unsigned char JSAMPLE;
56 typedef char JSAMPLE;
72 /* JSAMPLE should be the smallest type that will hold the values 0..4095.
76 typedef short JSAMPLE;
120 * extraction code like we did for JSAMPLE. (In other words, these
rdppm.c 71 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */
132 * In all cases, input is scaled to the size of JSAMPLE.
146 register JSAMPLE *rescale = source->rescale;
165 register JSAMPLE *rescale = source->rescale;
186 register JSAMPLE *rescale = source->rescale;
207 register JSAMPLE *rescale = source->rescale;
226 * In this case we just read right into the JSAMPLE buffer!
245 register JSAMPLE *rescale = source->rescale;
272 register JSAMPLE *rescale = source->rescale;
372 } else if (maxval == MAXJSAMPLE && sizeof(JSAMPLE) == sizeof(U_CHAR))
    [all...]
jccolext.c 61 outptr0[col] = (JSAMPLE)
65 outptr1[col] = (JSAMPLE)
69 outptr2[col] = (JSAMPLE)
111 outptr[col] = (JSAMPLE)
jutils.c 104 register size_t count = (size_t) (num_cols * sizeof(JSAMPLE));
jcsample.c 98 register JSAMPLE pixval;
180 *outptr++ = (JSAMPLE) ((outvalue + numpix2) / numpix);
240 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1])
279 *outptr++ = (JSAMPLE) ((GETJSAMPLE(*inptr0) + GETJSAMPLE(inptr0[1]) +
350 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
370 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
385 *outptr = (JSAMPLE) ((membersum + 32768) >> 16);
439 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
449 *outptr++ = (JSAMPLE) ((membersum + 32768) >> 16);
457 *outptr = (JSAMPLE) ((membersum + 32768) >> 16)
    [all...]
rdtarga.c 113 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
114 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
115 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);
230 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F];
232 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F];
234 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F];
251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0])
    [all...]
rdcolmap.c 68 colormap0[ncolors] = (JSAMPLE) R;
69 colormap1[ncolors] = (JSAMPLE) G;
70 colormap2[ncolors] = (JSAMPLE) B;
jidctred.c 131 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
209 JSAMPLE dcval = range_limit[(int) DESCALE((JLONG) wsptr[0], PASS1_BITS+3)
284 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
342 JSAMPLE dcval = range_limit[(int) DESCALE((JLONG) wsptr[0], PASS1_BITS+3)
390 JSAMPLE *range_limit = IDCT_range_limit(cinfo);
jquant2.c 380 * we have to shift back to JSAMPLE units to get consistent distances;
512 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
513 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
514 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
627 JSAMPLE colorlist[])
748 colorlist[ncolors++] = (JSAMPLE) i;
756 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[])
767 JSAMPLE *cptr; /* pointer into bestcolor[] array */
817 *cptr = (JSAMPLE) icolor
    [all...]
jquant1.c 317 colormap[i][ptr+k] = (JSAMPLE) val;
381 indexptr[j] = (JSAMPLE) (val * blksize);
483 *ptrout++ = (JSAMPLE) pixcode;
511 *ptrout++ = (JSAMPLE) pixcode;
536 jzero_far((void *) output_buf[row], (size_t) (width * sizeof(JSAMPLE)));
602 *output_ptr++ = (JSAMPLE) pixcode;
635 JSAMPLE *range_limit = cinfo->sample_range_limit;
640 jzero_far((void *) output_buf[row], (size_t) (width * sizeof(JSAMPLE)));
682 *output_ptr += (JSAMPLE) pixcode;
rdbmp.c 95 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
96 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
97 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
103 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
104 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
105 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
rdrle.c 34 * We assume that JSAMPLE has the same representation as rle_pixel,
224 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
225 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
226 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
260 * We assume here that rle_pixel is represented the same as JSAMPLE.
299 *scanline++ = (JSAMPLE)

Completed in 308 milliseconds

1 2 3