VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/fourcc.h@ 49174

Last change on this file since 49174 was 49174, checked in by vboxsync, 11 years ago

Additions/x11: replace header files for X.Org Server 1.6.0 with those for version 1.6.5 due to an ABI bump in-between.

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1
2/*
3 * Copyright (c) 2000-2003 by The XFree86 Project, Inc.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 * OTHER DEALINGS IN THE SOFTWARE.
22 *
23 * Except as contained in this notice, the name of the copyright holder(s)
24 * and author(s) shall not be used in advertising or otherwise to promote
25 * the sale, use or other dealings in this Software without prior written
26 * authorization from the copyright holder(s) and author(s).
27 */
28
29/*
30 This header file contains listings of STANDARD guids for video formats.
31 Please do not place non-registered, or incomplete entries in this file.
32 A list of some popular fourcc's are at: http://www.webartz.com/fourcc/
33 For an explanation of fourcc <-> guid mappings see RFC2361.
34*/
35
36#ifndef _XF86_FOURCC_H_
37#define _XF86_FOURCC_H_ 1
38
39#define FOURCC_YUY2 0x32595559
40#define XVIMAGE_YUY2 \
41 { \
42 FOURCC_YUY2, \
43 XvYUV, \
44 LSBFirst, \
45 {'Y','U','Y','2', \
46 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
47 16, \
48 XvPacked, \
49 1, \
50 0, 0, 0, 0, \
51 8, 8, 8, \
52 1, 2, 2, \
53 1, 1, 1, \
54 {'Y','U','Y','V', \
55 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}, \
56 XvTopToBottom \
57 }
58
59#define FOURCC_YV12 0x32315659
60#define XVIMAGE_YV12 \
61 { \
62 FOURCC_YV12, \
63 XvYUV, \
64 LSBFirst, \
65 {'Y','V','1','2', \
66 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
67 12, \
68 XvPlanar, \
69 3, \
70 0, 0, 0, 0, \
71 8, 8, 8, \
72 1, 2, 2, \
73 1, 2, 2, \
74 {'Y','V','U', \
75 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}, \
76 XvTopToBottom \
77 }
78
79#define FOURCC_I420 0x30323449
80#define XVIMAGE_I420 \
81 { \
82 FOURCC_I420, \
83 XvYUV, \
84 LSBFirst, \
85 {'I','4','2','0', \
86 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
87 12, \
88 XvPlanar, \
89 3, \
90 0, 0, 0, 0, \
91 8, 8, 8, \
92 1, 2, 2, \
93 1, 2, 2, \
94 {'Y','U','V', \
95 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}, \
96 XvTopToBottom \
97 }
98
99
100#define FOURCC_UYVY 0x59565955
101#define XVIMAGE_UYVY \
102 { \
103 FOURCC_UYVY, \
104 XvYUV, \
105 LSBFirst, \
106 {'U','Y','V','Y', \
107 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
108 16, \
109 XvPacked, \
110 1, \
111 0, 0, 0, 0, \
112 8, 8, 8, \
113 1, 2, 2, \
114 1, 1, 1, \
115 {'U','Y','V','Y', \
116 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}, \
117 XvTopToBottom \
118 }
119
120#define FOURCC_IA44 0x34344149
121#define XVIMAGE_IA44 \
122 { \
123 FOURCC_IA44, \
124 XvYUV, \
125 LSBFirst, \
126 {'I','A','4','4', \
127 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
128 8, \
129 XvPacked, \
130 1, \
131 0, 0, 0, 0, \
132 8, 8, 8, \
133 1, 1, 1, \
134 1, 1, 1, \
135 {'A','I', \
136 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}, \
137 XvTopToBottom \
138 }
139
140#define FOURCC_AI44 0x34344941
141#define XVIMAGE_AI44 \
142 { \
143 FOURCC_AI44, \
144 XvYUV, \
145 LSBFirst, \
146 {'A','I','4','4', \
147 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
148 8, \
149 XvPacked, \
150 1, \
151 0, 0, 0, 0, \
152 8, 8, 8, \
153 1, 1, 1, \
154 1, 1, 1, \
155 {'I','A', \
156 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}, \
157 XvTopToBottom \
158 }
159
160#endif /* _XF86_FOURCC_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette