Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit.h126 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
195 g = *((buf)+fmt->Gshift/8); \
199 g = *((buf)+2-fmt->Gshift/8); \
222 ((g>>fmt->Gloss)<<fmt->Gshift)| \
284 *((buf)+fmt->Gshift/8) = g; \
288 *((buf)+2-fmt->Gshift/8) = g; \
308 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \
315 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \
371 g = *((buf)+fmt->Gshift/8); \
375 g = *((buf)+2-fmt->Gshift/8); \
[all …]
A DSDL_pixels.c572 format->Gshift = 0; in SDL_InitFormat()
576 ++format->Gshift; in SDL_InitFormat()
858 | (g >> format->Gloss) << format->Gshift in SDL_MapRGB()
872 | (g >> format->Gloss) << format->Gshift in SDL_MapRGBA()
888 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGB()
911 v = (pixel & format->Gmask) >> format->Gshift; in SDL_GetRGBA()
A DSDL_blit_slow.c88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
A DSDL_RLEaccel.c382 ((g>>fmt->Gloss)<<fmt->Gshift)| \
630 Uint8 Gshift; member
1113 r->Gshift = df->Gshift; in RLEAlphaSurface()
A DSDL_blit_A.c260 Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()
1386 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
1457 && sf->Gshift % 8 == 0 in SDL_CalculateBlitA()
A DSDL_blit_N.c101 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \
158 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.h98 g = ((pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \
119 ((g>>fmt->Gloss)<<fmt->Gshift)| \
A DSDL_gfxPrimitives.c371 Gshift = format->Gshift; in _putPixelAlpha()
375 Gshift8 = Gshift >> 3; in _putPixelAlpha()
419 Gshift = format->Gshift; in _putPixelAlpha()
429 G = ((dG + ((((color & Gmask) >> Gshift) - dG) * alpha >> 8)) << Gshift) & Gmask; in _putPixelAlpha()
471 Gshift = format->Gshift; in _putPixelAlpha()
484 G = (preMultG + ((aTmp * ((dc & Gmask) >> Gshift)) >> 8)) / A << Gshift & Gmask; in _putPixelAlpha()
695 Gshift = format->Gshift; in _filledRectAlpha()
699 Gshift8 = Gshift >> 3; in _filledRectAlpha()
745 Gshift = format->Gshift; in _filledRectAlpha()
806 Gshift = format->Gshift; in _filledRectAlpha()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h340 Uint8 Gshift; member

Completed in 29 milliseconds