Searched refs:Gshift (Results 1 – 9 of 9) sorted by relevance
126 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \195 g = *((buf)+fmt->Gshift/8); \199 g = *((buf)+2-fmt->Gshift/8); \222 ((g>>fmt->Gloss)<<fmt->Gshift)| \284 *((buf)+fmt->Gshift/8) = g; \288 *((buf)+2-fmt->Gshift/8) = g; \308 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \315 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \371 g = *((buf)+fmt->Gshift/8); \375 g = *((buf)+2-fmt->Gshift/8); \[all …]
572 format->Gshift = 0; in SDL_InitFormat()576 ++format->Gshift; in SDL_InitFormat()858 | (g >> format->Gloss) << format->Gshift in SDL_MapRGB()872 | (g >> format->Gloss) << format->Gshift in SDL_MapRGBA()888 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGB()911 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGBA()
88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
382 ((g>>fmt->Gloss)<<fmt->Gshift)| \630 Uint8 Gshift; member1113 r->Gshift = df->Gshift; in RLEAlphaSurface()
260 Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()1386 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()1457 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
101 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \158 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
98 g = ((pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \119 ((g>>fmt->Gloss)<<fmt->Gshift)| \
371 Gshift = format->Gshift; in _putPixelAlpha()375 Gshift8 = Gshift >> 3; in _putPixelAlpha()419 Gshift = format->Gshift; in _putPixelAlpha()429 G = ((dG + ((((color & Gmask) >> Gshift) - dG) * alpha >> 8)) << Gshift) & Gmask; in _putPixelAlpha()471 Gshift = format->Gshift; in _putPixelAlpha()484 G = (preMultG + ((aTmp * ((dc & Gmask) >> Gshift)) >> 8)) / A << Gshift & Gmask; in _putPixelAlpha()695 Gshift = format->Gshift; in _filledRectAlpha()699 Gshift8 = Gshift >> 3; in _filledRectAlpha()745 Gshift = format->Gshift; in _filledRectAlpha()806 Gshift = format->Gshift; in _filledRectAlpha()[all …]
340 Uint8 Gshift; member
Completed in 29 milliseconds