Pixel Formats - Pixel Formats - AM026

Versal AI Edge Series Gen 2 and Prime Series Gen 2 Technical Reference Manual (AM026)

Document ID
AM026
Release Date
2025-12-23
Revision
1.3 English
Table 1. RGB Formats
Format Order Support
rgba Packed as RGBA (identity transformation). RW
grba Packed as GRBA (swap R and G). RW
bgra Packed as BGRA (swap R and B). RW
argb Packed as ARGB (move A). RW
agrb Packed as AGRB (move A, swap R and G). RW
abgr Packed as ABGR (move A, swap R and B). RW
rgb1 Packed as RGB (identity transformation, A=1). RW
grb1 Packed as GRB (swap R and G, A=1). RW
bgr1 Packed as BGR (swap R and B, A=1). RW
1rgb Packed as XRGB (move A, A=1). RW
1grb Packed as XGRB (move A, swap R and G, A=1). RW
1bgr Packed as XBGR (move A, swap R and B, A=1). RW
intensity Reads (R) as (R,R,R,R). For use with format R8 to emulate I8 format. R
luma Reads (R) as (R,R,R,1). For use with format R8 to emulate L8 format. R
luma_alpha Reads (R,x,x,A) as (R,R,R,A). For use with format R8A8 to emulate L8A8 format. R
Table 2. Non-compressed RGB Support
Format Bits per Texel Alignment UNORM sRGB SNORM UINT SINT FLOAT AFBC format
R8 8 1 RW RW RW RW RW   R8
R4G4 8 1 R   R R R    
R2G2B2A2 8 1 R   R R R    
R16 16 2 RW   RW RW RW RW  
R8G8 16 1 RW RW RW RW RW   R8G8
R5G6B5 16 2 RW           R5G6B5
R4G4B4A4 16 2 RW   RW RW RW   R4G4B4A4
R5G5B5A1 16 2 RW           R5G5B5A1
A1B5G5R5 16 2 RW            
R8G8B8 24 1 RW RW RW RW RW   R8G8B8
R32 32 4 W   W RW RW RW  
R16G16 32 2 RW   RW RW RW RW  
R11G11B10 32 4           RW  
B10G11R11 32 4           RW  
R9G9B9E5 32 4           RW  
E5B9G9R9 32 4           RW  
R8G8B8A8 32 1 RW RW RW RW RW   R8G8B8A8
R10G10B10A2 32 4 RW   W RW RW   R10G10B10A2
A2B10G10R10 32 4 RW   W RW RW    
R16G16B16 48 2 RW   RW RW RW RW  
R32G32 64 4 W   W RW RW RW  
R16G16B16A16 64 2 RW   RW RW RW RW  
R32G32B32 96 4 W   W RW RW RW  
R32G32B32A32 128 4 W   W RW RW RW  
R4A4 8 1 R            
A4R4 8 1 R            
R8A8 16 2 RW RW          
A8R8 16 2 RW RW          
A8 8 1 RW RW          
RAW10 10 1       R      
RAW12 12 1       R      
R8G8B8G8 16 4 R R          
G8R8G8B8 16 4 R R          
Table 3. Lossless Compressed RGB Support
Format Bits per texel Alignment UNORM sRGB SNORM UINT SINT FLOAT Expands to
AFBC_R8     RW RW RW RW RW   R8
AFBC_R8G8     RW RW RW RW RW   R8G8
AFBC_R5G6B5     RW           R5G6B5
AFBC_R4G4B4A4     RW   RW RW RW   R4G4B4A4
AFBC_R5G5B5A1     RW           R5G5B5A1
AFBC_R8G8B8     RW RW RW RW RW   R8G8B8
AFBC_R8G8B8A8     RW RW RW RW RW   R8G8B8A8
AFBC_R10G10B10A2     RW   W RW RW   R10G10B10A2
Table 4. Texture Formats Supported
Format Alignment GLES 2.x/3.x Vulkan 1.1
ETC2 8 GLES 2.x: GL_OES_compressed_ETC1_RGB8_texture, GLES 3.x: Required  
ETC2_PTA 8    
ETC2_EAC 16    
EAC_1 8    
EAC_2 16    
ASTC_2D_LDR_SRGB 16    
ASTC_2D_LDR 16 GL_KHR_texture_compression_astc_ldr
GLES 3.2: Required
ASTC_2D_HDR 16 GLES3: GL_KHR_texture_compression_astc_hdr
ASTC_3D_LDR_SRGB 16
ASTC_3D_LDR 16 GLES3: GL_OES_texture_compression_astc
ASTC_3D_HDR 16 GLES3: GL_OES_texture_compression_astc
ASTC_2D_NARROW_UNORM 16 GLES3: GL_EXT_texture_compression_astc_decode_mode VK_EXT_astc_decode_mode
ASTC_2D_NARROW_RGBE 16 GLES3: GL_EXT_texture_compression_astc_decode_mode VK_EXT_astc_decode_mode
ASTC_3D_NARROW_UNORM 16
ASTC_3D_NARROW_RGBE 16
Table 5. YUV Input Formats
Format Planes
8-bit YUV 4:4:4 1
8-bit YUVA 4:4:4 1
8-bit YUYV 4:2:2 1
8-bit VYUY 4:2:2 1
8-bit Y-UV 4:2:2 2
8-bit Y-U-V 4:2:2 3
8-bit Y-UV 4:2:0 2
8-bit Y-U-V 4:2:0 3
10-bit YUVA 4:4:4 1
10-bit AYUV 4:4:4 1
10-bit YUVA 4:2:0 1
10-bit YUYV 4:2:2 1
10-bit VYUY 4:2:2 1
10-bit Y-UV 4:2:2 2
10-bit Y-UV 4:2:0 2
16-bit YUV 4:4:4 1
16-bit YUVA 4:4:4 1
16-bit YUYV 4:2:2 1
16-bit VYUY 4:2:2 1
10-bit Y-UV 4:2:2 2
16-bit Y-UV 4:2:2 2
10-bit Y-UV 4:2:0 2
16-bit Y-UV 4:2:0 2
8-bit AFBC Y-UV 4:2:2 2
10-bit AFBC Y-UV 4:2:2 2
8-bit AFBC Y-UV 4:2:0 2
10-bit AFBC Y-UV 4:2:0 2
Table 6. YUV Output Formats
Format Planes
8-bit YUV 4:4:4 1
8-bit YUVA 4:4:4 1
8-bit YUYV 4:2:2 1
8-bit VYUY 4:2:2 1
8-bit Y-UV 4:2:2 2
8-bit Y-U-V 4:2:2 3
8-bit Y-UV 4:2:0 2
8-bit Y-U-V 4:2:0 3
10-bit YUVA 4:4:4 1
10-bit AYUV 4:4:4 1
10-bit YUVA 4:2:0 1
10-bit YUV 4:4:4 1
10-bit YUVA 4:4:4 1
10-bit YUYV 4:2:2 1
10-bit VYUY 4:2:2 1
10-bit Y-UV 4:2:2 2
10-bit Y-UV 4:2:0 2
8-bit AFBC Y-UV 4:2:2 1
10-bit AFBC Y-UV 4:2:2 1
8-bit AFBC Y-UV 4:2:0 1
10-bit AFBC Y-UV 4:2:0 1