/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_pixels.c | 157 *Gmask = 0x0000FF00; in SDL_PixelFormatEnumToMasks() 244 *Gmask = masks[2]; in SDL_PixelFormatEnumToMasks() 249 *Gmask = masks[1]; in SDL_PixelFormatEnumToMasks() 255 *Gmask = masks[2]; in SDL_PixelFormatEnumToMasks() 260 *Gmask = masks[1]; in SDL_PixelFormatEnumToMasks() 266 *Gmask = masks[2]; in SDL_PixelFormatEnumToMasks() 271 *Gmask = masks[1]; in SDL_PixelFormatEnumToMasks() 276 *Gmask = masks[1]; in SDL_PixelFormatEnumToMasks() 283 *Gmask = masks[2]; in SDL_PixelFormatEnumToMasks() 571 format->Gmask = Gmask; in SDL_InitFormat() [all …]
|
A D | SDL_bmp.c | 181 Uint32 Gmask = 0; in SDL_LoadBMP_RW() local 277 Gmask = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 359 Gmask = 0x03E0; in SDL_LoadBMP_RW() 365 Gmask = 0x0000FF00; in SDL_LoadBMP_RW() 369 Gmask = 0x0000FF00; in SDL_LoadBMP_RW() 378 Gmask = 0x0000FF00; in SDL_LoadBMP_RW() 395 SDL_CreateRGBSurface(0, biWidth, biHeight, biBitCount, Rmask, Gmask, in SDL_LoadBMP_RW() 629 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW() 633 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW()
|
A D | SDL_RLEaccel.c | 321 switch (fmt->Rmask | fmt->Gmask | fmt->Bmask) { \ 323 if (fmt->Gmask == 0x07e0 \ 336 if (fmt->Gmask == 0x03e0 \ 360 if ((fmt->Rmask | fmt->Gmask | fmt->Bmask) == 0x00ffffff \ 361 && (fmt->Gmask == 0xff00 || fmt->Rmask == 0xff00 \ 622 Uint32 Gmask; member 862 if (df->Gmask == 0x07e0 || df->Rmask == 0x07e0 in SDL_RLEAlphaBlit() 1051 masksum = df->Rmask | df->Gmask | df->Bmask; in RLEAlphaSurface() 1057 if (df->Gmask == 0x07e0 in RLEAlphaSurface() 1065 if (df->Gmask == 0x03e0 in RLEAlphaSurface() [all …]
|
A D | SDL_blit_A.c | 239 if (alpha == 128 && (df->Rmask | df->Gmask | df->Bmask) == 0x00FFFFFF) { in BlitRGBtoRGBSurfaceAlphaMMX() 1355 && sf->Gmask == 0xff00 && df->Gmask == 0x7e0 in SDL_CalculateBlitA() 1370 && sf->Gmask == 0xff00 in SDL_CalculateBlitA() 1373 if (df->Gmask == 0x7e0) in SDL_CalculateBlitA() 1375 else if (df->Gmask == 0x3e0) in SDL_CalculateBlitA() 1382 && sf->Gmask == df->Gmask in SDL_CalculateBlitA() 1433 if (df->Gmask == 0x7e0) { in SDL_CalculateBlitA() 1440 } else if (df->Gmask == 0x3e0) { in SDL_CalculateBlitA() 1453 && sf->Gmask == df->Gmask in SDL_CalculateBlitA() 1461 if ((sf->Rmask | sf->Gmask | sf->Bmask) == 0xffffff) { in SDL_CalculateBlitA()
|
A D | SDL_blit.h | 126 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \ 308 g = SDL_expand_byte[fmt->Gloss][((Pixel&fmt->Gmask)>>fmt->Gshift)]; \ 315 g = (Pixel&fmt->Gmask)>>fmt->Gshift; \
|
A D | SDL_blit_N.c | 101 ((g<<dstfmt->Gshift)&dstfmt->Gmask) | \ 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 …== 4 && dstbpp == 4 && srcfmt->Rmask == dstfmt->Rmask && srcfmt->Gmask == dstfmt->Gmask && srcfmt-… in BlitNtoNKey() 2653 Uint32 mask = srcfmt->Rmask | srcfmt->Gmask | srcfmt->Bmask; in BlitNtoNKey() 3383 (srcfmt->Gmask == 0x0000FF00) && in SDL_CalculateBlitN() 3388 (srcfmt->Gmask == 0x000FFC00) && in SDL_CalculateBlitN() 3402 MASKOK(srcfmt->Gmask, table[which].srcG) && in SDL_CalculateBlitN() 3405 MASKOK(dstfmt->Gmask, table[which].dstG) && 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 | 92 Uint32 Gmask; in IMG_LoadPCX_RW() local 137 Rmask = Gmask = Bmask = Amask = 0; in IMG_LoadPCX_RW() 146 Gmask = 0x0000FF00; in IMG_LoadPCX_RW() 150 Gmask = 0x00FF00; in IMG_LoadPCX_RW() 158 bits, Rmask, Gmask, Bmask, Amask); in IMG_LoadPCX_RW()
|
A D | IMG_webp.c | 154 Uint32 Gmask; in IMG_LoadWEBP_RW() local 209 Gmask = 0x0000FF00; in IMG_LoadWEBP_RW() 216 Gmask = 0x00FF0000 >> s; in IMG_LoadWEBP_RW() 224 features.has_alpha?32:24, Rmask,Gmask,Bmask,Amask); in IMG_LoadWEBP_RW()
|
A D | IMG_bmp.c | 226 Uint32 Gmask = 0; in LoadBMP_RW() local 322 Gmask = SDL_ReadLE32(src); in LoadBMP_RW() 398 Gmask = 0x03E0; in LoadBMP_RW() 404 Gmask = 0x0000FF00; in LoadBMP_RW() 408 Gmask = 0x0000FF00; in LoadBMP_RW() 417 Gmask = 0x0000FF00; in LoadBMP_RW() 434 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, Amask); in LoadBMP_RW() 624 Uint32 Gmask; in LoadICOCUR_RW() local 745 Gmask = 0x0000FF00; in LoadICOCUR_RW()
|
A D | IMG_tif.c | 166 Uint32 Rmask, Gmask, Bmask, Amask; in IMG_LoadTIF_RW() local 189 Gmask = 0x0000FF00; in IMG_LoadTIF_RW() 193 Rmask, Gmask, Bmask, Amask); in IMG_LoadTIF_RW()
|
A D | IMG_png.c | 259 Uint32 Gmask; in IMG_LoadPNG_RW() local 377 Rmask = Gmask = Bmask = Amask = 0 ; in IMG_LoadPNG_RW() 382 Gmask = 0x0000FF00; in IMG_LoadPNG_RW() 388 Gmask = 0x00FF0000 >> s; in IMG_LoadPNG_RW() 394 bit_depth*num_channels, Rmask,Gmask,Bmask,Amask); in IMG_LoadPNG_RW()
|
A D | IMG_UIImage.m | 36 Uint32 Gmask; 56 Gmask = 0x0000FF00; 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 370 SDL_PixelFormatEnumToMasks(target_format, &bpp, &Rmask, &Gmask, in SDL_SW_CopyYUVToRGB() 374 Gmask, Bmask, Amask); in SDL_SW_CopyYUVToRGB() 381 SDL_PixelFormatEnumToMasks(target_format, &bpp, &Rmask, &Gmask, in SDL_SW_CopyYUVToRGB() 385 Gmask, Bmask, Amask); in SDL_SW_CopyYUVToRGB()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_pixels.h | 332 Uint32 Gmask; member 362 Uint32 * Gmask, 376 Uint32 Gmask,
|
A D | SDL_surface.h | 132 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 144 Uint32 Gmask,
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxPrimitives.c | 343 Gmask = format->Gmask; in _putPixelAlpha() 348 dG = (dc & Gmask); in _putPixelAlpha() 352 G = (dG + (((color & Gmask) - dG) * alpha >> 8)) & Gmask; in _putPixelAlpha() 414 Gmask = format->Gmask; in _putPixelAlpha() 461 Gmask = format->Gmask; in _putPixelAlpha() 651 Gmask = format->Gmask; in _filledRectAlpha() 656 sG = (color & Gmask); in _filledRectAlpha() 670 dG = (dc & Gmask); in _filledRectAlpha() 740 Gmask = format->Gmask; in _filledRectAlpha() 796 Gmask = format->Gmask; in _filledRectAlpha() [all …]
|
A D | SDL_gfxBlitFunc.h | 98 g = ((pixel&fmt->Gmask)>>fmt->Gshift)<<fmt->Gloss; \
|
/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() 118 SDL_CreateRGBSurface(0, texture->w, texture->h, bpp, Rmask, Gmask, in SW_CreateTexture() 374 src->format->Rmask, src->format->Gmask, in SW_RenderCopyEx() 533 … src_rotated->format->Rmask, src_rotated->format->Gmask, 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 928 SDL_PixelFormatEnumToMasks(mode.format, &bpp, &Rmask, &Gmask, in SDLTest_CommonInit() 933 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit() 935 SDL_Log(" Green Mask = 0x%.8x\n", Gmask); in SDLTest_CommonInit() 950 &Gmask, &Bmask, &Amask); in SDLTest_CommonInit() 954 if (Rmask || Gmask || Bmask) { in SDLTest_CommonInit() 958 Gmask); in SDLTest_CommonInit()
|