Home
last modified time | relevance | path

Searched refs:srcfmt (Results 1 – 5 of 5) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_N.c105 calc_swizzle32(const SDL_PixelFormat * srcfmt, const SDL_PixelFormat * dstfmt) in calc_swizzle32() argument
121 if (!srcfmt) { in calc_swizzle32()
122 srcfmt = &default_pixel_format; in calc_swizzle32()
135 Uint32 rmask = RESHIFT(srcfmt->Rshift) << (dstfmt->Rshift); in calc_swizzle32()
136 Uint32 gmask = RESHIFT(srcfmt->Gshift) << (dstfmt->Gshift); in calc_swizzle32()
137 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); in calc_swizzle32()
142 ((srcfmt->Amask) ? RESHIFT(srcfmt-> in calc_swizzle32()
164 SDL_PixelFormat *srcfmt = info->src_fmt; in Blit_RGB888_RGB565Altivec() local
166 vector unsigned char vpermute = calc_swizzle32(srcfmt, NULL); in Blit_RGB888_RGB565Altivec()
195 DISEMBLE_RGBA((Uint8 *)src, 4, srcfmt, Pixel, \ in Blit_RGB888_RGB565Altivec()
[all …]
DSDL_blit_A.c39 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1SurfaceAlpha() local
41 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlpha()
51 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNto1SurfaceAlpha()
86 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1PixelAlpha() local
88 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1PixelAlpha()
97 DISEMBLE_RGBA(src,srcbpp,srcfmt,Pixel,sR,sG,sB,sA); in BlitNto1PixelAlpha()
132 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNto1SurfaceAlphaKey() local
134 int srcbpp = srcfmt->BytesPerPixel; in BlitNto1SurfaceAlphaKey()
145 DISEMBLE_RGB(src, srcbpp, srcfmt, Pixel, sR, sG, sB); in BlitNto1SurfaceAlphaKey()
1155 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitNtoNSurfaceAlpha() local
[all …]
DSDL_pixels.c995 SDL_PixelFormat *srcfmt; in SDL_MapSurface() local
1008 srcfmt = src->format; in SDL_MapSurface()
1010 if (SDL_ISPIXELFORMAT_INDEXED(srcfmt->format)) { in SDL_MapSurface()
1014 Map1to1(srcfmt->palette, dstfmt->palette, &map->identity); in SDL_MapSurface()
1020 if (srcfmt->BitsPerPixel != dstfmt->BitsPerPixel) in SDL_MapSurface()
1025 Map1toN(srcfmt, src->map->info.r, src->map->info.g, in SDL_MapSurface()
1034 map->info.table = MapNto1(srcfmt, dstfmt, &map->identity); in SDL_MapSurface()
1043 if (srcfmt == dstfmt) { in SDL_MapSurface()
1068 if (srcfmt->palette) { in SDL_MapSurface()
1069 map->src_palette_version = srcfmt->palette->version; in SDL_MapSurface()
DSDL_blit_0.c407 SDL_PixelFormat *srcfmt = info->src_fmt; in BlitBtoNAlphaKey() local
409 const SDL_Color *srcpal = srcfmt->palette->colors; in BlitBtoNAlphaKey()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c393 enum pipe_format srcfmt, in panvk_meta_copy_img2img_shader() argument
402 util_format_name(srcfmt), util_format_name(dstfmt), in panvk_meta_copy_img2img_shader()
418 tex->dest_type = util_format_is_unorm(srcfmt) ? in panvk_meta_copy_img2img_shader()
448 if (srcfmt == PIPE_FORMAT_R5G6B5_UNORM && dstfmt == PIPE_FORMAT_R8G8_UNORM) { in panvk_meta_copy_img2img_shader()
467 } else if (srcfmt == PIPE_FORMAT_R8G8_UNORM && dstfmt == PIPE_FORMAT_R5G6B5_UNORM) { in panvk_meta_copy_img2img_shader()
489 assert(srcfmt == dstfmt); in panvk_meta_copy_img2img_shader()
587 enum pipe_format srcfmt; member
666 .srcfmt = panvk_meta_copy_img_format(src->pimage.layout.format), in panvk_meta_copy_img2img()
685 .format = key.srcfmt, in panvk_meta_copy_img2img()
823 panvk_meta_copy_img2img_fmts[i].srcfmt, in panvk_meta_copy_img2img_init()
[all …]