Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/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()
411 v = (pixel & fmt->Gmask) >> fmt->Gshift; in SDL_GetRGB()
DSDL_blit_A.c301 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()
DSDL_RLEaccel.c1005 Uint8 Gshift; member
1481 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/android/skin/
Dscaler.c157 dst_surface->format->Gshift != 8 || in skin_scaler_scale()
161 uint32_t gshift = dst_surface->format->Gshift; in skin_scaler_scale()
Dwindow.c399 uint32_t gshift = surface->format->Gshift; in display_redraw_rect16()
493 uint32_t gshift = surface->format->Gshift; in display_redraw_rect32()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestoverlay.c501 format.Gshift=8; in main()
505 format.Gshift=16; in main()
510 format.Gmask=0xff<<format.Gshift; in main()
Dtestoverlay2.c446 format.Gshift=8; in main()
450 format.Gshift=16; in main()
455 format.Gmask=0xff<<format.Gshift; in main()
Dtestblitspeed.c95 (int) surface->format->Gshift, in output_surface_details()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h79 Uint8 Gshift; member
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
DSDL_pgvideo.c254 current->format->Gshift = this->hidden->shm.green_shift; in PG_SetVideoMode()
/external/qemu/distrib/sdl-1.2.15/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.15/src/video/os2fslib/
DSDL_os2fslib.c2464 pResult->format->Gshift = pModeInfoFound->PixelFormat.ucGreenPosition; in os2fslib_SetVideoMode()
2739 vformat->Gshift = pDesktopMode->PixelFormat.ucGreenPosition; in os2fslib_VideoInit()