mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 17:00:13 +01:00
gallium: add R8A8 and A8R8 UNORM formats
They are mostly used for menu overlay in video decoding. Signed-off-by: Christian König <deathsimple@vodafone.de>
This commit is contained in:
parent
8612235bbf
commit
23f01fd31c
2 changed files with 4 additions and 0 deletions
|
|
@ -269,3 +269,5 @@ PIPE_FORMAT_NV21 , other, 1, 1, x8 , x8 , x8 , x8 , xyzw, y
|
|||
# Usually used to implement IA44 and AI44 formats in video decoding
|
||||
PIPE_FORMAT_R4A4_UNORM , plain, 1, 1, un4 , un4 , , , y00x, rgb
|
||||
PIPE_FORMAT_A4R4_UNORM , plain, 1, 1, un4 , un4 , , , x00y, rgb
|
||||
PIPE_FORMAT_R8A8_UNORM , plain, 1, 1, un8 , un8 , , , x00y, rgb
|
||||
PIPE_FORMAT_A8R8_UNORM , plain, 1, 1, un8 , un8 , , , y00x, rgb
|
||||
|
|
|
|||
|
Can't render this file because it contains an unexpected character in line 8 and column 3.
|
|
|
@ -241,6 +241,8 @@ enum pipe_format {
|
|||
|
||||
PIPE_FORMAT_R4A4_UNORM = 168,
|
||||
PIPE_FORMAT_A4R4_UNORM = 169,
|
||||
PIPE_FORMAT_R8A8_UNORM = 170,
|
||||
PIPE_FORMAT_A8R8_UNORM = 171,
|
||||
|
||||
PIPE_FORMAT_COUNT
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue