/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 | 75 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 76 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 77 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 111 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 114 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 257 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 276 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 321 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample() 350 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/opencv3/3rdparty/libjpeg/ |
D | jccolor.c | 59 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 60 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS) 61 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 62 #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() 209 >> SCALEBITS); in rgb_gray_convert() 258 >> SCALEBITS); in cmyk_ycck_convert() 262 >> SCALEBITS); in cmyk_ycck_convert() [all …]
|
D | jdmerge.c | 72 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 73 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 74 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 108 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 111 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 254 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 273 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample() 318 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample() 347 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v2_merged_upsample()
|
D | jdcolor.c | 69 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 70 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 71 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 116 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 119 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 173 SCALEBITS))]; in ycc_rgb_convert() 238 >> SCALEBITS); in rgb_gray_convert() 318 >> SCALEBITS); in rgb1_gray_convert() 473 SCALEBITS)))]; in ycck_cmyk_convert()
|
/external/libjpeg-turbo/simd/ |
D | jccolor-sse2.asm | 21 %define SCALEBITS 16 45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 46 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jccolor-mmx.asm | 24 %define SCALEBITS 16 48 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 49 PD_ONEHALF times 2 dd (1 << (SCALEBITS-1))
|
D | jccolor-sse2-64.asm | 21 %define SCALEBITS 16 45 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS-1)) - 1 + (CENTERJSAMPLE << SCALEBITS) 46 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jccolext-mmx.asm | 310 psrld mm7,SCALEBITS ; mm7=CbOL 311 psrld mm4,SCALEBITS ; mm4=CbOH 342 psrld mm5,SCALEBITS ; mm5=CbEL 343 psrld mm4,SCALEBITS ; mm4=CbEH 370 psrld mm0,SCALEBITS ; mm0=YOL 371 psrld mm4,SCALEBITS ; mm4=YOH 387 psrld mm7,SCALEBITS ; mm7=CrOL 388 psrld mm5,SCALEBITS ; mm5=CrOH 409 psrld mm6,SCALEBITS ; mm6=YEL 410 psrld mm4,SCALEBITS ; mm4=YEH [all …]
|
D | jccolext-sse2-64.asm | 324 psrld xmm7,SCALEBITS ; xmm7=CbOL 325 psrld xmm4,SCALEBITS ; xmm4=CbOH 356 psrld xmm5,SCALEBITS ; xmm5=CbEL 357 psrld xmm4,SCALEBITS ; xmm4=CbEH 384 psrld xmm0,SCALEBITS ; xmm0=YOL 385 psrld xmm4,SCALEBITS ; xmm4=YOH 401 psrld xmm7,SCALEBITS ; xmm7=CrOL 402 psrld xmm5,SCALEBITS ; xmm5=CrOH 423 psrld xmm6,SCALEBITS ; xmm6=YEL 424 psrld xmm4,SCALEBITS ; xmm4=YEH [all …]
|
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 | jcgray-sse2.asm | 21 %define SCALEBITS 16 39 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jcgray-sse2-64.asm | 21 %define SCALEBITS 16 39 PD_ONEHALF times 4 dd (1 << (SCALEBITS-1))
|
D | jcgray-mmx.asm | 24 %define SCALEBITS 16 42 PD_ONEHALF times 2 dd (1 << (SCALEBITS-1))
|
D | jdmerge-mmx.asm | 24 %define SCALEBITS 16 46 PD_ONEHALF times 2 dd 1 << (SCALEBITS-1)
|
D | jdcolor-sse2-64.asm | 24 %define SCALEBITS 16 46 PD_ONEHALF times 4 dd 1 << (SCALEBITS-1)
|
D | jdcolor-mmx.asm | 24 %define SCALEBITS 16 46 PD_ONEHALF times 2 dd 1 << (SCALEBITS-1)
|
/external/libjpeg-turbo/ |
D | jccolext.c | 62 >> SCALEBITS); in LOCAL() 66 >> SCALEBITS); in LOCAL() 70 >> SCALEBITS); in LOCAL() 112 >> SCALEBITS); in LOCAL()
|
D | jdcol565.c | 52 SCALEBITS))]; in LOCAL() 65 SCALEBITS))]; in LOCAL() 74 SCALEBITS))]; in LOCAL() 87 SCALEBITS))]; in LOCAL() 133 SCALEBITS)), d0)]; in LOCAL() 147 SCALEBITS)), d0)]; in LOCAL() 158 SCALEBITS)), d0)]; in LOCAL() 173 SCALEBITS)), d0)]; in LOCAL()
|
D | jdmrg565.c | 49 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 74 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 121 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 148 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 196 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 236 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 294 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 338 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL()
|
D | jdmrgext.c | 52 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 77 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 127 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 168 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL()
|
D | jccolor.c | 64 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 65 #define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS) 66 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 67 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 412 >> SCALEBITS); in cmyk_ycck_convert() 416 >> SCALEBITS); in cmyk_ycck_convert() 420 >> SCALEBITS); in cmyk_ycck_convert()
|
D | jdmerge.c | 77 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 78 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 79 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 214 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 217 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table()
|
D | jdcolor.c | 75 #define SCALEBITS 16 /* speediest right-shift on some machines */ macro 76 #define ONE_HALF ((INT32) 1 << (SCALEBITS-1)) 77 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) 235 RIGHT_SHIFT(FIX(1.40200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 238 RIGHT_SHIFT(FIX(1.77200) * x + ONE_HALF, SCALEBITS); in build_ycc_rgb_table() 351 >> SCALEBITS); in rgb_gray_convert() 567 SCALEBITS)))]; in ycck_cmyk_convert()
|