xfree86: define FOURCC_NV12 and XVIMAGE_NV12
Useful for glamor. Signed-off-by: Julien Isorce <jisorce@oblong.com> Tested-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fc85521602
commit
f98ff253c7
|
@ -156,4 +156,24 @@
|
|||
XvTopToBottom \
|
||||
}
|
||||
|
||||
#define FOURCC_NV12 0x3231564e
|
||||
#define XVIMAGE_NV12 \
|
||||
{ \
|
||||
FOURCC_NV12, \
|
||||
XvYUV, \
|
||||
LSBFirst, \
|
||||
{'N','V','1','2', \
|
||||
0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
|
||||
12, \
|
||||
XvPlanar, \
|
||||
2, \
|
||||
0, 0, 0, 0, \
|
||||
8, 8, 8, \
|
||||
1, 2, 2, \
|
||||
1, 2, 2, \
|
||||
{'Y','U','V', \
|
||||
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}, \
|
||||
XvTopToBottom \
|
||||
}
|
||||
|
||||
#endif /* _XF86_FOURCC_H_ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user