~ubuntu-branches/ubuntu/edgy/xorg-server/edgy-updates

« back to all changes in this revision

Viewing changes to hw/kdrive/src/fourcc.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Parra Novo
  • Date: 2006-07-25 20:06:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060725200628-gjmmd9gxfxdc4ejs
Tags: 1:1.1.1-0ubuntu1
* New Upstream version
* Changed Build-Depends from mesa-swrast-source to mesa-swx11-source,
  following Debian package nomenclature
* Re-did 12_security_policy_in_etc.diff for 1.1.1
* Dropped 15_security_allocate_local.diff (applied upstream)
* Dropped 16_SECURITY_setuid.diff (applied upstream)
* Dropped 000_ubuntu_fix_read_kernel_mapping.patch (applied upstream)
* Dropped 002_ubuntu_fix_for_certain_intel_chipsets.patch (applied upstream)
* Updated versioned Build-Depends on mesa-swx11-source to version
  6.5.0.cvs.20060725-0ubuntu1
* Added arrayobj.c, arrayobj.h, bitset.h & rbadaptors.h to
  GL/symlink-mesa.sh (linked from mesa-swx11-source)
* Added arrayobj.c to default build target on GL/mesa/main

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/fourcc.h,v 1.4 2003/04/23 21:51:24 tsi 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
#ifndef _XF86_FOURCC_H_
 
11
#define _XF86_FOURCC_H_ 1
 
12
 
 
13
#define FOURCC_YUY2 0x32595559
 
14
#define XVIMAGE_YUY2 \
 
15
   { \
 
16
        FOURCC_YUY2, \
 
17
        XvYUV, \
 
18
        LSBFirst, \
 
19
        {'Y','U','Y','2', \
 
20
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
21
        16, \
 
22
        XvPacked, \
 
23
        1, \
 
24
        0, 0, 0, 0, \
 
25
        8, 8, 8, \
 
26
        1, 2, 2, \
 
27
        1, 1, 1, \
 
28
        {'Y','U','Y','V', \
 
29
          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}, \
 
30
        XvTopToBottom \
 
31
   }
 
32
 
 
33
#define FOURCC_YV12 0x32315659
 
34
#define XVIMAGE_YV12 \
 
35
   { \
 
36
        FOURCC_YV12, \
 
37
        XvYUV, \
 
38
        LSBFirst, \
 
39
        {'Y','V','1','2', \
 
40
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
41
        12, \
 
42
        XvPlanar, \
 
43
        3, \
 
44
        0, 0, 0, 0, \
 
45
        8, 8, 8, \
 
46
        1, 2, 2, \
 
47
        1, 2, 2, \
 
48
        {'Y','V','U', \
 
49
          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}, \
 
50
        XvTopToBottom \
 
51
   }
 
52
 
 
53
#define FOURCC_I420 0x30323449
 
54
#define XVIMAGE_I420 \
 
55
   { \
 
56
        FOURCC_I420, \
 
57
        XvYUV, \
 
58
        LSBFirst, \
 
59
        {'I','4','2','0', \
 
60
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
61
        12, \
 
62
        XvPlanar, \
 
63
        3, \
 
64
        0, 0, 0, 0, \
 
65
        8, 8, 8, \
 
66
        1, 2, 2, \
 
67
        1, 2, 2, \
 
68
        {'Y','U','V', \
 
69
          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}, \
 
70
        XvTopToBottom \
 
71
   }
 
72
 
 
73
 
 
74
#define FOURCC_UYVY 0x59565955
 
75
#define XVIMAGE_UYVY \
 
76
   { \
 
77
        FOURCC_UYVY, \
 
78
        XvYUV, \
 
79
        LSBFirst, \
 
80
        {'U','Y','V','Y', \
 
81
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
82
        16, \
 
83
        XvPacked, \
 
84
        1, \
 
85
        0, 0, 0, 0, \
 
86
        8, 8, 8, \
 
87
        1, 2, 2, \
 
88
        1, 1, 1, \
 
89
        {'U','Y','V','Y', \
 
90
          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}, \
 
91
        XvTopToBottom \
 
92
   }
 
93
 
 
94
#define FOURCC_IA44 0x34344149
 
95
#define XVIMAGE_IA44 \
 
96
   { \
 
97
        FOURCC_IA44, \
 
98
        XvYUV, \
 
99
        LSBFirst, \
 
100
        {'I','A','4','4', \
 
101
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
102
        8, \
 
103
        XvPacked, \
 
104
        1, \
 
105
        0, 0, 0, 0, \
 
106
        8, 8, 8, \
 
107
        1, 1, 1, \
 
108
        1, 1, 1, \
 
109
        {'A','I', \
 
110
          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}, \
 
111
        XvTopToBottom \
 
112
   }
 
113
 
 
114
#define FOURCC_AI44 0x34344941
 
115
#define XVIMAGE_AI44 \
 
116
   { \
 
117
        FOURCC_AI44, \
 
118
        XvYUV, \
 
119
        LSBFirst, \
 
120
        {'A','I','4','4', \
 
121
          0x00,0x00,0x00,0x10,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71}, \
 
122
        8, \
 
123
        XvPacked, \
 
124
        1, \
 
125
        0, 0, 0, 0, \
 
126
        8, 8, 8, \
 
127
        1, 1, 1, \
 
128
        1, 1, 1, \
 
129
        {'I','A', \
 
130
          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}, \
 
131
        XvTopToBottom \
 
132
   }
 
133
 
 
134
#endif /* _XF86_FOURCC_H_ */