Searched refs:Gshift (Results 1 – 7 of 7) sorted by relevance
124 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \193 g = *((buf)+fmt->Gshift/8); \197 g = *((buf)+2-fmt->Gshift/8); \220 ((g>>fmt->Gloss)<<fmt->Gshift)| \282 *((buf)+fmt->Gshift/8) = g; \286 *((buf)+2-fmt->Gshift/8) = g; \306 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \313 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \369 g = *((buf)+fmt->Gshift/8); \373 g = *((buf)+2-fmt->Gshift/8); \[all …]
549 format->Gshift = 0; in SDL_InitFormat()553 ++format->Gshift; in SDL_InitFormat()805 | (g >> format->Gloss) << format->Gshift in SDL_MapRGB()819 | (g >> format->Gloss) << format->Gshift in SDL_MapRGBA()835 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGB()858 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGBA()
88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
383 ((g>>fmt->Gloss)<<fmt->Gshift)| \631 Uint8 Gshift; member1114 r->Gshift = df->Gshift; in RLEAlphaSurface()
258 Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()1299 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()1357 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \136 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
329 Uint8 Gshift; member