Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/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.c701 #define VEC_MULTIPLY_ALPHA(vs, vd, valpha, mergePermute, v1_16, v8_16) do { \ argument
703 vector unsigned short vtemp1 = vec_mule(vs, valpha); \
705 vector unsigned short vtemp2 = vec_mulo(vs, valpha); \
707 vector unsigned char valpha2 = vec_nor(valpha, valpha); \
880 vector unsigned char valpha; in Blit32to565PixelAlphaAltivec() local
909 valpha = vec_perm(vsrc1, v0, valphaPermute); in Blit32to565PixelAlphaAltivec()
910 VEC_MULTIPLY_ALPHA(vsrc1, vdst1, valpha, mergePermute, v1_16, v8_16); in Blit32to565PixelAlphaAltivec()
911 valpha = vec_perm(vsrc2, v0, valphaPermute); in Blit32to565PixelAlphaAltivec()
912 VEC_MULTIPLY_ALPHA(vsrc2, vdst2, valpha, mergePermute, v1_16, v8_16); in Blit32to565PixelAlphaAltivec()
956 vector unsigned char valpha; in Blit32to32SurfaceAlphaKeyAltivec() local
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkBlitter_RGB16.cpp396 uint16x8_t valpha, vdev; in blitMask() local
406 valpha = vaddw_u8(vdupq_n_u16(1), vld1_u8(alpha)); in blitMask()
407 valpha = vshrq_n_u16(valpha, 3); in blitMask()
408 valpha_lo = vget_low_u16(valpha); in blitMask()
409 valpha_hi = vget_high_u16(valpha); in blitMask()
/external/skia/src/core/
DSkBlitter_RGB16.cpp396 uint16x8_t valpha, vdev; in blitMask() local
406 valpha = vaddw_u8(vdupq_n_u16(1), vld1_u8(alpha)); in blitMask()
407 valpha = vshrq_n_u16(valpha, 3); in blitMask()
408 valpha_lo = vget_low_u16(valpha); in blitMask()
409 valpha_hi = vget_high_u16(valpha); in blitMask()