Searched refs:Rshift (Results 1 – 14 of 14) sorted by relevance
91 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 …]
57 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()
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()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()
1004 Uint8 Rshift; member1480 r->Rshift = df->Rshift; in RLEAlphaSurface()
81 ( ((r<<dstfmt->Rshift)&dstfmt->Rmask) | \133 Uint32 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32()
156 if (dst_surface->format->Rshift != 16 || in skin_scaler_scale()160 uint32_t rshift = dst_surface->format->Rshift; in skin_scaler_scale()
398 uint32_t rshift = surface->format->Rshift; in display_redraw_rect16()492 uint32_t rshift = surface->format->Rshift; in display_redraw_rect32()
445 format.Rshift=0; in main()449 format.Rshift=24; in main()454 format.Rmask=0xff<<format.Rshift; in main()
500 format.Rshift=0; in main()504 format.Rshift=24; in main()509 format.Rmask=0xff<<format.Rshift; in main()
91 (int) surface->format->Rshift, in output_surface_details()
253 current->format->Rshift = this->hidden->shm.red_shift; in PG_SetVideoMode()
78 Uint8 Rshift; member
910 (color & fmt->Rmask) >> (fmt->Rshift - fmt->Rloss), in DirectFB_FillHWRect()928 (key & fmt->Rmask) >> (fmt->Rshift - fmt->Rloss), in DirectFB_SetHWColorKey()
2461 pResult->format->Rshift = pModeInfoFound->PixelFormat.ucRedPosition; in os2fslib_SetVideoMode()2736 vformat->Rshift = pDesktopMode->PixelFormat.ucRedPosition; in os2fslib_VideoInit()