1706f2543Smrg
2706f2543Smrg/*
3706f2543Smrg   This header file contains listings of STANDARD guids for video formats.
4706f2543Smrg   Please do not place non-registered, or incomplete entries in this file.
5706f2543Smrg   A list of some popular fourcc's are at: http://www.webartz.com/fourcc/
6706f2543Smrg   For an explanation of fourcc <-> guid mappings see RFC2361.
7706f2543Smrg*/
8706f2543Smrg
9706f2543Smrg#ifndef _XF86_FOURCC_H_
10706f2543Smrg#define _XF86_FOURCC_H_ 1
11706f2543Smrg
12706f2543Smrg#define FOURCC_YUY2 0x32595559
13706f2543Smrg#define XVIMAGE_YUY2 \
14706f2543Smrg   { \
15706f2543Smrg	FOURCC_YUY2, \
16706f2543Smrg        XvYUV, \
17706f2543Smrg	LSBFirst, \
18706f2543Smrg	{'Y','U','Y','2', \
19706f2543Smrg	  0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
20706f2543Smrg	16, \
21706f2543Smrg	XvPacked, \
22706f2543Smrg	1, \
23706f2543Smrg	0, 0, 0, 0, \
24706f2543Smrg	8, 8, 8, \
25706f2543Smrg	1, 2, 2, \
26706f2543Smrg	1, 1, 1, \
27706f2543Smrg	{'Y','U','Y','V', \
28706f2543Smrg	  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}, \
29706f2543Smrg	XvTopToBottom \
30706f2543Smrg   }
31706f2543Smrg
32706f2543Smrg#define FOURCC_YV12 0x32315659
33706f2543Smrg#define XVIMAGE_YV12 \
34706f2543Smrg   { \
35706f2543Smrg	FOURCC_YV12, \
36706f2543Smrg        XvYUV, \
37706f2543Smrg	LSBFirst, \
38706f2543Smrg	{'Y','V','1','2', \
39706f2543Smrg	  0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
40706f2543Smrg	12, \
41706f2543Smrg	XvPlanar, \
42706f2543Smrg	3, \
43706f2543Smrg	0, 0, 0, 0, \
44706f2543Smrg	8, 8, 8, \
45706f2543Smrg	1, 2, 2, \
46706f2543Smrg	1, 2, 2, \
47706f2543Smrg	{'Y','V','U', \
48706f2543Smrg	  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}, \
49706f2543Smrg	XvTopToBottom \
50706f2543Smrg   }
51706f2543Smrg
52706f2543Smrg#define FOURCC_I420 0x30323449
53706f2543Smrg#define XVIMAGE_I420 \
54706f2543Smrg   { \
55706f2543Smrg	FOURCC_I420, \
56706f2543Smrg        XvYUV, \
57706f2543Smrg	LSBFirst, \
58706f2543Smrg	{'I','4','2','0', \
59706f2543Smrg	  0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
60706f2543Smrg	12, \
61706f2543Smrg	XvPlanar, \
62706f2543Smrg	3, \
63706f2543Smrg	0, 0, 0, 0, \
64706f2543Smrg	8, 8, 8, \
65706f2543Smrg	1, 2, 2, \
66706f2543Smrg	1, 2, 2, \
67706f2543Smrg	{'Y','U','V', \
68706f2543Smrg	  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}, \
69706f2543Smrg	XvTopToBottom \
70706f2543Smrg   }
71706f2543Smrg
72706f2543Smrg
73706f2543Smrg#define FOURCC_UYVY 0x59565955
74706f2543Smrg#define XVIMAGE_UYVY \
75706f2543Smrg   { \
76706f2543Smrg	FOURCC_UYVY, \
77706f2543Smrg        XvYUV, \
78706f2543Smrg	LSBFirst, \
79706f2543Smrg	{'U','Y','V','Y', \
80706f2543Smrg	  0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
81706f2543Smrg	16, \
82706f2543Smrg	XvPacked, \
83706f2543Smrg	1, \
84706f2543Smrg	0, 0, 0, 0, \
85706f2543Smrg	8, 8, 8, \
86706f2543Smrg	1, 2, 2, \
87706f2543Smrg	1, 1, 1, \
88706f2543Smrg	{'U','Y','V','Y', \
89706f2543Smrg	  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}, \
90706f2543Smrg	XvTopToBottom \
91706f2543Smrg   }
92706f2543Smrg
93706f2543Smrg#define FOURCC_IA44 0x34344149
94706f2543Smrg#define XVIMAGE_IA44 \
95706f2543Smrg   { \
96706f2543Smrg        FOURCC_IA44, \
97706f2543Smrg        XvYUV, \
98706f2543Smrg        LSBFirst, \
99706f2543Smrg        {'I','A','4','4', \
100706f2543Smrg          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
101706f2543Smrg        8, \
102706f2543Smrg        XvPacked, \
103706f2543Smrg        1, \
104706f2543Smrg        0, 0, 0, 0, \
105706f2543Smrg        8, 8, 8, \
106706f2543Smrg        1, 1, 1, \
107706f2543Smrg        1, 1, 1, \
108706f2543Smrg        {'A','I', \
109706f2543Smrg          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}, \
110706f2543Smrg        XvTopToBottom \
111706f2543Smrg   }
112706f2543Smrg
113706f2543Smrg#define FOURCC_AI44 0x34344941
114706f2543Smrg#define XVIMAGE_AI44 \
115706f2543Smrg   { \
116706f2543Smrg        FOURCC_AI44, \
117706f2543Smrg        XvYUV, \
118706f2543Smrg        LSBFirst, \
119706f2543Smrg        {'A','I','4','4', \
120706f2543Smrg          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
121706f2543Smrg        8, \
122706f2543Smrg        XvPacked, \
123706f2543Smrg        1, \
124706f2543Smrg        0, 0, 0, 0, \
125706f2543Smrg        8, 8, 8, \
126706f2543Smrg        1, 1, 1, \
127706f2543Smrg        1, 1, 1, \
128706f2543Smrg        {'I','A', \
129706f2543Smrg          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}, \
130706f2543Smrg        XvTopToBottom \
131706f2543Smrg   }
132706f2543Smrg
133706f2543Smrg#endif /* _XF86_FOURCC_H_ */
134