Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_pixels.c135 Uint32 * Gmask, Uint32 * Bmask, Uint32 * Amask) in SDL_PixelFormatEnumToMasks() argument
151 *Rmask = *Gmask = *Bmask = *Amask = 0; in SDL_PixelFormatEnumToMasks()
157 *Bmask = 0x000000FF; in SDL_PixelFormatEnumToMasks()
161 *Bmask = 0x00FF0000; in SDL_PixelFormatEnumToMasks()
170 *Bmask = 0x00FF0000; in SDL_PixelFormatEnumToMasks()
174 *Bmask = 0x000000FF; in SDL_PixelFormatEnumToMasks()
244 *Bmask = masks[3]; in SDL_PixelFormatEnumToMasks()
249 *Bmask = masks[2]; in SDL_PixelFormatEnumToMasks()
255 *Bmask = masks[3]; in SDL_PixelFormatEnumToMasks()
260 *Bmask = masks[2]; in SDL_PixelFormatEnumToMasks()
[all …]
DSDL_bmp.c96 Uint32 Bmask = 0; in SDL_LoadBMP_RW() local
195 Bmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW()
263 Bmask = 0x001F; in SDL_LoadBMP_RW()
269 Bmask = 0x00FF0000; in SDL_LoadBMP_RW()
273 Bmask = 0x000000FF; in SDL_LoadBMP_RW()
282 Bmask = 0x000000FF; in SDL_LoadBMP_RW()
301 Bmask, Amask); in SDL_LoadBMP_RW()
522 (saveme->format->Bmask == 0x000000FF) in SDL_SaveBMP_RW()
526 (saveme->format->Bmask == 0x00FF0000) in SDL_SaveBMP_RW()
DSDL_RLEaccel.c322 switch (fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
326 || fmt->Bmask == 0x07e0) { \
339 || fmt->Bmask == 0x03e0) { \
361 if ((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
363 || fmt->Bmask == 0xff00)) { \
624 Uint32 Bmask; member
717 if (df->Gmask == 0x07e0 || df->Rmask == 0x07e0 || df->Bmask == 0x07e0) in RLEAlphaClipBlit()
864 || df->Bmask == 0x07e0) in SDL_RLEAlphaBlit()
1052 masksum = df->Rmask | df->Gmask | df->Bmask; in RLEAlphaSurface()
1059 || df->Rmask == 0x07e0 || df->Bmask == 0x07e0) { in RLEAlphaSurface()
[all …]
DSDL_blit_A.c237 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX()
1285 || (sf->Bmask == 0xff && df->Bmask == 0x1f))) { in SDL_CalculateBlitA()
1296 && sf->Bmask == df->Bmask && sf->BytesPerPixel == 4) { in SDL_CalculateBlitA()
1354 && sf->Bmask == df->Bmask && sf->BytesPerPixel == 4) { in SDL_CalculateBlitA()
1361 if ((sf->Rmask | sf->Gmask | sf->Bmask) == 0xffffff) { in SDL_CalculateBlitA()
DSDL_blit_N.c83 ((b<<dstfmt->Bshift)&dstfmt->Bmask) | \
146 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ in calc_swizzle32()
569 Uint32 rgbmask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit32to32KeyAltivec()
2099 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in Blit4to4MaskAlpha()
2551 (srcfmt->Bmask == 0x000000FF)) { in SDL_CalculateBlitN()
2556 (srcfmt->Bmask == 0x000003FF)) { in SDL_CalculateBlitN()
2570 MASKOK(srcfmt->Bmask, table[which].srcB) && in SDL_CalculateBlitN()
2573 MASKOK(dstfmt->Bmask, table[which].dstB) && in SDL_CalculateBlitN()
2591 srcfmt->Bmask == dstfmt->Bmask) { in SDL_CalculateBlitN()
DSDL_blit.h125 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
307 b = SDL_expand_byte[fmt->Bloss][((Pixel&fmt->Bmask)>>fmt->Bshift)]; \
314 b = (Pixel&fmt->Bmask)>>fmt->Bshift; \
DSDL_surface.c116 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) in SDL_CreateRGBSurface() argument
121 format = SDL_MasksToPixelFormatEnum(depth, Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurface()
136 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, in SDL_CreateRGBSurfaceFrom() argument
141 surface = SDL_CreateRGBSurface(0, 0, 0, depth, Rmask, Gmask, Bmask, Amask); in SDL_CreateRGBSurfaceFrom()
903 format->Gmask, format->Bmask, in SDL_ConvertSurface()
DSDL_video.c2140 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_CreateWindowFramebuffer() local
2150 if (!SDL_PixelFormatEnumToMasks(format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { in SDL_CreateWindowFramebuffer()
2154 …return SDL_CreateRGBSurfaceFrom(pixels, window->w, window->h, bpp, pitch, Rmask, Gmask, Bmask, Ama… in SDL_CreateWindowFramebuffer()
/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
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()
/third_party/flutter/skia/third_party/externals/sdl/src/video/emscripten/
DSDL_emscriptenframebuffer.c35 Uint32 Rmask, Gmask, Bmask, Amask; in Emscripten_CreateWindowFramebuffer() local
43 SDL_PixelFormatEnumToMasks(surface_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask); in Emscripten_CreateWindowFramebuffer()
46 surface = SDL_CreateRGBSurface(0, w, h, bpp, Rmask, Gmask, Bmask, Amask); in Emscripten_CreateWindowFramebuffer()
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Dkeyboard.c208 Uint32 Rmask, Gmask, Bmask, Amask; /* masks for desired format */ in loadFont() local
210 SDL_PixelFormatEnumToMasks(format, &bpp, &Rmask, &Gmask, &Bmask, in loadFont()
214 Bmask, Amask); in loadFont()
Dfireworks.c324 Uint32 Rmask, Gmask, Bmask, Amask; /* masks for pixel format passed into OpenGL */ in initializeTexture() local
336 &Bmask, &Amask); in initializeTexture()
340 Gmask, Bmask, Amask); in initializeTexture()
/third_party/flutter/skia/third_party/externals/sdl/src/render/
DSDL_yuv_sw.c896 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_SW_SetupYUVDisplay() local
899 (target_format, &bpp, &Rmask, &Gmask, &Bmask, &Amask) || bpp < 15) { in SDL_SW_SetupYUVDisplay()
918 b_2_pix_alloc[i + 256] = i >> (8 - number_of_bits_set(Bmask)); in SDL_SW_SetupYUVDisplay()
919 b_2_pix_alloc[i + 256] <<= free_bits_at_bottom(Bmask); in SDL_SW_SetupYUVDisplay()
959 (Gmask == 0x07E0) && (Bmask == 0x001F) in SDL_SW_SetupYUVDisplay()
981 (Bmask == 0x000000FF) && (swdata->w & 15) == 0) { in SDL_SW_SetupYUVDisplay()
1313 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_SW_CopyYUVToRGB() local
1323 &Bmask, &Amask); in SDL_SW_CopyYUVToRGB()
1326 Gmask, Bmask, Amask); in SDL_SW_CopyYUVToRGB()
1334 &Bmask, &Amask); in SDL_SW_CopyYUVToRGB()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_pixels.h322 Uint32 Bmask; member
352 Uint32 * Bmask,
366 Uint32 Bmask,
DSDL_surface.h120 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
130 Uint32 Bmask,
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_common.c712 Uint32 Rmask, Gmask, Bmask, Amask; in SDLTest_CommonInit() local
728 &Bmask, &Amask); in SDLTest_CommonInit()
733 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
736 fprintf(stderr, " Blue Mask = 0x%.8x\n", Bmask); in SDLTest_CommonInit()
750 &Gmask, &Bmask, &Amask); in SDLTest_CommonInit()
755 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
761 Bmask); in SDLTest_CommonInit()
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_pixels.c148 masks = result->Rmask | result->Gmask | result->Bmask | result->Amask; in pixels_allocFreeFormat()
170 masks = result->Rmask | result->Gmask | result->Bmask | result->Amask; in pixels_allocFreeFormat()
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_render_sw.c227 Uint32 Rmask, Gmask, Bmask, Amask; in SW_CreateTexture() local
230 (texture->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { in SW_CreateTexture()
236 Bmask, Amask); in SW_CreateTexture()
636 src->format->Bmask, src->format->Amask ); in SW_RenderCopyEx()
DSDL_rotate.c473 rz_src->format->Bmask, rz_src->format->Amask); in SDLgfx_rotateSurface()
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.c98 Uint32 Rmask, Gmask, Bmask, Amask; in X11_GetPixelFormatFromVisualInfo() local
102 Bmask = vinfo->visual->blue_mask; in X11_GetPixelFormatFromVisualInfo()
104 Amask = (0xFFFFFFFF & ~(Rmask | Gmask | Bmask)); in X11_GetPixelFormatFromVisualInfo()
124 return SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask); in X11_GetPixelFormatFromVisualInfo()