/external/syslinux/com32/lib/jpeg/ |
D | bgr24.c | 79 #define SCALEBITS 10 in YCrCB_to_BGR24_1x1() macro 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGR24_1x1() 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5)) in YCrCB_to_BGR24_1x1() 95 y = Y[0] << SCALEBITS; in YCrCB_to_BGR24_1x1() 102 b = (y + add_b) >> SCALEBITS; in YCrCB_to_BGR24_1x1() 104 g = (y + add_g) >> SCALEBITS; in YCrCB_to_BGR24_1x1() 106 r = (y + add_r) >> SCALEBITS; in YCrCB_to_BGR24_1x1() 115 #undef SCALEBITS in YCrCB_to_BGR24_1x1() 135 #define SCALEBITS 10 in YCrCB_to_BGR24_2x1() macro 136 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGR24_2x1() [all …]
|
D | rgb24.c | 79 #define SCALEBITS 10 in YCrCB_to_RGB24_1x1() macro 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGB24_1x1() 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5)) in YCrCB_to_RGB24_1x1() 94 y = Y[0] << SCALEBITS; in YCrCB_to_RGB24_1x1() 101 r = (y + add_r) >> SCALEBITS; in YCrCB_to_RGB24_1x1() 103 g = (y + add_g) >> SCALEBITS; in YCrCB_to_RGB24_1x1() 105 b = (y + add_b) >> SCALEBITS; in YCrCB_to_RGB24_1x1() 114 #undef SCALEBITS in YCrCB_to_RGB24_1x1() 133 #define SCALEBITS 10 in YCrCB_to_RGB24_2x1() macro 134 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGB24_2x1() [all …]
|
D | rgba32.c | 79 #define SCALEBITS 10 in YCrCB_to_RGBA32_1x1() macro 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGBA32_1x1() 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5)) in YCrCB_to_RGBA32_1x1() 95 y = Y[0] << SCALEBITS; in YCrCB_to_RGBA32_1x1() 102 r = (y + add_r) >> SCALEBITS; in YCrCB_to_RGBA32_1x1() 104 g = (y + add_g) >> SCALEBITS; in YCrCB_to_RGBA32_1x1() 106 b = (y + add_b) >> SCALEBITS; in YCrCB_to_RGBA32_1x1() 117 #undef SCALEBITS in YCrCB_to_RGBA32_1x1() 136 #define SCALEBITS 10 in YCrCB_to_RGBA32_2x1() macro 137 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_RGBA32_2x1() [all …]
|
D | bgra32.c | 79 #define SCALEBITS 10 in YCrCB_to_BGRA32_1x1() macro 80 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGRA32_1x1() 81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5)) in YCrCB_to_BGRA32_1x1() 95 y = Y[0] << SCALEBITS; in YCrCB_to_BGRA32_1x1() 102 b = (y + add_b) >> SCALEBITS; in YCrCB_to_BGRA32_1x1() 104 g = (y + add_g) >> SCALEBITS; in YCrCB_to_BGRA32_1x1() 106 r = (y + add_r) >> SCALEBITS; in YCrCB_to_BGRA32_1x1() 117 #undef SCALEBITS in YCrCB_to_BGRA32_1x1() 137 #define SCALEBITS 10 in YCrCB_to_BGRA32_2x1() macro 138 #define ONE_HALF (1UL << (SCALEBITS-1)) in YCrCB_to_BGRA32_2x1() [all …]
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jccolor.c | 58 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 59 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS) 60 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 61 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 161 >> SCALEBITS); in rgb_ycc_convert() 165 >> SCALEBITS); in rgb_ycc_convert() 169 >> SCALEBITS); in rgb_ycc_convert() 210 >> SCALEBITS); in rgb_gray_convert() 259 >> SCALEBITS); in cmyk_ycck_convert() 263 >> SCALEBITS); in cmyk_ycck_convert() [all …]
|
D | fpdfapi_jdmerge.c | 71 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 72 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 73 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 107 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 110 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 253 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 272 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 317 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample() 346 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
|
D | fpdfapi_jdcolor.c | 60 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 61 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 95 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 98 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 152 SCALEBITS))]; in ycc_rgb_convert() 278 SCALEBITS)))]; in ycck_cmyk_convert()
|
/external/libjpeg-turbo/simd/ |
D | jccolor-sse2-64.asm | 22 %define SCALEBITS 16 46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 47 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jccolor-sse2.asm | 22 %define SCALEBITS 16 46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 47 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jccolor-mmx.asm | 23 %define SCALEBITS 16 47 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 48 PD_ONEHALF times 2 dd (1 << (SCALEBITS-1))
|
D | jccolext-mmx.asm | 309 psrld mm7,SCALEBITS ; mm7=CbOL 310 psrld mm4,SCALEBITS ; mm4=CbOH 341 psrld mm5,SCALEBITS ; mm5=CbEL 342 psrld mm4,SCALEBITS ; mm4=CbEH 369 psrld mm0,SCALEBITS ; mm0=YOL 370 psrld mm4,SCALEBITS ; mm4=YOH 386 psrld mm7,SCALEBITS ; mm7=CrOL 387 psrld mm5,SCALEBITS ; mm5=CrOH 408 psrld mm6,SCALEBITS ; mm6=YEL 409 psrld mm4,SCALEBITS ; mm4=YEH [all …]
|
D | jccolext-sse2-64.asm | 325 psrld xmm7,SCALEBITS ; xmm7=CbOL 326 psrld xmm4,SCALEBITS ; xmm4=CbOH 357 psrld xmm5,SCALEBITS ; xmm5=CbEL 358 psrld xmm4,SCALEBITS ; xmm4=CbEH 385 psrld xmm0,SCALEBITS ; xmm0=YOL 386 psrld xmm4,SCALEBITS ; xmm4=YOH 402 psrld xmm7,SCALEBITS ; xmm7=CrOL 403 psrld xmm5,SCALEBITS ; xmm5=CrOH 424 psrld xmm6,SCALEBITS ; xmm6=YEL 425 psrld xmm4,SCALEBITS ; xmm4=YEH [all …]
|
D | jdcolor-altivec.c | 36 #define SCALEBITS 16 macro 37 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jccolext-sse2.asm | 338 psrld xmm7,SCALEBITS ; xmm7=CbOL 339 psrld xmm4,SCALEBITS ; xmm4=CbOH 370 psrld xmm5,SCALEBITS ; xmm5=CbEL 371 psrld xmm4,SCALEBITS ; xmm4=CbEH 398 psrld xmm0,SCALEBITS ; xmm0=YOL 399 psrld xmm4,SCALEBITS ; xmm4=YOH 415 psrld xmm7,SCALEBITS ; xmm7=CrOL 416 psrld xmm5,SCALEBITS ; xmm5=CrOH 437 psrld xmm6,SCALEBITS ; xmm6=YEL 438 psrld xmm4,SCALEBITS ; xmm4=YEH [all …]
|
D | jccolor-altivec.c | 39 #define SCALEBITS 16 macro 40 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jcgray-altivec.c | 34 #define SCALEBITS 16 macro 35 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jdmerge-altivec.c | 36 #define SCALEBITS 16 macro 37 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jcgray-sse2.asm | 22 %define SCALEBITS 16 40 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
/external/libjpeg-turbo/ |
D | jccolext.c | 63 >> SCALEBITS); in LOCAL() 67 >> SCALEBITS); in LOCAL() 71 >> SCALEBITS); in LOCAL() 113 >> SCALEBITS); in LOCAL()
|
D | jdcol565.c | 53 SCALEBITS))]; in LOCAL() 66 SCALEBITS))]; in LOCAL() 75 SCALEBITS))]; in LOCAL() 88 SCALEBITS))]; in LOCAL() 134 SCALEBITS)), d0)]; in LOCAL() 148 SCALEBITS)), d0)]; in LOCAL() 159 SCALEBITS)), d0)]; in LOCAL() 174 SCALEBITS)), d0)]; in LOCAL()
|
D | jdmrg565.c | 50 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 75 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 122 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 149 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 197 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 237 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 295 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 339 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL()
|
D | jdmrgext.c | 53 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 78 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 128 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 169 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL()
|
D | jccolor.c | 65 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 66 #define CBCR_OFFSET ((JLONG) CENTERJSAMPLE << SCALEBITS) 67 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) 68 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5)) 413 >> SCALEBITS); in cmyk_ycck_convert() 417 >> SCALEBITS); in cmyk_ycck_convert() 421 >> SCALEBITS); in cmyk_ycck_convert()
|
D | jdmerge.c | 78 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 79 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) 80 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5)) 215 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 218 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
|
D | jdcolor.c | 76 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 77 #define ONE_HALF ((JLONG) 1 << (SCALEBITS-1)) 78 #define FIX(x) ((JLONG) ((x) * (1L<<SCALEBITS) + 0.5)) 236 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 239 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 352 >> SCALEBITS); in rgb_gray_convert() 568 SCALEBITS)))]; in ycck_cmyk_convert()
|