Home
last modified time | relevance | path

Searched refs:Gshift (Results 1 – 9 of 9) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_blit.h92 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 …]
DSDL_pixels.c65 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()
DSDL_blit_A.c300 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()
DSDL_RLEaccel.c1004 Uint8 Gshift; member
1480 r->Gshift = df->Gshift; in RLEAlphaSurface()
DSDL_blit_N.c82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \
134 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_video.h71 Uint8 Gshift; member
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/
DSDL_pgvideo.c254 current->format->Gshift = this->hidden->shm.green_shift; in PG_SetVideoMode()
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/
DSDL_DirectFB_video.c911 (color & fmt->Gmask) >> (fmt->Gshift - fmt->Gloss), in DirectFB_FillHWRect()
929 (key & fmt->Gmask) >> (fmt->Gshift - fmt->Gloss), in DirectFB_SetHWColorKey()
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c2464 pResult->format->Gshift = pModeInfoFound->PixelFormat.ucGreenPosition; in os2fslib_SetVideoMode()
2739 vformat->Gshift = pDesktopMode->PixelFormat.ucGreenPosition; in os2fslib_VideoInit()