Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit.h127 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
196 b = *((buf)+fmt->Bshift/8); \
200 b = *((buf)+2-fmt->Bshift/8); \
223 ((b>>fmt->Bloss)<<fmt->Bshift)| \
285 *((buf)+fmt->Bshift/8) = b; \
289 *((buf)+2-fmt->Bshift/8) = b; \
309 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
316 b = (Pixel&fmt->Bmask)>>fmt->Bshift; \
372 b = *((buf)+fmt->Bshift/8); \
376 b = *((buf)+2-fmt->Bshift/8); \
[all …]
A DSDL_pixels.c582 format->Bshift = 0; in SDL_InitFormat()
586 ++format->Bshift; in SDL_InitFormat()
859 | (b >> format->Bloss) << format->Bshift | format->Amask; in SDL_MapRGB()
873 | (b >> format->Bloss) << format->Bshift in SDL_MapRGBA()
890 v = (pixel & format->Bmask) >> format->Bshift; in SDL_GetRGB()
913 v = (pixel & format->Bmask) >> format->Bshift; in SDL_GetRGBA()
A DSDL_blit_slow.c88 (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift); in SDL_Blit_Slow()
A DSDL_RLEaccel.c383 ((b>>fmt->Bloss)<<fmt->Bshift)| \
631 Uint8 Bshift; member
1114 r->Bshift = df->Bshift; in RLEAlphaSurface()
A DSDL_blit_A.c260 Gshift) | (0xff << df->Bshift); in BlitRGBtoRGBSurfaceAlphaMMX()
1387 && sf->Bshift % 8 == 0 in SDL_CalculateBlitA()
1458 && sf->Bshift % 8 == 0 && SDL_HasMMX()) in SDL_CalculateBlitA()
A DSDL_blit_N.c102 ((b<<dstfmt->Bshift)&dstfmt->Bmask) | \
159 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); in calc_swizzle32()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxBlitFunc.h99 b = ((pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss; \
120 ((b>>fmt->Bloss)<<fmt->Bshift)| \
A DSDL_gfxPrimitives.c372 Bshift = format->Bshift; in _putPixelAlpha()
376 Bshift8 = Bshift >> 3; in _putPixelAlpha()
420 Bshift = format->Bshift; in _putPixelAlpha()
430 B = ((dB + ((((color & Bmask) >> Bshift) - dB) * alpha >> 8)) << Bshift) & Bmask; in _putPixelAlpha()
472 Bshift = format->Bshift; in _putPixelAlpha()
485 B = (preMultB + ((aTmp * ((dc & Bmask) >> Bshift)) >> 8)) / A << Bshift & Bmask; in _putPixelAlpha()
696 Bshift = format->Bshift; in _filledRectAlpha()
700 Bshift8 = Bshift >> 3; in _filledRectAlpha()
746 Bshift = format->Bshift; in _filledRectAlpha()
807 Bshift = format->Bshift; in _filledRectAlpha()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h341 Uint8 Bshift; member

Completed in 27 milliseconds