/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_pixels.c | 158 *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 D | SDL_bmp.c | 182 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 D | SDL_RLEaccel.c | 321 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 D | SDL_blit_A.c | 239 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 D | SDL_blit.h | 127 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 D | SDL_blit_N.c | 102 ((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 D | SDL_surface.c | 157 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 D | SDL_AliOS_framebuffer.c | 41 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 D | SDL_nullframebuffer.c | 37 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 D | SDL_offscreenframebuffer.c | 38 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 D | IMG_pcx.c | 93 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 D | IMG_webp.c | 155 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 D | IMG_bmp.c | 227 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 D | IMG_tif.c | 166 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 D | IMG_png.c | 260 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 D | IMG_UIImage.m | 37 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 D | SDL_emscriptenframebuffer.c | 36 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 D | SDL_yuv_sw.c | 361 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 D | SDL_pixels.h | 333 Uint32 Bmask; member 363 Uint32 * Bmask, 377 Uint32 Bmask,
|
A D | SDL_surface.h | 132 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 145 Uint32 Bmask,
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxPrimitives.c | 344 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 D | SDL_gfxBlitFunc.h | 99 b = ((pixel&fmt->Bmask)>>fmt->Bshift)<<fmt->Bloss; \
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_pixels.c | 150 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 D | SDL_render_sw.c | 110 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 D | SDL_test_common.c | 905 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()
|