VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/fourcc.h@ 97956

最後變更 在這個檔案從97956是 69098,由 vboxsync 提交於 7 年 前

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.8 KB
 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/common/fourcc.h,v 1.3 2001/12/03 22:13:24 mvojkovi Exp $ */
2
3/*
4 This header file contains listings of STANDARD guids for video formats.
5 Please do not place non-registered, or incomplete entries in this file.
6 A list of some popular fourcc's are at: http://www.webartz.com/fourcc/
7 For an explanation of fourcc <-> guid mappings see RFC2361.
8*/
9
10#define FOURCC_YUY2 0x32595559
11#define XVIMAGE_YUY2 \
12 { \
13 FOURCC_YUY2, \
14 XvYUV, \
15 LSBFirst, \
16 {'Y','U','Y','2', \
17 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
18 16, \
19 XvPacked, \
20 1, \
21 0, 0, 0, 0, \
22 8, 8, 8, \
23 1, 2, 2, \
24 1, 1, 1, \
25 {'Y','U','Y','V', \
26 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}, \
27 XvTopToBottom \
28 }
29
30#define FOURCC_YV12 0x32315659
31#define XVIMAGE_YV12 \
32 { \
33 FOURCC_YV12, \
34 XvYUV, \
35 LSBFirst, \
36 {'Y','V','1','2', \
37 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
38 12, \
39 XvPlanar, \
40 3, \
41 0, 0, 0, 0, \
42 8, 8, 8, \
43 1, 2, 2, \
44 1, 2, 2, \
45 {'Y','V','U', \
46 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}, \
47 XvTopToBottom \
48 }
49
50#define FOURCC_I420 0x30323449
51#define XVIMAGE_I420 \
52 { \
53 FOURCC_I420, \
54 XvYUV, \
55 LSBFirst, \
56 {'I','4','2','0', \
57 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
58 12, \
59 XvPlanar, \
60 3, \
61 0, 0, 0, 0, \
62 8, 8, 8, \
63 1, 2, 2, \
64 1, 2, 2, \
65 {'Y','U','V', \
66 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}, \
67 XvTopToBottom \
68 }
69
70
71#define FOURCC_UYVY 0x59565955
72#define XVIMAGE_UYVY \
73 { \
74 FOURCC_UYVY, \
75 XvYUV, \
76 LSBFirst, \
77 {'U','Y','V','Y', \
78 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
79 16, \
80 XvPacked, \
81 1, \
82 0, 0, 0, 0, \
83 8, 8, 8, \
84 1, 2, 2, \
85 1, 1, 1, \
86 {'U','Y','V','Y', \
87 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}, \
88 XvTopToBottom \
89 }
90
91#define FOURCC_IA44 0x34344149
92#define XVIMAGE_IA44 \
93 { \
94 FOURCC_IA44, \
95 XvYUV, \
96 LSBFirst, \
97 {'I','A','4','4', \
98 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
99 8, \
100 XvPacked, \
101 1, \
102 0, 0, 0, 0, \
103 8, 8, 8, \
104 1, 1, 1, \
105 1, 1, 1, \
106 {'A','I', \
107 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}, \
108 XvTopToBottom \
109 }
110
111#define FOURCC_AI44 0x34344941
112#define XVIMAGE_AI44 \
113 { \
114 FOURCC_AI44, \
115 XvYUV, \
116 LSBFirst, \
117 {'A','I','4','4', \
118 0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
119 8, \
120 XvPacked, \
121 1, \
122 0, 0, 0, 0, \
123 8, 8, 8, \
124 1, 1, 1, \
125 1, 1, 1, \
126 {'I','A', \
127 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}, \
128 XvTopToBottom \
129 }
130
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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