/external/libjpeg-turbo/simd/ |
H A D | jcsample.h | 15 register JSAMPLE pixval;
|
H A D | jsimd.h | 586 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 589 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 592 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 595 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 598 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 601 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 604 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 608 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 611 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* range); 614 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf, JSAMPLE* rang [all...] |
/external/pdfium/third_party/libjpeg/ |
H A D | jmorecfg.h | 56 /* 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 D | 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) ((thiscolsu [all...] |
H A D | 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) ((membersu [all...] |
H A D | 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)
|
H A D | 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));
|
H A D | 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);
|
H A D | fpdfapi_jutils.c | 122 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
|
/external/libjpeg-turbo/ |
H A D | 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) ((thiscolsu [all...] |
H A D | jmorecfg.h | 45 /* JSAMPLE should be the smallest type that will hold the values 0..255. 51 typedef unsigned char JSAMPLE; typedef 56 typedef char JSAMPLE; typedef 72 /* JSAMPLE should be the smallest type that will hold the values 0..4095. 76 typedef short JSAMPLE; typedef 120 * extraction code like we did for JSAMPLE. (In other words, these
|
H A D | 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) [all...] |
H A D | jccolext.c | 61 outptr0[col] = (JSAMPLE) 65 outptr1[col] = (JSAMPLE) 69 outptr2[col] = (JSAMPLE) 111 outptr[col] = (JSAMPLE)
|
H A D | jutils.c | 104 register size_t count = (size_t) (num_cols * sizeof(JSAMPLE));
|
H A D | 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) ((membersu [all...] |
H A D | 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) UC [all...] |
H A D | rdcolmap.c | 68 colormap0[ncolors] = (JSAMPLE) R; 69 colormap1[ncolors] = (JSAMPLE) G; 70 colormap2[ncolors] = (JSAMPLE) B;
|
H A D | 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);
|
H A D | 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) icolo [all...] |
H A D | 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;
|
H A D | 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);
|
H A D | 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)
|
H A D | jdmaster.c | 423 JSAMPLE *table; 426 table = (JSAMPLE *) 428 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * sizeof(JSAMPLE)); 432 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * sizeof(JSAMPLE)); 435 table[i] = (JSAMPLE) i; 442 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * sizeof(JSAMPLE)); 444 cinfo->sample_range_limit, CENTERJSAMPLE * sizeof(JSAMPLE));
|
/external/skia/src/images/ |
H A D | SkJPEGImageEncoder.cpp | 161 JSAMPLE* jpegSrcRow = (JSAMPLE*) srcRow;
|
/external/skia/src/codec/ |
H A D | SkJpegCodec.cpp | 500 JSAMPLE* decodeDst = (JSAMPLE*) dst; 506 decodeDst = (JSAMPLE*) fSwizzleSrcRow; 512 decodeDst = (JSAMPLE*) fColorXformSrcRow; 517 decodeDst = (JSAMPLE*) fSwizzleSrcRow; 541 decodeDst = SkTAddOffset<JSAMPLE>(decodeDst, decodeDstRowBytes); 895 // JSAMPIMAGE == JSAMPLEARRAY* == JSAMPROW** == JSAMPLE*** 907 rowptrs[i] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kY], 911 rowptrs[i + 2 * DCTSIZE] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kU], 913 rowptrs[i + 3 * DCTSIZE] = SkTAddOffset<JSAMPLE>(plane [all...] |