/external/libjpeg-turbo/ |
D | jdmrg565.c | 29 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local 54 r = range_limit[y + cred]; in LOCAL() 55 g = range_limit[y + cgreen]; in LOCAL() 56 b = range_limit[y + cblue]; in LOCAL() 60 r = range_limit[y + cred]; in LOCAL() 61 g = range_limit[y + cgreen]; in LOCAL() 62 b = range_limit[y + cblue]; in LOCAL() 77 r = range_limit[y + cred]; in LOCAL() 78 g = range_limit[y + cgreen]; in LOCAL() 79 b = range_limit[y + cblue]; in LOCAL() [all …]
|
D | jdmrgext.c | 35 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local 56 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL() 57 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL() 58 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL() 64 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL() 65 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL() 66 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL() 80 outptr[RGB_RED] = range_limit[y + cred]; in LOCAL() 81 outptr[RGB_GREEN] = range_limit[y + cgreen]; in LOCAL() 82 outptr[RGB_BLUE] = range_limit[y + cblue]; in LOCAL() [all …]
|
D | jdcol565.c | 30 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local 50 r = range_limit[y + Crrtab[cr]]; in LOCAL() 51 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL() 53 b = range_limit[y + Cbbtab[cb]]; in LOCAL() 63 r = range_limit[y + Crrtab[cr]]; in LOCAL() 64 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL() 66 b = range_limit[y + Cbbtab[cb]]; in LOCAL() 72 r = range_limit[y + Crrtab[cr]]; in LOCAL() 73 g = range_limit[y + ((int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in LOCAL() 75 b = range_limit[y + Cbbtab[cb]]; in LOCAL() [all …]
|
D | jidctint.c | 183 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 385 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3, 388 outptr[7] = range_limit[(int) DESCALE(tmp10 - tmp3, 391 outptr[1] = range_limit[(int) DESCALE(tmp11 + tmp2, 394 outptr[6] = range_limit[(int) DESCALE(tmp11 - tmp2, 397 outptr[2] = range_limit[(int) DESCALE(tmp12 + tmp1, 400 outptr[5] = range_limit[(int) DESCALE(tmp12 - tmp1, 403 outptr[3] = range_limit[(int) DESCALE(tmp13 + tmp0, 406 outptr[4] = range_limit[(int) DESCALE(tmp13 - tmp0, [all …]
|
D | jidctred.c | 130 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 208 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 250 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2, 253 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2, 256 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0, 259 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0, 283 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_2x2() local 341 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) in jpeg_idct_2x2() 365 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp0, in jpeg_idct_2x2() 368 outptr[1] = range_limit[(int) DESCALE(tmp10 - tmp0, in jpeg_idct_2x2() [all …]
|
D | jidctflt.c | 82 JSAMPLE *range_limit = cinfo->sample_range_limit; variable 226 outptr[0] = range_limit[((int) (tmp0 + tmp7)) & RANGE_MASK]; 227 outptr[7] = range_limit[((int) (tmp0 - tmp7)) & RANGE_MASK]; 228 outptr[1] = range_limit[((int) (tmp1 + tmp6)) & RANGE_MASK]; 229 outptr[6] = range_limit[((int) (tmp1 - tmp6)) & RANGE_MASK]; 230 outptr[2] = range_limit[((int) (tmp2 + tmp5)) & RANGE_MASK]; 231 outptr[5] = range_limit[((int) (tmp2 - tmp5)) & RANGE_MASK]; 232 outptr[3] = range_limit[((int) (tmp3 + tmp4)) & RANGE_MASK]; 233 outptr[4] = range_limit[((int) (tmp3 - tmp4)) & RANGE_MASK];
|
D | jidctfst.c | 179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) 359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) 361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
|
D | jdcolext.c | 41 register JSAMPLE * range_limit = cinfo->sample_range_limit; in LOCAL() local 59 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in LOCAL() 60 outptr[RGB_GREEN] = range_limit[y + in LOCAL() 63 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in LOCAL()
|
D | jdcolor.c | 545 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local 564 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert() 565 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert() 568 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
|
D | jquant2.c | 946 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither() local 1002 cur0 = GETJSAMPLE(range_limit[cur0]); in pass2_fs_dither() 1003 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither() 1004 cur2 = GETJSAMPLE(range_limit[cur2]); in pass2_fs_dither()
|
D | jquant1.c | 634 JSAMPLE *range_limit = cinfo->sample_range_limit; in quantize_fs_dither() local 678 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jdmerge.c | 240 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v1_merged_upsample() local 261 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 262 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 263 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() 266 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 267 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 268 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() 279 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 280 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 281 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() [all …]
|
D | fpdfapi_jidctred.c | 128 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 205 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 247 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp2, 250 outptr[3] = range_limit[(int) DESCALE(tmp10 - tmp2, 253 outptr[1] = range_limit[(int) DESCALE(tmp12 + tmp0, 256 outptr[2] = range_limit[(int) DESCALE(tmp12 - tmp0, 280 JSAMPLE *range_limit = IDCT_range_limit(cinfo); in jpeg_idct_2x2() local 337 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) in jpeg_idct_2x2() 361 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp0, in jpeg_idct_2x2() 364 outptr[1] = range_limit[(int) DESCALE(tmp10 - tmp0, in jpeg_idct_2x2() [all …]
|
D | fpdfapi_jidctfst.c | 179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) 359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) 361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
|
D | fpdfapi_jidctint.c | 159 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 291 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 360 outptr[0] = range_limit[(int) DESCALE(tmp10 + tmp3, 363 outptr[7] = range_limit[(int) DESCALE(tmp10 - tmp3, 366 outptr[1] = range_limit[(int) DESCALE(tmp11 + tmp2, 369 outptr[6] = range_limit[(int) DESCALE(tmp11 - tmp2, 372 outptr[2] = range_limit[(int) DESCALE(tmp12 + tmp1, 375 outptr[5] = range_limit[(int) DESCALE(tmp12 - tmp1, 378 outptr[3] = range_limit[(int) DESCALE(tmp13 + tmp0, 381 outptr[4] = range_limit[(int) DESCALE(tmp13 - tmp0,
|
D | fpdfapi_jdcolor.c | 131 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycc_rgb_convert() local 149 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in ycc_rgb_convert() 150 outptr[RGB_GREEN] = range_limit[y + in ycc_rgb_convert() 153 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in ycc_rgb_convert() 256 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local 275 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert() 276 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert() 279 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
|
/external/opencv3/3rdparty/libjpeg/ |
D | jdmerge.c | 237 register JSAMPLE * range_limit = cinfo->sample_range_limit; in h2v1_merged_upsample() local 258 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 259 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 260 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() 263 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 264 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 265 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() 276 outptr[RGB_RED] = range_limit[y + cred]; in h2v1_merged_upsample() 277 outptr[RGB_GREEN] = range_limit[y + cgreen]; in h2v1_merged_upsample() 278 outptr[RGB_BLUE] = range_limit[y + cblue]; in h2v1_merged_upsample() [all …]
|
D | jidctint.c | 182 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 316 JSAMPLE dcval = range_limit[(int) DESCALE((INT32) wsptr[0], PASS1_BITS+3) 387 outptr[0] = range_limit[(int) RIGHT_SHIFT(tmp10 + tmp3, 390 outptr[7] = range_limit[(int) RIGHT_SHIFT(tmp10 - tmp3, 393 outptr[1] = range_limit[(int) RIGHT_SHIFT(tmp11 + tmp2, 396 outptr[6] = range_limit[(int) RIGHT_SHIFT(tmp11 - tmp2, 399 outptr[2] = range_limit[(int) RIGHT_SHIFT(tmp12 + tmp1, 402 outptr[5] = range_limit[(int) RIGHT_SHIFT(tmp12 - tmp1, 405 outptr[3] = range_limit[(int) RIGHT_SHIFT(tmp13 + tmp0, 408 outptr[4] = range_limit[(int) RIGHT_SHIFT(tmp13 - tmp0, [all …]
|
D | jidctflt.c | 80 JSAMPLE *range_limit = cinfo->sample_range_limit; variable 222 outptr[0] = range_limit[((int) (tmp0 + tmp7)) & RANGE_MASK]; 223 outptr[7] = range_limit[((int) (tmp0 - tmp7)) & RANGE_MASK]; 224 outptr[1] = range_limit[((int) (tmp1 + tmp6)) & RANGE_MASK]; 225 outptr[6] = range_limit[((int) (tmp1 - tmp6)) & RANGE_MASK]; 226 outptr[2] = range_limit[((int) (tmp2 + tmp5)) & RANGE_MASK]; 227 outptr[5] = range_limit[((int) (tmp2 - tmp5)) & RANGE_MASK]; 228 outptr[3] = range_limit[((int) (tmp3 + tmp4)) & RANGE_MASK]; 229 outptr[4] = range_limit[((int) (tmp3 - tmp4)) & RANGE_MASK];
|
D | jidctfst.c | 179 JSAMPLE *range_limit = IDCT_range_limit(cinfo); variable 296 JSAMPLE dcval = range_limit[IDESCALE(wsptr[0], PASS1_BITS+3) 347 outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) 349 outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) 351 outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) 353 outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) 355 outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) 357 outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) 359 outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) 361 outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3)
|
D | jdcolor.c | 152 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycc_rgb_convert() local 170 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in ycc_rgb_convert() 171 outptr[RGB_GREEN] = range_limit[y + in ycc_rgb_convert() 174 outptr[RGB_BLUE] = range_limit[y + Cbbtab[cb]]; in ycc_rgb_convert() 451 register JSAMPLE * range_limit = cinfo->sample_range_limit; in ycck_cmyk_convert() local 470 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert() 471 outptr[1] = range_limit[MAXJSAMPLE - (y + /* green */ in ycck_cmyk_convert() 474 outptr[2] = range_limit[MAXJSAMPLE - (y + Cbbtab[cb])]; /* blue */ in ycck_cmyk_convert()
|
D | jquant2.c | 968 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither() local 1024 cur0 = GETJSAMPLE(range_limit[cur0]); in pass2_fs_dither() 1025 cur1 = GETJSAMPLE(range_limit[cur1]); in pass2_fs_dither() 1026 cur2 = GETJSAMPLE(range_limit[cur2]); in pass2_fs_dither()
|
D | jquant1.c | 634 JSAMPLE *range_limit = cinfo->sample_range_limit; in quantize_fs_dither() local 679 cur = GETJSAMPLE(range_limit[cur]); in quantize_fs_dither()
|