Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit.h93 b = (((Pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss); \
174 ((b>>fmt->Bloss)<<fmt->Bshift) | (1<<15); \
181 ((b>>fmt->Bloss)<<fmt->Bshift); \
211 *((buf)+fmt->Bshift/8) = b; \
215 *((buf)+2-fmt->Bshift/8) = b; \
246 *((buf)+fmt->Bshift/8) = b; \
250 *((buf)+2-fmt->Bshift/8) = b; \
272 b = ((Pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss; \
279 b = (Pixel&fmt->Bmask)>>fmt->Bshift; \
338 ((b>>fmt->Bloss)<<fmt->Bshift)| \
[all …]
DSDL_pixels.c73 format->Bshift = 0; in SDL_AllocFormat()
77 ++format->Bshift; in SDL_AllocFormat()
102 format->Bshift = 0; in SDL_AllocFormat()
105 format->Bmask = ((0xFF>>format->Bloss)<<format->Bshift); in SDL_AllocFormat()
114 format->Bshift = 0; in SDL_AllocFormat()
196 b=(i&Bmask)>>format->Bshift; in SDL_AllocFormat()
347 | (b >> format->Bloss) << format->Bshift in SDL_MapRGB()
362 | (b >> format->Bloss) << format->Bshift in SDL_MapRGBA()
387 v = (pixel & fmt->Bmask) >> fmt->Bshift; in SDL_GetRGBA()
413 v = (pixel & fmt->Bmask) >> fmt->Bshift; 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()
759 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); in calc_swizzle32()
2778 && sf->Bshift % 8 == 0 in SDL_CalculateAlphaBlit()
2839 && sf->Bshift % 8 == 0 in SDL_CalculateAlphaBlit()
DSDL_RLEaccel.c1006 Uint8 Bshift; member
1482 r->Bshift = df->Bshift; in RLEAlphaSurface()
DSDL_blit_N.c83 ((b<<dstfmt->Bshift)&dstfmt->Bmask) | \
135 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); in calc_swizzle32()
/external/qemu/android/skin/
Dscaler.c158 dst_surface->format->Bshift != 0) in skin_scaler_scale()
162 uint32_t bshift = dst_surface->format->Bshift; in skin_scaler_scale()
Dwindow.c400 uint32_t bshift = surface->format->Bshift; in display_redraw_rect16()
494 uint32_t bshift = surface->format->Bshift; in display_redraw_rect32()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestoverlay.c502 format.Bshift=16; in main()
506 format.Bshift=8; in main()
511 format.Bmask=0xff<<format.Bshift; in main()
Dtestoverlay2.c447 format.Bshift=16; in main()
451 format.Bshift=8; in main()
456 format.Bmask=0xff<<format.Bshift; in main()
Dtestblitspeed.c99 (int) surface->format->Bshift, in output_surface_details()
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
DSDL_pgvideo.c255 current->format->Bshift = this->hidden->shm.blue_shift; in PG_SetVideoMode()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h80 Uint8 Bshift; member
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_video.c912 (color & fmt->Bmask) << (fmt->Bloss - fmt->Bshift), 0xFF); in DirectFB_FillHWRect()
930 (key & fmt->Bmask) << (fmt->Bloss - fmt->Bshift)); in DirectFB_SetHWColorKey()
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
DSDL_os2fslib.c2467 pResult->format->Bshift = pModeInfoFound->PixelFormat.ucBluePosition; in os2fslib_SetVideoMode()
2742 vformat->Bshift = pDesktopMode->PixelFormat.ucBluePosition; in os2fslib_VideoInit()