/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_pixels.c | 253 *Amask = masks[0]; in SDL_PixelFormatEnumToMasks() 262 *Amask = masks[3]; in SDL_PixelFormatEnumToMasks() 278 *Amask = masks[3]; in SDL_PixelFormatEnumToMasks() 281 *Amask = masks[0]; in SDL_PixelFormatEnumToMasks() 311 Amask == 0x00) { in SDL_MasksToPixelFormatEnum() 322 Amask == 0x0000) { in SDL_MasksToPixelFormatEnum() 328 Amask == 0x0000) { in SDL_MasksToPixelFormatEnum() 344 Amask == 0x0000) { in SDL_MasksToPixelFormatEnum() 350 Amask == 0x0000) { in SDL_MasksToPixelFormatEnum() 591 format->Amask = Amask; in SDL_InitFormat() [all …]
|
A D | SDL_blit_slow.c | 49 Uint32 rgbmask = ~src_fmt->Amask; in SDL_Blit_Slow() 76 if (src_fmt->Amask) { in SDL_Blit_Slow() 96 if (dst_fmt->Amask) { in SDL_Blit_Slow() 165 if (dst_fmt->Amask) { in SDL_Blit_Slow()
|
A D | SDL_blit_N.c | 162 if (dstfmt->Amask) { in calc_swizzle32() 618 int copy_alpha = (srcfmt->Amask && dstfmt->Amask); in Blit32to32KeyAltivec() 740 if (dstfmt->Amask && !srcfmt->Amask) { in ConvertAltivec32to32_noprefetch() 827 if (dstfmt->Amask && !srcfmt->Amask) { in ConvertAltivec32to32_prefetch() 2184 if (dstfmt->Amask) { in Blit4to4MaskAlpha() 2262 if (srcfmt->Amask) { in get_permutation() 2269 if (dstfmt->Amask) { in get_permutation() 3060 if (dstfmt->Amask) { in Blit_3or4_to_3or4__same_rgb() 3134 if (dstfmt->Amask) { in Blit_3or4_to_3or4__inversed_rgb() 3426 if (srcfmt->Amask == dstfmt->Amask) { in SDL_CalculateBlitN() [all …]
|
A D | SDL_surface.c | 142 if (surface->format->Amask) { in SDL_CreateRGBSurfaceWithFormat() 178 Uint32 Amask) in SDL_CreateRGBSurfaceFrom() argument 325 !surface->format->Amask) { in SDL_ConvertColorkeyToAlpha() 336 Uint16 mask = (Uint16) (~surface->format->Amask); in SDL_ConvertColorkeyToAlpha() 374 Uint32 mask = ~surface->format->Amask; in SDL_ConvertColorkeyToAlpha() 1006 format->Amask); in SDL_ConvertSurface() 1041 if (surface->format->palette && format->Amask) { in SDL_ConvertSurface() 1127 if (format->Amask) { in SDL_ConvertSurface() 1150 surface->format->Amask); in SDL_ConvertSurface() 1183 if ((surface->format->Amask && format->Amask) || in SDL_ConvertSurface() [all …]
|
A D | SDL_bmp.c | 183 Uint32 Amask = 0; in SDL_LoadBMP_RW() local 283 Amask = SDL_ReadLE32(src); in SDL_LoadBMP_RW() 376 Amask = 0xFF000000; in SDL_LoadBMP_RW() 396 Bmask, Amask); in SDL_LoadBMP_RW() 613 if (saveme->format->BitsPerPixel >= 8 && (saveme->format->Amask || in SDL_SaveBMP_RW()
|
A D | SDL_RLEaccel.c | 624 Uint32 Amask; member 916 unsigned alpha = dfmt->Amask ? 255 : 0; in uncopy_opaque_16() 1021 #define ISOPAQUE(pixel, fmt) ((((pixel) & fmt->Amask) >> fmt->Ashift) == 255) 1024 ((unsigned)((((pixel) & fmt->Amask) >> fmt->Ashift) - 1U) < 254U) 1107 r->Amask = df->Amask; in RLEAlphaSurface() 1320 rgbmask = ~surface->format->Amask; in RLEColorkeySurface() 1434 ((flags & SDL_COPY_MODULATE_ALPHA) && surface->format->Amask) || in SDL_RLESurface() 1441 if (!surface->format->Amask || !(flags & SDL_COPY_BLEND)) { in SDL_RLESurface()
|
A D | SDL_blit_A.c | 185 Uint32 dalpha = info->dst_fmt->Amask; in BlitRGBtoRGBSurfaceAlpha128MMX() 249 Uint32 dalpha = df->Amask; in BlitRGBtoRGBSurfaceAlphaMMX() 339 Uint32 amask = sf->Amask; in BlitRGBtoRGBPixelAlphaMMX() 590 Uint32 amask = sf->Amask; in BlitRGBtoRGBPixelAlphaMMX3DNOW() 1354 if (sf->BytesPerPixel == 4 && sf->Amask == 0xff000000 in SDL_CalculateBlitA() 1369 if (sf->BytesPerPixel == 4 && sf->Amask == 0xff000000 in SDL_CalculateBlitA() 1399 if (sf->Amask == 0xff000000) { in SDL_CalculateBlitA() 1420 if (sf->Amask == 0) { in SDL_CalculateBlitA() 1475 if (sf->Amask == 0) { in SDL_CalculateBlitA()
|
/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_webp.c | 156 Uint32 Amask; in IMG_LoadWEBP_RW() local 211 Amask = (features.has_alpha) ? 0xFF000000 : 0; in IMG_LoadWEBP_RW() 218 Amask = 0x000000FF >> s; in IMG_LoadWEBP_RW() 224 features.has_alpha?32:24, Rmask,Gmask,Bmask,Amask); in IMG_LoadWEBP_RW()
|
A D | IMG_tif.c | 166 Uint32 Rmask, Gmask, Bmask, Amask; in IMG_LoadTIF_RW() local 191 Amask = 0xFF000000; in IMG_LoadTIF_RW() 193 Rmask, Gmask, Bmask, Amask); in IMG_LoadTIF_RW()
|
A D | IMG_pcx.c | 94 Uint32 Amask; in IMG_LoadPCX_RW() local 137 Rmask = Gmask = Bmask = Amask = 0; in IMG_LoadPCX_RW() 158 bits, Rmask, Gmask, Bmask, Amask); in IMG_LoadPCX_RW()
|
A D | IMG_png.c | 261 Uint32 Amask; in IMG_LoadPNG_RW() local 377 Rmask = Gmask = Bmask = Amask = 0 ; in IMG_LoadPNG_RW() 384 Amask = (num_channels == 4) ? 0xFF000000 : 0; in IMG_LoadPNG_RW() 390 Amask = 0x000000FF >> s; in IMG_LoadPNG_RW() 394 bit_depth*num_channels, Rmask,Gmask,Bmask,Amask); in IMG_LoadPNG_RW()
|
A D | IMG_UIImage.m | 34 Uint32 Amask; 47 Amask = 0x00000000; 52 Amask = 0xFF000000; 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/software/ |
A D | SDL_blendfillrect.c | 264 if (!dst->format->Amask) { in SDL_BlendFillRect() 276 if (!dst->format->Amask) { in SDL_BlendFillRect() 325 if (!dst->format->Amask) { in SDL_BlendFillRects() 338 if (!dst->format->Amask) { in SDL_BlendFillRects()
|
A D | SDL_blendpoint.c | 258 if (!dst->format->Amask) { in SDL_BlendPoint() 270 if (!dst->format->Amask) { in SDL_BlendPoint() 323 if (!dst->format->Amask) { in SDL_BlendPoints() 336 if (!dst->format->Amask) { in SDL_BlendPoints()
|
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() 128 if (texture->access == SDL_TEXTUREACCESS_STATIC && !Amask) { in SW_CreateTexture() 375 src->format->Bmask, src->format->Amask); in SW_RenderCopyEx() 388 …el != 32 || SDL_PIXELLAYOUT(src->format->format) != SDL_PACKEDLAYOUT_8888 || !src->format->Amask) { in SW_RenderCopyEx() 410 if (blendmode == SDL_BLENDMODE_NONE && !src->format->Amask && alphaMod == 255) { in SW_RenderCopyEx()
|
/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/src/gfx/ |
A D | SDL_gfxBlitFunc.h | 100 a = ((pixel&fmt->Amask)>>fmt->Ashift)<<fmt->Aloss; \ 110 pixel &= ~fmt->Amask; \
|
A D | SDL_gfxPrimitives.c | 345 Amask = format->Amask; in _putPixelAlpha() 355 if (Amask!=0) { in _putPixelAlpha() 357 A = (dA + (((color & Amask) - dA) * alpha >> 8)) & Amask; in _putPixelAlpha() 416 Amask = format->Amask; in _putPixelAlpha() 432 if (Amask!=0) { in _putPixelAlpha() 463 Amask = format->Amask; in _putPixelAlpha() 653 Amask = format->Amask; in _filledRectAlpha() 677 if (Amask!=0) { in _filledRectAlpha() 742 Amask = format->Amask; in _filledRectAlpha() 771 if (Amask!=0) { in _filledRectAlpha() [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_surface.c | 369 (fmt1->Amask != 0) == (face->format->Amask != 0) && in surface_testCompleteSurfaceConversion() 370 (fmt2->Amask != 0) == (face->format->Amask != 0) ) { in surface_testCompleteSurfaceConversion()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_pixels.h | 334 Uint32 Amask; member 364 Uint32 * Amask); 378 Uint32 Amask);
|
A D | SDL_surface.h | 132 Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); 146 Uint32 Amask);
|