Searched refs:Gshift (Results 1 – 9 of 9) sorted by relevance
92 g = (((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss); \173 ((g>>fmt->Gloss)<<fmt->Gshift)| \180 ((g>>fmt->Gloss)<<fmt->Gshift)| \210 *((buf)+fmt->Gshift/8) = g; \214 *((buf)+2-fmt->Gshift/8) = g; \245 *((buf)+fmt->Gshift/8) = g; \249 *((buf)+2-fmt->Gshift/8) = g; \271 g = ((Pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \278 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \337 ((g>>fmt->Gloss)<<fmt->Gshift)| \[all …]
65 format->Gshift = 0; in SDL_AllocFormat()69 ++format->Gshift; in SDL_AllocFormat()101 format->Gshift = (bpp/3); in SDL_AllocFormat()104 format->Gmask = ((0xFF>>format->Gloss)<<format->Gshift); in SDL_AllocFormat()113 format->Gshift = 0; in SDL_AllocFormat()192 g=(i&Gmask)>>format->Gshift; in SDL_AllocFormat()346 | (g >> format->Gloss) << format->Gshift in SDL_MapRGB()361 | (g >> format->Gloss) << format->Gshift in SDL_MapRGBA()385 v = (pixel & fmt->Gmask) >> fmt->Gshift; in SDL_GetRGBA()410 v = (pixel & fmt->Gmask) >> fmt->Gshift; in SDL_GetRGB()
300 alpha = (0xff << df->Rshift) | (0xff << df->Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()526 chanmask = (0xff << df->Rshift) | (0xff << df->Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()757 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()2776 && sf->Gshift % 8 == 0 in SDL_CalculateAlphaBlit()2837 && sf->Gshift % 8 == 0 in SDL_CalculateAlphaBlit()
1004 Uint8 Gshift; member1480 r->Gshift = df->Gshift; in RLEAlphaSurface()
82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \134 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
71 Uint8 Gshift; member
254 current->format->Gshift = this->hidden->shm.green_shift; in PG_SetVideoMode()
911 (color & fmt->Gmask) >> (fmt->Gshift - fmt->Gloss), in DirectFB_FillHWRect()929 (key & fmt->Gmask) >> (fmt->Gshift - fmt->Gloss), in DirectFB_SetHWColorKey()
2464 pResult->format->Gshift = pModeInfoFound->PixelFormat.ucGreenPosition; in os2fslib_SetVideoMode()2739 vformat->Gshift = pDesktopMode->PixelFormat.ucGreenPosition; in os2fslib_VideoInit()