Searched refs:Ashift (Results 1 – 8 of 8) sorted by relevance
308 a = SDL_expand_byte[fmt->Aloss][((Pixel&fmt->Amask)>>fmt->Ashift)]; \315 a = (Pixel&fmt->Amask)>>fmt->Ashift; \399 ((a>>fmt->Aloss)<<fmt->Ashift); \
569 format->Ashift = 0; in SDL_InitFormat()573 ++format->Ashift; in SDL_InitFormat()821 | ((a >> format->Aloss) << format->Ashift & format->Amask); in SDL_MapRGBA()862 v = (pixel & format->Amask) >> format->Ashift; in SDL_GetRGBA()
633 Uint8 Ashift; member1022 #define ISOPAQUE(pixel, fmt) ((((pixel) & fmt->Amask) >> fmt->Ashift) == 255)1025 ((unsigned)((((pixel) & fmt->Amask) >> fmt->Ashift) - 1U) < 254U)1116 r->Ashift = df->Ashift; in RLEAlphaSurface()
338 Uint32 ashift = sf->Ashift; in BlitRGBtoRGBPixelAlphaMMX()525 Uint32 ashift = sf->Ashift; in BlitRGBtoRGBPixelAlphaMMX3DNOW()1301 && sf->Ashift % 8 == 0 && sf->Aloss == 0) { in SDL_CalculateBlitA()
84 ((a<<dstfmt->Ashift)&dstfmt->Amask) )143 Ashift) : 0x10) << (dstfmt->Ashift); in calc_swizzle32()2082 Uint32 mask = (info->a >> dstfmt->Aloss) << dstfmt->Ashift; in Blit4to4MaskAlpha()
248 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; in radeonUpdateTextureEnv() local413 Ashift = RGBshift; in radeonUpdateTextureEnv()529 alpha_combine |= (Ashift << RADEON_SCALE_SHIFT); in radeonUpdateTextureEnv()
331 Uint8 Ashift; member
262 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; in r200UpdateTextureEnv() local611 Ashift = RGBshift; in r200UpdateTextureEnv()618 alpha_scale |= (Ashift << R200_TXA_SCALE_SHIFT); in r200UpdateTextureEnv()