Home
last modified time | relevance | path

Searched refs:Bmask (Results 1 – 25 of 30) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/video/
A DSDL_pixels.c158 *Bmask = 0x000000FF; in SDL_PixelFormatEnumToMasks()
245 *Bmask = masks[3]; in SDL_PixelFormatEnumToMasks()
250 *Bmask = masks[2]; in SDL_PixelFormatEnumToMasks()
256 *Bmask = masks[3]; in SDL_PixelFormatEnumToMasks()
261 *Bmask = masks[2]; in SDL_PixelFormatEnumToMasks()
265 *Bmask = masks[1]; in SDL_PixelFormatEnumToMasks()
270 *Bmask = masks[0]; in SDL_PixelFormatEnumToMasks()
275 *Bmask = masks[0]; in SDL_PixelFormatEnumToMasks()
282 *Bmask = masks[1]; in SDL_PixelFormatEnumToMasks()
581 format->Bmask = Bmask; in SDL_InitFormat()
[all …]
A DSDL_bmp.c182 Uint32 Bmask = 0; in SDL_LoadBMP_RW() local
278 Bmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW()
360 Bmask = 0x001F; in SDL_LoadBMP_RW()
366 Bmask = 0x00FF0000; in SDL_LoadBMP_RW()
370 Bmask = 0x000000FF; in SDL_LoadBMP_RW()
379 Bmask = 0x000000FF; in SDL_LoadBMP_RW()
396 Bmask, Amask); in SDL_LoadBMP_RW()
630 (saveme->format->Bmask == 0x000000FF) in SDL_SaveBMP_RW()
634 (saveme->format->Bmask == 0x00FF0000) in SDL_SaveBMP_RW()
A DSDL_RLEaccel.c321 switch (fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
325 || fmt->Bmask == 0x07e0) { \
338 || fmt->Bmask == 0x03e0) { \
360 if ((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
362 || fmt->Bmask == 0xff00)) { \
623 Uint32 Bmask; member
863 || df->Bmask == 0x07e0) in SDL_RLEAlphaBlit()
1051 masksum = df->Rmask | df->Gmask | df->Bmask; in RLEAlphaSurface()
1058 || df->Rmask == 0x07e0 || df->Bmask == 0x07e0) { in RLEAlphaSurface()
1066 || df->Rmask == 0x03e0 || df->Bmask == 0x03e0) { in RLEAlphaSurface()
[all …]
A DSDL_blit_A.c239 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX()
1357 || (sf->Bmask == 0xff && df->Bmask == 0x1f))) in SDL_CalculateBlitA()
1372 || (sf->Bmask == 0xff && df->Bmask == 0x1f))) { in SDL_CalculateBlitA()
1383 && sf->Bmask == df->Bmask && sf->BytesPerPixel == 4) { in SDL_CalculateBlitA()
1454 && sf->Bmask == df->Bmask && sf->BytesPerPixel == 4) { in SDL_CalculateBlitA()
1461 if ((sf->Rmask | sf->Gmask | sf->Bmask) == 0xffffff) { in SDL_CalculateBlitA()
A DSDL_blit.h127 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
309 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
316 b = (Pixel&fmt->Bmask)>>fmt->Bshift; \
A DSDL_blit_N.c102 ((b<<dstfmt->Bshift)&dstfmt->Bmask) | \
168 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ in calc_swizzle32()
620 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit32to32KeyAltivec()
2203 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit4to4MaskAlpha()
2629 …cfmt->Rmask == dstfmt->Rmask && srcfmt->Gmask == dstfmt->Gmask && srcfmt->Bmask == dstfmt->Bmask) { in BlitNtoNKey()
2653 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in BlitNtoNKey()
3384 (srcfmt->Bmask == 0x000000FF)) { in SDL_CalculateBlitN()
3389 (srcfmt->Bmask == 0x000003FF)) { in SDL_CalculateBlitN()
3403 MASKOK(srcfmt->Bmask, table[which].srcB) && in SDL_CalculateBlitN()
3406 MASKOK(dstfmt->Bmask, table[which].dstB) && in SDL_CalculateBlitN()
[all …]
A DSDL_surface.c157 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) in SDL_CreateRGBSurface() argument
162 format = SDL_MasksToPixelFormatEnum(depth, Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurface()
177 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, in SDL_CreateRGBSurfaceFrom() argument
182 surface = SDL_CreateRGBSurface(0, 0, 0, depth, Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurfaceFrom()
1005 format->Gmask, format->Bmask, in SDL_ConvertSurface()
1149 surface->format->Gmask, surface->format->Bmask, in SDL_ConvertSurface()
/AliOS-Things-master/components/SDL2/src/video/alios/
A DSDL_AliOS_framebuffer.c41 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_AliOS_CreateWindowFramebuffer() local
48 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_AliOS_CreateWindowFramebuffer()
50 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_AliOS_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/video/dummy/
A DSDL_nullframebuffer.c37 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_DUMMY_CreateWindowFramebuffer() local
44 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_DUMMY_CreateWindowFramebuffer()
46 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_DUMMY_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/video/offscreen/
A DSDL_offscreenframebuffer.c38 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_OFFSCREEN_CreateWindowFramebuffer() local
45 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in SDL_OFFSCREEN_CreateWindowFramebuffer()
47 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in SDL_OFFSCREEN_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_pcx.c93 Uint32 Bmask; in IMG_LoadPCX_RW() local
137 Rmask = Gmask = Bmask = Amask = 0; in IMG_LoadPCX_RW()
147 Bmask = 0x00FF0000; in IMG_LoadPCX_RW()
151 Bmask = 0x0000FF; in IMG_LoadPCX_RW()
158 bits, Rmask, Gmask, Bmask, Amask); in IMG_LoadPCX_RW()
A DIMG_webp.c155 Uint32 Bmask; in IMG_LoadWEBP_RW() local
210 Bmask = 0x00FF0000; in IMG_LoadWEBP_RW()
217 Bmask = 0x0000FF00 >> s; in IMG_LoadWEBP_RW()
224 features.has_alpha?32:24, Rmask,Gmask,Bmask,Amask); in IMG_LoadWEBP_RW()
A DIMG_bmp.c227 Uint32 Bmask = 0; in LoadBMP_RW() local
323 Bmask = SDL_ReadLE32(src); in LoadBMP_RW()
399 Bmask = 0x001F; in LoadBMP_RW()
405 Bmask = 0x00FF0000; in LoadBMP_RW()
409 Bmask = 0x000000FF; in LoadBMP_RW()
418 Bmask = 0x000000FF; in LoadBMP_RW()
434 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, Amask); in LoadBMP_RW()
625 Uint32 Bmask; in LoadICOCUR_RW() local
746 Bmask = 0x000000FF; in LoadICOCUR_RW()
A DIMG_tif.c166 Uint32 Rmask, Gmask, Bmask, Amask; in IMG_LoadTIF_RW() local
190 Bmask = 0x00FF0000; in IMG_LoadTIF_RW()
193 Rmask, Gmask, Bmask, Amask); in IMG_LoadTIF_RW()
A DIMG_png.c260 Uint32 Bmask; in IMG_LoadPNG_RW() local
377 Rmask = Gmask = Bmask = Amask = 0 ; in IMG_LoadPNG_RW()
383 Bmask = 0x00FF0000; in IMG_LoadPNG_RW()
389 Bmask = 0x0000FF00 >> s; in IMG_LoadPNG_RW()
394 bit_depth*num_channels, Rmask,Gmask,Bmask,Amask); in IMG_LoadPNG_RW()
A DIMG_UIImage.m37 Uint32 Bmask;
57 Bmask = 0x000000FF;
59 surface = SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 32, Rmask, Gmask, Bmask, Amask);
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenframebuffer.c36 Uint32 Rmask, Gmask, Bmask, Amask; in Emscripten_CreateWindowFramebuffer() local
44 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in Emscripten_CreateWindowFramebuffer()
47 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in Emscripten_CreateWindowFramebuffer()
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_yuv_sw.c361 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_SW_CopyYUVToRGB() local
371 &Bmask, &Amask); in SDL_SW_CopyYUVToRGB()
374 Gmask, Bmask, Amask); in SDL_SW_CopyYUVToRGB()
382 &Bmask, &Amask); in SDL_SW_CopyYUVToRGB()
385 Gmask, Bmask, Amask); in SDL_SW_CopyYUVToRGB()
/AliOS-Things-master/components/SDL2/include/
A DSDL_pixels.h333 Uint32 Bmask; member
363 Uint32 * Bmask,
377 Uint32 Bmask,
A DSDL_surface.h132 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
145 Uint32 Bmask,
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c344 Bmask = format->Bmask; in _putPixelAlpha()
349 dB = (dc & Bmask); in _putPixelAlpha()
353 B = (dB + (((color & Bmask) - dB) * alpha >> 8)) & Bmask; in _putPixelAlpha()
415 Bmask = format->Bmask; in _putPixelAlpha()
462 Bmask = format->Bmask; in _putPixelAlpha()
652 Bmask = format->Bmask; in _filledRectAlpha()
657 sB = (color & Bmask); in _filledRectAlpha()
671 dB = (dc & Bmask); in _filledRectAlpha()
741 Bmask = format->Bmask; in _filledRectAlpha()
797 Bmask = format->Bmask; in _filledRectAlpha()
[all …]
A DSDL_gfxBlitFunc.h99 b = ((pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss; \
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_pixels.c150 masks = result->Rmask | result->Gmask | result->Bmask | result->Amask; in pixels_allocFreeFormat()
172 masks = result->Rmask | result->Gmask | result->Bmask | result->Amask; in pixels_allocFreeFormat()
/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_render_sw.c110 Uint32 Rmask, Gmask, Bmask, Amask; in SW_CreateTexture() local
113 (texture->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { in SW_CreateTexture()
119 Bmask, Amask); in SW_CreateTexture()
375 src->format->Bmask, src->format->Amask); in SW_RenderCopyEx()
534 src_rotated->format->Bmask, 0); in SW_RenderCopyEx()
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c905 Uint32 Rmask, Gmask, Bmask, Amask; in SDLTest_CommonInit() local
929 &Bmask, &Amask); in SDLTest_CommonInit()
933 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
936 SDL_Log(" Blue Mask = 0x%.8x\n", Bmask); in SDLTest_CommonInit()
950 &Gmask, &Bmask, &Amask); in SDLTest_CommonInit()
954 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
960 Bmask); in SDLTest_CommonInit()

Completed in 54 milliseconds

12