Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_pixels.c134 SDL_PixelFormatEnumToMasks(Uint32 format, int *bpp, Uint32 * Rmask, in SDL_PixelFormatEnumToMasks() argument
151 *Rmask = *Gmask = *Bmask = *Amask = 0; in SDL_PixelFormatEnumToMasks()
155 *Rmask = 0x00FF0000; in SDL_PixelFormatEnumToMasks()
159 *Rmask = 0x000000FF; in SDL_PixelFormatEnumToMasks()
168 *Rmask = 0x000000FF; in SDL_PixelFormatEnumToMasks()
172 *Rmask = 0x00FF0000; in SDL_PixelFormatEnumToMasks()
242 *Rmask = masks[1]; in SDL_PixelFormatEnumToMasks()
247 *Rmask = masks[0]; in SDL_PixelFormatEnumToMasks()
253 *Rmask = masks[1]; in SDL_PixelFormatEnumToMasks()
258 *Rmask = masks[0]; in SDL_PixelFormatEnumToMasks()
[all …]
DSDL_bmp.c94 Uint32 Rmask = 0; in SDL_LoadBMP_RW() local
193 Rmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW()
261 Rmask = 0x7C00; in SDL_LoadBMP_RW()
267 Rmask = 0x000000FF; in SDL_LoadBMP_RW()
271 Rmask = 0x00FF0000; in SDL_LoadBMP_RW()
280 Rmask = 0x00FF0000; in SDL_LoadBMP_RW()
300 SDL_CreateRGBSurface(0, biWidth, biHeight, biBitCount, Rmask, Gmask, in SDL_LoadBMP_RW()
520 (saveme->format->Rmask == 0x00FF0000) && in SDL_SaveBMP_RW()
524 (saveme->format->Rmask == 0x000000FF) && in SDL_SaveBMP_RW()
DSDL_RLEaccel.c322 switch (fmt->Rmask | fmt->Gmask | fmt->Bmask) { \
325 || fmt->Rmask == 0x07e0 \
338 || fmt->Rmask == 0x03e0 \
361 if ((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \
362 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \
622 Uint32 Rmask; member
717 if (df->Gmask == 0x07e0 || df->Rmask == 0x07e0 || df->Bmask == 0x07e0) in RLEAlphaClipBlit()
863 if (df->Gmask == 0x07e0 || df->Rmask == 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()
1284 && ((sf->Rmask == 0xff && df->Rmask == 0x1f) in SDL_CalculateBlitA()
1294 if (sf->Rmask == df->Rmask in SDL_CalculateBlitA()
1352 if (sf->Rmask == df->Rmask in SDL_CalculateBlitA()
1361 if ((sf->Rmask | sf->Gmask | sf->Bmask) == 0xffffff) { in SDL_CalculateBlitA()
DSDL_blit_N.c81 ( ((r<<dstfmt->Rshift)&dstfmt->Rmask) | \
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()
2549 (srcfmt->Rmask == 0x00FF0000) && in SDL_CalculateBlitN()
2554 (srcfmt->Rmask == 0x3FF00000) && in SDL_CalculateBlitN()
2568 if (MASKOK(srcfmt->Rmask, table[which].srcR) && in SDL_CalculateBlitN()
2571 MASKOK(dstfmt->Rmask, table[which].dstR) && in SDL_CalculateBlitN()
2589 srcfmt->Rmask == dstfmt->Rmask && in SDL_CalculateBlitN()
DSDL_blit.h123 r = SDL_expand_byte[fmt->Rloss][((Pixel&fmt->Rmask)>>fmt->Rshift)]; \
305 r = SDL_expand_byte[fmt->Rloss][((Pixel&fmt->Rmask)>>fmt->Rshift)]; \
312 r = (Pixel&fmt->Rmask)>>fmt->Rshift; \
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()
902 format->BitsPerPixel, format->Rmask, 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/render/software/
DSDL_blendfillrect.c229 switch (dst->format->Rmask) { in SDL_BlendFillRect()
235 switch (dst->format->Rmask) { in SDL_BlendFillRect()
241 switch (dst->format->Rmask) { in SDL_BlendFillRect()
290 switch (dst->format->Rmask) { in SDL_BlendFillRects()
296 switch (dst->format->Rmask) { in SDL_BlendFillRects()
302 switch (dst->format->Rmask) { in SDL_BlendFillRects()
DSDL_blendpoint.c223 switch (dst->format->Rmask) { in SDL_BlendPoint()
229 switch (dst->format->Rmask) { in SDL_BlendPoint()
235 switch (dst->format->Rmask) { in SDL_BlendPoint()
288 switch (dst->format->Rmask) { in SDL_BlendPoints()
295 switch (dst->format->Rmask) { in SDL_BlendPoints()
302 switch (dst->format->Rmask) { in SDL_BlendPoints()
DSDL_drawline.c72 if (fmt->Rmask == 0x7C00) { in SDL_DrawLine2()
76 } else if (fmt->Rmask == 0xF800) { in SDL_DrawLine2()
102 if (fmt->Rmask == 0x00FF0000) { in SDL_DrawLine4()
DSDL_render_sw.c227 Uint32 Rmask, Gmask, Bmask, Amask; in SW_CreateTexture() local
230 (texture->format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { in SW_CreateTexture()
235 SDL_CreateRGBSurface(0, texture->w, texture->h, bpp, Rmask, Gmask, in SW_CreateTexture()
635 src->format->Rmask, src->format->Gmask, in SW_RenderCopyEx()
DSDL_blendline.c681 if (fmt->Rmask == 0x7C00) { in SDL_CalculateBlendLineFunc()
683 } else if (fmt->Rmask == 0xF800) { in SDL_CalculateBlendLineFunc()
690 if (fmt->Rmask == 0x00FF0000) { in SDL_CalculateBlendLineFunc()
DSDL_rotate.c472 rz_src->format->Rmask, rz_src->format->Gmask, in SDLgfx_rotateSurface()
/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()
213 SDL_CreateRGBSurface(0, surface->w, surface->h, bpp, Rmask, Gmask, in loadFont()
Dfireworks.c324 Uint32 Rmask, Gmask, Bmask, Amask; /* masks for pixel format passed into OpenGL */ in initializeTexture() local
335 SDL_PixelFormatEnumToMasks(SDL_PIXELFORMAT_ABGR8888, &bpp, &Rmask, &Gmask, in initializeTexture()
339 SDL_CreateRGBSurface(0, bmp_surface->w, bmp_surface->h, bpp, Rmask, 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()
912 r_2_pix_alloc[i + 256] = i >> (8 - number_of_bits_set(Rmask)); in SDL_SW_SetupYUVDisplay()
913 r_2_pix_alloc[i + 256] <<= free_bits_at_bottom(Rmask); in SDL_SW_SetupYUVDisplay()
958 if (SDL_HasMMX() && (Rmask == 0xF800) && in SDL_SW_SetupYUVDisplay()
979 if (SDL_HasMMX() && (Rmask == 0x00FF0000) && in SDL_SW_SetupYUVDisplay()
1313 Uint32 Rmask, Gmask, Bmask, Amask; in SDL_SW_CopyYUVToRGB() local
1322 SDL_PixelFormatEnumToMasks(target_format, &bpp, &Rmask, &Gmask, in SDL_SW_CopyYUVToRGB()
1325 SDL_CreateRGBSurfaceFrom(pixels, w, h, bpp, pitch, Rmask, in SDL_SW_CopyYUVToRGB()
1333 SDL_PixelFormatEnumToMasks(target_format, &bpp, &Rmask, &Gmask, in SDL_SW_CopyYUVToRGB()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_pixels.h320 Uint32 Rmask; member
350 Uint32 * Rmask,
364 Uint32 Rmask,
DSDL_surface.h120 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
128 Uint32 Rmask,
/third_party/ffmpeg/libavcodec/arm/
Dhpeldsp_arm.S52 .macro RND_AVG32 Rd0, Rd1, Rn0, Rn1, Rm0, Rm1, Rmask argument
54 @ Rmask = 0xFEFEFEFE
60 and \Rd0, \Rd0, \Rmask
61 and \Rd1, \Rd1, \Rmask
66 .macro NO_RND_AVG32 Rd0, Rd1, Rn0, Rn1, Rm0, Rm1, Rmask argument
68 @ Rmask = 0xFEFEFEFE
74 and \Rd0, \Rd0, \Rmask
75 and \Rd1, \Rd1, \Rmask
/third_party/flutter/skia/third_party/externals/sdl/src/test/
DSDL_test_common.c712 Uint32 Rmask, Gmask, Bmask, Amask; in SDLTest_CommonInit() local
727 SDL_PixelFormatEnumToMasks(mode.format, &bpp, &Rmask, &Gmask, in SDLTest_CommonInit()
733 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
734 fprintf(stderr, " Red Mask = 0x%.8x\n", Rmask); in SDLTest_CommonInit()
749 SDL_PixelFormatEnumToMasks(mode.format, &bpp, &Rmask, in SDLTest_CommonInit()
755 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit()
757 Rmask); 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/video/x11/
DSDL_x11modes.c98 Uint32 Rmask, Gmask, Bmask, Amask; in X11_GetPixelFormatFromVisualInfo() local
100 Rmask = vinfo->visual->red_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()