mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
glamor: xv: add rgba32 format
This commit adds RGBA32 format to XVideo along with shader for handling it. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Yuriy Vasilev <uuvasiliev@yandex.ru>
This commit is contained in:
committed by
Konstantin
parent
832b392f70
commit
15412e78c8
@@ -176,4 +176,23 @@
|
||||
XvTopToBottom \
|
||||
}
|
||||
|
||||
#define FOURCC_RGBA32 0x34325241
|
||||
#define XVIMAGE_RGB32 \
|
||||
{ \
|
||||
FOURCC_RGBA32, \
|
||||
XvRGB, \
|
||||
LSBFirst, \
|
||||
{'R','A','2','4', \
|
||||
0x00, 0x00, 0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
|
||||
32, \
|
||||
XvPacked, \
|
||||
1, \
|
||||
32, 0xff0000, 0xff00, 0xff, \
|
||||
0, 0, 0, \
|
||||
0, 0, 0, \
|
||||
0, 0, 0, \
|
||||
{0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, \
|
||||
0 \
|
||||
}
|
||||
#endif /* _XF86_FOURCC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user