Home
last modified time | relevance | path

Searched refs:SCALEBITS (Results 1 – 25 of 53) sorted by relevance

123

/external/libjpeg-turbo/simd/loongson/
Djccolor-mmi.c53 _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)))
Djccolext-mmi.c355 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 …]
Djdcolor-mmi.c51 _uint64_set_pi32((int)(1 << (SCALEBITS - 1)), (int)(1 << (SCALEBITS - 1)))
Djdcolext-mmi.c188 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/
Djccolor-avx2.asm23 %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))
Djccolor-sse2.asm22 %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))
Djccolext-sse2.asm324 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 …]
Djcgray-sse2.asm22 %define SCALEBITS 16
40 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
/external/libjpeg-turbo/simd/i386/
Djccolor-avx2.asm23 %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))
Djccolor-mmx.asm23 %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))
Djccolor-sse2.asm22 %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))
Djccolext-mmx.asm311 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 …]
Djccolext-sse2.asm340 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 …]
Djcgray-sse2.asm22 %define SCALEBITS 16
40 PD_ONEHALF times 4 dd (1 << (SCALEBITS - 1))
/external/libjpeg-turbo/
Djccolext.c62 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()
Djdcol565.c53 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()
Djdmrg565.c49 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()
Djdmrgext.c52 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()
Djccolor.c65 #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()
Djdmerge.c78 #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()
Djdcolor.c76 #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/
Djdcolor-altivec.c36 #define SCALEBITS 16 macro
37 #define ONE_HALF (1 << (SCALEBITS - 1))
Djcgray-altivec.c34 #define SCALEBITS 16 macro
35 #define ONE_HALF (1 << (SCALEBITS - 1))
Djccolor-altivec.c39 #define SCALEBITS 16 macro
40 #define ONE_HALF (1 << (SCALEBITS - 1))
Djdmerge-altivec.c36 #define SCALEBITS 16 macro
37 #define ONE_HALF (1 << (SCALEBITS - 1))

123