Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit.h91 r = (((Pixel&fmt->Rmask)>>fmt->Rshift)<<fmt->Rloss); \
172 Pixel = ((r>>fmt->Rloss)<<fmt->Rshift)| \
179 Pixel = ((r>>fmt->Rloss)<<fmt->Rshift)| \
209 *((buf)+fmt->Rshift/8) = r; \
213 *((buf)+2-fmt->Rshift/8) = r; \
244 *((buf)+fmt->Rshift/8) = r; \
248 *((buf)+2-fmt->Rshift/8) = r; \
270 r = ((Pixel&fmt->Rmask)>>fmt->Rshift)<<fmt->Rloss; \
277 r = (Pixel&fmt->Rmask)>>fmt->Rshift; \
336 Pixel = ((r>>fmt->Rloss)<<fmt->Rshift)| \
[all …]
DSDL_pixels.c57 format->Rshift = 0; in SDL_AllocFormat()
61 ++format->Rshift; in SDL_AllocFormat()
100 format->Rshift = ((bpp/3)+(bpp%3))+(bpp/3); in SDL_AllocFormat()
103 format->Rmask = ((0xFF>>format->Rloss)<<format->Rshift); in SDL_AllocFormat()
112 format->Rshift = 0; in SDL_AllocFormat()
188 r=(i&Rmask)>>format->Rshift; in SDL_AllocFormat()
345 return (r >> format->Rloss) << format->Rshift in SDL_MapRGB()
360 return (r >> format->Rloss) << format->Rshift in SDL_MapRGBA()
383 v = (pixel & fmt->Rmask) >> fmt->Rshift; in SDL_GetRGBA()
409 v = (pixel & fmt->Rmask) >> fmt->Rshift; 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()
757 Uint32 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32()
2776 if(sf->Rshift % 8 == 0 in SDL_CalculateAlphaBlit()
2837 if(sf->Rshift % 8 == 0 in SDL_CalculateAlphaBlit()
DSDL_RLEaccel.c1004 Uint8 Rshift; member
1480 r->Rshift = df->Rshift; in RLEAlphaSurface()
DSDL_blit_N.c81 ( ((r<<dstfmt->Rshift)&dstfmt->Rmask) | \
133 Uint32 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32()
/external/qemu/android/skin/
Dscaler.c156 if (dst_surface->format->Rshift != 16 || in skin_scaler_scale()
160 uint32_t rshift = dst_surface->format->Rshift; in skin_scaler_scale()
Dwindow.c398 uint32_t rshift = surface->format->Rshift; in display_redraw_rect16()
492 uint32_t rshift = surface->format->Rshift; in display_redraw_rect32()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestoverlay2.c445 format.Rshift=0; in main()
449 format.Rshift=24; in main()
454 format.Rmask=0xff<<format.Rshift; in main()
Dtestoverlay.c500 format.Rshift=0; in main()
504 format.Rshift=24; in main()
509 format.Rmask=0xff<<format.Rshift; in main()
Dtestblitspeed.c91 (int) surface->format->Rshift, in output_surface_details()
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
DSDL_pgvideo.c253 current->format->Rshift = this->hidden->shm.red_shift; in PG_SetVideoMode()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h78 Uint8 Rshift; member
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_video.c910 (color & fmt->Rmask) >> (fmt->Rshift - fmt->Rloss), in DirectFB_FillHWRect()
928 (key & fmt->Rmask) >> (fmt->Rshift - fmt->Rloss), in DirectFB_SetHWColorKey()
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
DSDL_os2fslib.c2461 pResult->format->Rshift = pModeInfoFound->PixelFormat.ucRedPosition; in os2fslib_SetVideoMode()
2736 vformat->Rshift = pDesktopMode->PixelFormat.ucRedPosition; in os2fslib_VideoInit()