Searched refs:Gshift (Results 1 – 14 of 14) 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()411 v = (pixel & fmt->Gmask) >> fmt->Gshift; in SDL_GetRGB()
301 alpha = (0xff << df->Rshift) | (0xff << df->Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()527 chanmask = (0xff << df->Rshift) | (0xff << df->Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()758 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()2777 && sf->Gshift % 8 == 0 in SDL_CalculateAlphaBlit()2838 && sf->Gshift % 8 == 0 in SDL_CalculateAlphaBlit()
1005 Uint8 Gshift; member1481 r->Gshift = df->Gshift; in RLEAlphaSurface()
82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \134 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
157 dst_surface->format->Gshift != 8 || in skin_scaler_scale()161 uint32_t gshift = dst_surface->format->Gshift; in skin_scaler_scale()
399 uint32_t gshift = surface->format->Gshift; in display_redraw_rect16()493 uint32_t gshift = surface->format->Gshift; in display_redraw_rect32()
501 format.Gshift=8; in main()505 format.Gshift=16; in main()510 format.Gmask=0xff<<format.Gshift; in main()
446 format.Gshift=8; in main()450 format.Gshift=16; in main()455 format.Gmask=0xff<<format.Gshift; in main()
95 (int) surface->format->Gshift, in output_surface_details()
79 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()