~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.0/xorg/fourcc.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

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