Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit.h124 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
193 g = *((buf)+fmt->Gshift/8); \
197 g = *((buf)+2-fmt->Gshift/8); \
220 ((g>>fmt->Gloss)<<fmt->Gshift)| \
282 *((buf)+fmt->Gshift/8) = g; \
286 *((buf)+2-fmt->Gshift/8) = g; \
306 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
313 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \
369 g = *((buf)+fmt->Gshift/8); \
373 g = *((buf)+2-fmt->Gshift/8); \
[all …]
DSDL_pixels.c549 format->Gshift = 0; in SDL_InitFormat()
553 ++format->Gshift; in SDL_InitFormat()
805 | (g >> format->Gloss) << format->Gshift in SDL_MapRGB()
819 | (g >> format->Gloss) << format->Gshift in SDL_MapRGBA()
835 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGB()
858 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGBA()
DSDL_blit_slow.c88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
DSDL_RLEaccel.c383 ((g>>fmt->Gloss)<<fmt->Gshift)| \
631 Uint8 Gshift; member
1114 r->Gshift = df->Gshift; in RLEAlphaSurface()
DSDL_blit_A.c258 Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()
1299 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
1357 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
DSDL_blit_N.c82 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \
136 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_pixels.h329 Uint8 Gshift; member