/external/libjpeg-turbo/simd/loongson/ |
D | jccolor-mmi.c | 53 _uint64_set_pi32((int)(1 << (SCALEBITS - 1)), (int)(1 << (SCALEBITS - 1))), 58 _uint64_set_pi32(((1 << (SCALEBITS - 1)) - 1 + (CENTERJSAMPLE << SCALEBITS)), 59 ((1 << (SCALEBITS - 1)) - 1 + (CENTERJSAMPLE << SCALEBITS)))
|
D | jccolext-mmi.c | 355 mm7 = _mm_srli_pi32(mm7, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 356 mm4 = _mm_srli_pi32(mm4, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 382 mm5 = _mm_srli_pi32(mm5, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 383 mm4 = _mm_srli_pi32(mm4, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 409 mm0 = _mm_srli_pi32(mm0, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 410 mm4 = _mm_srli_pi32(mm4, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 423 mm7 = _mm_srli_pi32(mm7, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 424 mm5 = _mm_srli_pi32(mm5, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 443 mm6 = _mm_srli_pi32(mm6, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() 444 mm4 = _mm_srli_pi32(mm4, SCALEBITS); in jsimd_rgb_ycc_convert_mmi() [all …]
|
D | jdcolor-mmi.c | 51 _uint64_set_pi32((int)(1 << (SCALEBITS - 1)), (int)(1 << (SCALEBITS - 1)))
|
D | jdcolext-mmi.c | 188 mm2 = _mm_srai_pi32(mm2, SCALEBITS); in jsimd_ycc_rgb_convert_mmi() 189 mm4 = _mm_srai_pi32(mm4, SCALEBITS); in jsimd_ycc_rgb_convert_mmi() 192 mm3 = _mm_srai_pi32(mm3, SCALEBITS); in jsimd_ycc_rgb_convert_mmi() 193 mm5 = _mm_srai_pi32(mm5, SCALEBITS); in jsimd_ycc_rgb_convert_mmi()
|
/external/libjpeg-turbo/simd/x86_64/ |
D | jccolor-avx2.asm | 23 %define SCALEBITS 16 47 PD_ONEHALFM1_CJ times 8 dd (1 << (SCALEBITS - 1)) - 1 + \ 48 (CENTERJSAMPLE << SCALEBITS) 49 PD_ONEHALF times 8 dd (1 << (SCALEBITS - 1))
|
D | jccolor-sse2.asm | 22 %define SCALEBITS 16 46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS - 1)) - 1 + \ 47 (CENTERJSAMPLE << SCALEBITS) 48 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
|
D | jccolext-sse2.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 | jcgray-sse2.asm | 22 %define SCALEBITS 16 40 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
|
/external/libjpeg-turbo/simd/i386/ |
D | jccolor-avx2.asm | 23 %define SCALEBITS 16 47 PD_ONEHALFM1_CJ times 8 dd (1 << (SCALEBITS - 1)) - 1 + \ 48 (CENTERJSAMPLE << SCALEBITS) 49 PD_ONEHALF times 8 dd (1 << (SCALEBITS - 1))
|
D | jccolor-mmx.asm | 23 %define SCALEBITS 16 47 PD_ONEHALFM1_CJ times 2 dd (1 << (SCALEBITS - 1)) - 1 + \ 48 (CENTERJSAMPLE << SCALEBITS) 49 PD_ONEHALF times 2 dd (1 << (SCALEBITS - 1))
|
D | jccolor-sse2.asm | 22 %define SCALEBITS 16 46 PD_ONEHALFM1_CJ times 4 dd (1 << (SCALEBITS - 1)) - 1 + \ 47 (CENTERJSAMPLE << SCALEBITS) 48 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
|
D | jccolext-mmx.asm | 311 psrld mm7, SCALEBITS ; mm7=CbOL 312 psrld mm4, SCALEBITS ; mm4=CbOH 343 psrld mm5, SCALEBITS ; mm5=CbEL 344 psrld mm4, SCALEBITS ; mm4=CbEH 371 psrld mm0, SCALEBITS ; mm0=YOL 372 psrld mm4, SCALEBITS ; mm4=YOH 388 psrld mm7, SCALEBITS ; mm7=CrOL 389 psrld mm5, SCALEBITS ; mm5=CrOH 410 psrld mm6, SCALEBITS ; mm6=YEL 411 psrld mm4, SCALEBITS ; mm4=YEH [all …]
|
D | jccolext-sse2.asm | 340 psrld xmm7, SCALEBITS ; xmm7=CbOL 341 psrld xmm4, SCALEBITS ; xmm4=CbOH 372 psrld xmm5, SCALEBITS ; xmm5=CbEL 373 psrld xmm4, SCALEBITS ; xmm4=CbEH 400 psrld xmm0, SCALEBITS ; xmm0=YOL 401 psrld xmm4, SCALEBITS ; xmm4=YOH 417 psrld xmm7, SCALEBITS ; xmm7=CrOL 418 psrld xmm5, SCALEBITS ; xmm5=CrOH 439 psrld xmm6, SCALEBITS ; xmm6=YEL 440 psrld xmm4, SCALEBITS ; xmm4=YEH [all …]
|
D | jcgray-sse2.asm | 22 %define SCALEBITS 16 40 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
|
/external/libjpeg-turbo/ |
D | jccolext.c | 62 ctab[b + B_Y_OFF]) >> SCALEBITS); in LOCAL() 65 ctab[b + B_CB_OFF]) >> SCALEBITS); in LOCAL() 68 ctab[b + B_CR_OFF]) >> SCALEBITS); in LOCAL() 109 ctab[b + B_Y_OFF]) >> 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 | 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() 195 cgreen = (int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 235 cgreen = (int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 293 cgreen = (int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 337 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() 126 cgreen = (int)RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in LOCAL() 167 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)) 408 ctab[b + B_Y_OFF]) >> SCALEBITS); in cmyk_ycck_convert() 411 ctab[b + B_CB_OFF]) >> SCALEBITS); in cmyk_ycck_convert() 414 ctab[b + B_CR_OFF]) >> 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() 349 ctab[b + B_Y_OFF]) >> SCALEBITS); in rgb_gray_convert() 560 SCALEBITS)))]; in ycck_cmyk_convert()
|
/external/libjpeg-turbo/simd/powerpc/ |
D | jdcolor-altivec.c | 36 #define SCALEBITS 16 macro 37 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jcgray-altivec.c | 34 #define SCALEBITS 16 macro 35 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jccolor-altivec.c | 39 #define SCALEBITS 16 macro 40 #define ONE_HALF (1 << (SCALEBITS - 1))
|
D | jdmerge-altivec.c | 36 #define SCALEBITS 16 macro 37 #define ONE_HALF (1 << (SCALEBITS - 1))
|