Home
last modified time | relevance | path

Searched refs:Ashift (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.h100 a = ((pixel&fmt->Amask)>>fmt->Ashift)<<fmt->Aloss; \
121 ((a<<fmt->Aloss)<<fmt->Ashift); \
A DSDL_gfxPrimitives.c290 Uint32 Rshift, Gshift, Bshift, Ashift; in _putPixelAlpha() local
421 Ashift = format->Ashift; in _putPixelAlpha()
433 dA = (dc & Amask) >> Ashift; in _putPixelAlpha()
438 A = ((dA + ((((color & Amask) >> Ashift) - dA) * alpha >> 8)) << Ashift) & Amask; in _putPixelAlpha()
473 Ashift = format->Ashift; in _putPixelAlpha()
479 surfaceAlpha = ((dc & Amask) >> Ashift); in _putPixelAlpha()
599 Uint32 Rshift, Gshift, Bshift, Ashift; in _filledRectAlpha() local
747 Ashift = format->Ashift; in _filledRectAlpha()
752 sA = (color & Amask) >> Ashift; in _filledRectAlpha()
772 dA = (dc & Amask) >> Ashift; in _filledRectAlpha()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit.h310 a = SDL_expand_byte[fmt->Aloss][((Pixel&fmt->Amask)>>fmt->Ashift)]; \
317 a = (Pixel&fmt->Amask)>>fmt->Ashift; \
401 ((a>>fmt->Aloss)<<fmt->Ashift); \
A DSDL_pixels.c592 format->Ashift = 0; in SDL_InitFormat()
596 ++format->Ashift; in SDL_InitFormat()
874 | ((a >> format->Aloss) << format->Ashift & format->Amask); in SDL_MapRGBA()
915 v = (pixel & format->Amask) >> format->Ashift; in SDL_GetRGBA()
A DSDL_RLEaccel.c632 Uint8 Ashift; member
1021 #define ISOPAQUE(pixel, fmt) ((((pixel) & fmt->Amask) >> fmt->Ashift) == 255)
1024 ((unsigned)((((pixel) & fmt->Amask) >> fmt->Ashift) - 1U) < 254U)
1115 r->Ashift = df->Ashift; in RLEAlphaSurface()
A DSDL_blit_N.c103 ((a<<dstfmt->Ashift)&dstfmt->Amask) )
165 Ashift) : 0x10) << (dstfmt->Ashift); in calc_swizzle32()
2186 Uint32 mask = ((Uint32)info->a >> dstfmt->Aloss) << dstfmt->Ashift; in Blit4to4MaskAlpha()
2635 Uint32 mask = ((Uint32)info->a) << dstfmt->Ashift; in BlitNtoNKey()
3062 Uint32 mask = ((Uint32)info->a) << dstfmt->Ashift; in Blit_3or4_to_3or4__same_rgb()
3151 Uint32 alphashift = ((Uint32)src[i3]) << dstfmt->Ashift; in Blit_3or4_to_3or4__inversed_rgb()
3163 Uint32 mask = ((Uint32)info->a) << dstfmt->Ashift; in Blit_3or4_to_3or4__inversed_rgb()
A DSDL_blit_A.c340 Uint32 ashift = sf->Ashift; in BlitRGBtoRGBPixelAlphaMMX()
591 Uint32 ashift = sf->Ashift; in BlitRGBtoRGBPixelAlphaMMX3DNOW()
1388 && sf->Ashift % 8 == 0 && sf->Aloss == 0) { in SDL_CalculateBlitA()
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h342 Uint8 Ashift; member

Completed in 32 milliseconds