First import
[xorg_rtime.git] / xorg-server-1.4 / hw / kdrive / src / fourcc.h
blob54be7ebe83654c3a6374cc3afc21fad1a1270c3a
2 /*
3 This header file contains listings of STANDARD guids for video formats.
4 Please do not place non-registered, or incomplete entries in this file.
5 A list of some popular fourcc's are at: http://www.webartz.com/fourcc/
6 For an explanation of fourcc <-> guid mappings see RFC2361.
7 */
9 #ifndef _XF86_FOURCC_H_
10 #define _XF86_FOURCC_H_ 1
12 #define FOURCC_YUY2 0x32595559
13 #define XVIMAGE_YUY2 \
14 { \
15 FOURCC_YUY2, \
16 XvYUV, \
17 LSBFirst, \
18 {'Y','U','Y','2', \
19 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
20 16, \
21 XvPacked, \
22 1, \
23 0, 0, 0, 0, \
24 8, 8, 8, \
25 1, 2, 2, \
26 1, 1, 1, \
27 {'Y','U','Y','V', \
28 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}, \
29 XvTopToBottom \
32 #define FOURCC_YV12 0x32315659
33 #define XVIMAGE_YV12 \
34 { \
35 FOURCC_YV12, \
36 XvYUV, \
37 LSBFirst, \
38 {'Y','V','1','2', \
39 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
40 12, \
41 XvPlanar, \
42 3, \
43 0, 0, 0, 0, \
44 8, 8, 8, \
45 1, 2, 2, \
46 1, 2, 2, \
47 {'Y','V','U', \
48 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}, \
49 XvTopToBottom \
52 #define FOURCC_I420 0x30323449
53 #define XVIMAGE_I420 \
54 { \
55 FOURCC_I420, \
56 XvYUV, \
57 LSBFirst, \
58 {'I','4','2','0', \
59 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
60 12, \
61 XvPlanar, \
62 3, \
63 0, 0, 0, 0, \
64 8, 8, 8, \
65 1, 2, 2, \
66 1, 2, 2, \
67 {'Y','U','V', \
68 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}, \
69 XvTopToBottom \
73 #define FOURCC_UYVY 0x59565955
74 #define XVIMAGE_UYVY \
75 { \
76 FOURCC_UYVY, \
77 XvYUV, \
78 LSBFirst, \
79 {'U','Y','V','Y', \
80 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
81 16, \
82 XvPacked, \
83 1, \
84 0, 0, 0, 0, \
85 8, 8, 8, \
86 1, 2, 2, \
87 1, 1, 1, \
88 {'U','Y','V','Y', \
89 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}, \
90 XvTopToBottom \
93 #define FOURCC_IA44 0x34344149
94 #define XVIMAGE_IA44 \
95 { \
96 FOURCC_IA44, \
97 XvYUV, \
98 LSBFirst, \
99 {'I','A','4','4', \
100 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
101 8, \
102 XvPacked, \
103 1, \
104 0, 0, 0, 0, \
105 8, 8, 8, \
106 1, 1, 1, \
107 1, 1, 1, \
108 {'A','I', \
109 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}, \
110 XvTopToBottom \
113 #define FOURCC_AI44 0x34344941
114 #define XVIMAGE_AI44 \
116 FOURCC_AI44, \
117 XvYUV, \
118 LSBFirst, \
119 {'A','I','4','4', \
120 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
121 8, \
122 XvPacked, \
123 1, \
124 0, 0, 0, 0, \
125 8, 8, 8, \
126 1, 1, 1, \
127 1, 1, 1, \
128 {'I','A', \
129 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}, \
130 XvTopToBottom \
133 #endif /* _XF86_FOURCC_H_ */