Searched refs:srcfmt (Results 1 – 5 of 5) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | SDL_blit_N.c | 104 static vector unsigned char calc_swizzle32(const SDL_PixelFormat *srcfmt, in calc_swizzle32() argument 119 if (!srcfmt) { in calc_swizzle32() 120 srcfmt = &default_pixel_format; in calc_swizzle32() 133 Uint32 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32() 134 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32() 135 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); in calc_swizzle32() 139 amask = ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt->Ashift); in calc_swizzle32() 156 SDL_PixelFormat *srcfmt = info->src; in Blit_RGB888_RGB565Altivec() local 158 vector unsigned char vpermute = calc_swizzle32(srcfmt, NULL); in Blit_RGB888_RGB565Altivec() 188 DISEMBLE_RGBA((Uint8 *)src, 4, srcfmt, Pixel, \ in Blit_RGB888_RGB565Altivec() [all …]
|
D | SDL_blit_A.c | 75 SDL_PixelFormat *srcfmt = info->src; in BlitNto1SurfaceAlpha() local 77 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlpha() 79 const unsigned A = srcfmt->alpha; in BlitNto1SurfaceAlpha() 91 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNto1SurfaceAlpha() 128 SDL_PixelFormat *srcfmt = info->src; in BlitNto1PixelAlpha() local 130 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1PixelAlpha() 144 DISEMBLE_RGBA(src,srcbpp,srcfmt,Pixel,sR,sG,sB,sA); in BlitNto1PixelAlpha() 181 SDL_PixelFormat *srcfmt = info->src; in BlitNto1SurfaceAlphaKey() local 183 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlphaKey() 184 Uint32 ckey = srcfmt->colorkey; in BlitNto1SurfaceAlphaKey() [all …]
|
D | SDL_pixels.c | 544 SDL_PixelFormat *srcfmt; in SDL_MapSurface() local 557 srcfmt = src->format; in SDL_MapSurface() 559 switch (srcfmt->BytesPerPixel) { in SDL_MapSurface() 569 map->table = Map1to1(srcfmt->palette, in SDL_MapSurface() 577 if (srcfmt->BitsPerPixel!=dstfmt->BitsPerPixel) in SDL_MapSurface() 583 map->table = Map1toN(srcfmt, dstfmt); in SDL_MapSurface() 594 map->table = MapNto1(srcfmt, dstfmt, &map->identity); in SDL_MapSurface() 604 if ( FORMAT_EQUAL(srcfmt, dstfmt) ) in SDL_MapSurface()
|
D | SDL_blit_0.c | 396 SDL_PixelFormat *srcfmt = info->src; in BlitBtoNAlphaKey() local 398 const SDL_Color *srcpal = srcfmt->palette->colors; in BlitBtoNAlphaKey() 401 const int A = srcfmt->alpha; in BlitBtoNAlphaKey() 402 Uint32 ckey = srcfmt->colorkey; in BlitBtoNAlphaKey()
|
D | SDL_blit_1.c | 452 SDL_PixelFormat *srcfmt = info->src; in Blit1toNAlphaKey() local 455 Uint32 ckey = srcfmt->colorkey; in Blit1toNAlphaKey() 457 const int A = srcfmt->alpha; in Blit1toNAlphaKey()
|