Home
last modified time | relevance | path

Searched refs:valpha (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_blit_N.c157 vector unsigned char valpha = vec_splat_u8(0); in Blit_RGB888_RGB565Altivec() local
213 vsrc1 = (vector unsigned int)vec_perm(vsrc, valpha, vpermute); in Blit_RGB888_RGB565Altivec()
218 vsrc2 = (vector unsigned int)vec_perm(vsrc, valpha, vpermute); in Blit_RGB888_RGB565Altivec()
260 vector unsigned char valpha; in Blit_RGB565_32Altivec() local
316 ((unsigned char *)&valpha)[0] = alpha = srcfmt->alpha; in Blit_RGB565_32Altivec()
317 valpha = vec_splat(valpha, 0); in Blit_RGB565_32Altivec()
320 valpha = vec_splat_u8(0); in Blit_RGB565_32Altivec()
364 vdst1 = (vector unsigned char)vec_perm((vector unsigned char)vR, valpha, vredalpha1); in Blit_RGB565_32Altivec()
367 vdst1 = vec_perm(vdst1, valpha, vpermute); in Blit_RGB565_32Altivec()
370 vdst2 = (vector unsigned char)vec_perm((vector unsigned char)vR, valpha, vredalpha2); in Blit_RGB565_32Altivec()
[all …]
DSDL_blit_A.c700 #define VEC_MULTIPLY_ALPHA(vs, vd, valpha, mergePermute, v1_16, v8_16) do { \ argument
702 vector unsigned short vtemp1 = vec_mule(vs, valpha); \
704 vector unsigned short vtemp2 = vec_mulo(vs, valpha); \
706 vector unsigned char valpha2 = vec_nor(valpha, valpha); \
879 vector unsigned char valpha; in Blit32to565PixelAlphaAltivec() local
908 valpha = vec_perm(vsrc1, v0, valphaPermute); in Blit32to565PixelAlphaAltivec()
909 VEC_MULTIPLY_ALPHA(vsrc1, vdst1, valpha, mergePermute, v1_16, v8_16); in Blit32to565PixelAlphaAltivec()
910 valpha = vec_perm(vsrc2, v0, valphaPermute); in Blit32to565PixelAlphaAltivec()
911 VEC_MULTIPLY_ALPHA(vsrc2, vdst2, valpha, mergePermute, v1_16, v8_16); in Blit32to565PixelAlphaAltivec()
955 vector unsigned char valpha; in Blit32to32SurfaceAlphaKeyAltivec() local
[all …]