Home
last modified time | relevance | path

Searched refs:SDL_expand_byte (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit.h31 extern Uint8* SDL_expand_byte[9];
123 r = SDL_expand_byte[fmt->Rloss][((Pixel&fmt->Rmask)>>fmt->Rshift)]; \
124 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
125 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
129 r = SDL_expand_byte[3][((Pixel&0xF800)>>11)]; \
130 g = SDL_expand_byte[2][((Pixel&0x07E0)>>5)]; \
131 b = SDL_expand_byte[3][(Pixel&0x001F)]; \
135 r = SDL_expand_byte[3][((Pixel&0x7C00)>>10)]; \
136 g = SDL_expand_byte[3][((Pixel&0x03E0)>>5)]; \
137 b = SDL_expand_byte[3][(Pixel&0x001F)]; \
[all …]
DSDL_pixels.c71 Uint8* SDL_expand_byte[9] = { variable
834 *r = SDL_expand_byte[format->Rloss][v]; in SDL_GetRGB()
836 *g = SDL_expand_byte[format->Gloss][v]; in SDL_GetRGB()
838 *b = SDL_expand_byte[format->Bloss][v]; in SDL_GetRGB()
857 *r = SDL_expand_byte[format->Rloss][v]; in SDL_GetRGBA()
859 *g = SDL_expand_byte[format->Gloss][v]; in SDL_GetRGBA()
861 *b = SDL_expand_byte[format->Bloss][v]; in SDL_GetRGBA()
863 *a = SDL_expand_byte[format->Aloss][v]; in SDL_GetRGBA()