1af69d88dSmrg#ifndef ___RNNDB_NV31_MPEG_XML
2af69d88dSmrg#define ___RNNDB_NV31_MPEG_XML
3af69d88dSmrg
4af69d88dSmrg/* Autogenerated file, DO NOT EDIT manually!
5af69d88dSmrg
6af69d88dSmrgThis file was generated by the rules-ng-ng headergen tool in this git repository:
7af69d88dSmrghttp://0x04.net/cgit/index.cgi/rules-ng-ng
8af69d88dSmrggit clone git://0x04.net/rules-ng-ng
9af69d88dSmrg
10af69d88dSmrgThe rules-ng-ng source files this header was generated from are:
11af69d88dSmrg- ../rnndb/nv31_mpeg.xml  (   2269 bytes, from 2011-08-02 11:17:20)
12af69d88dSmrg- ../rnndb/copyright.xml  (   6452 bytes, from 2011-07-15 12:42:43)
13af69d88dSmrg- ../rnndb/nvchipsets.xml (   3617 bytes, from 2011-07-22 11:37:48)
14af69d88dSmrg- ../rnndb/nv_object.xml  (  12672 bytes, from 2011-07-15 12:42:43)
15af69d88dSmrg- ../rnndb/nv_defs.xml    (   4437 bytes, from 2011-07-15 12:42:43)
16af69d88dSmrg- ../rnndb/nv50_defs.xml  (   5468 bytes, from 2011-07-15 12:42:43)
17af69d88dSmrg
18af69d88dSmrgCopyright (C) 2006-2011 by the following authors:
19af69d88dSmrg- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
20af69d88dSmrg- Ben Skeggs (darktama, darktama_)
21af69d88dSmrg- B. R. <koala_br@users.sourceforge.net> (koala_br)
22af69d88dSmrg- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
23af69d88dSmrg- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
24af69d88dSmrg- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
25af69d88dSmrg- Dmitry Baryshkov
26af69d88dSmrg- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
27af69d88dSmrg- EdB <edb_@users.sf.net> (edb_)
28af69d88dSmrg- Erik Waling <erikwailing@users.sf.net> (erikwaling)
29af69d88dSmrg- Francisco Jerez <currojerez@riseup.net> (curro)
30af69d88dSmrg- imirkin <imirkin@users.sf.net> (imirkin)
31af69d88dSmrg- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
32af69d88dSmrg- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
33af69d88dSmrg- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
34af69d88dSmrg- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
35af69d88dSmrg- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
36af69d88dSmrg- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
37af69d88dSmrg- Mark Carey <mark.carey@gmail.com> (careym)
38af69d88dSmrg- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
39af69d88dSmrg- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
40af69d88dSmrg- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
41af69d88dSmrg- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
42af69d88dSmrg- Peter Popov <ironpeter@users.sf.net> (ironpeter)
43af69d88dSmrg- Richard Hughes <hughsient@users.sf.net> (hughsient)
44af69d88dSmrg- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
45af69d88dSmrg- Serge Martin
46af69d88dSmrg- Simon Raffeiner
47af69d88dSmrg- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
48af69d88dSmrg- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
49af69d88dSmrg- sturmflut <sturmflut@users.sf.net> (sturmflut)
50af69d88dSmrg- Sylvain Munaut <tnt@246tNt.com>
51af69d88dSmrg- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
52af69d88dSmrg- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
53af69d88dSmrg- Younes Manton <younes.m@gmail.com> (ymanton)
54af69d88dSmrg
55af69d88dSmrgPermission is hereby granted, free of charge, to any person obtaining
56af69d88dSmrga copy of this software and associated documentation files (the
57af69d88dSmrg"Software"), to deal in the Software without restriction, including
58af69d88dSmrgwithout limitation the rights to use, copy, modify, merge, publish,
59af69d88dSmrgdistribute, sublicense, and/or sell copies of the Software, and to
60af69d88dSmrgpermit persons to whom the Software is furnished to do so, subject to
61af69d88dSmrgthe following conditions:
62af69d88dSmrg
63af69d88dSmrgThe above copyright notice and this permission notice (including the
64af69d88dSmrgnext paragraph) shall be included in all copies or substantial
65af69d88dSmrgportions of the Software.
66af69d88dSmrg
67af69d88dSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
68af69d88dSmrgEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69af69d88dSmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
70af69d88dSmrgIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
71af69d88dSmrgLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
72af69d88dSmrgOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
73af69d88dSmrgWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
74af69d88dSmrg*/
75af69d88dSmrg
76af69d88dSmrg
77af69d88dSmrg
78af69d88dSmrg#define NV31_MPEG_PITCH						0x00000160
79af69d88dSmrg#define NV31_MPEG_PITCH_PITCH__MASK				0x00001fff
80af69d88dSmrg#define NV31_MPEG_PITCH_PITCH__SHIFT				0
81af69d88dSmrg#define NV31_MPEG_PITCH_UNK					0x00010000
82af69d88dSmrg
83af69d88dSmrg#define NV31_MPEG_SIZE						0x00000164
84af69d88dSmrg#define NV31_MPEG_SIZE_W__MASK					0x0000ffff
85af69d88dSmrg#define NV31_MPEG_SIZE_W__SHIFT					0
86af69d88dSmrg#define NV31_MPEG_SIZE_H__MASK					0xffff0000
87af69d88dSmrg#define NV31_MPEG_SIZE_H__SHIFT					16
88af69d88dSmrg
89af69d88dSmrg#define NV31_MPEG_DMA_CMD					0x00000190
90af69d88dSmrg
91af69d88dSmrg#define NV31_MPEG_DMA_DATA					0x000001a0
92af69d88dSmrg
93af69d88dSmrg#define NV31_MPEG_DMA_IMAGE					0x000001b0
94af69d88dSmrg
95af69d88dSmrg#define NV84_MPEG_DMA_QUERY					0x000001c0
96af69d88dSmrg
97af69d88dSmrg#define NV31_MPEG_IMAGE_Y_OFFSET(i0)			       (0x00000200 + 0x8*(i0))
98af69d88dSmrg#define NV31_MPEG_IMAGE_Y_OFFSET__ESIZE				0x00000008
99af69d88dSmrg#define NV31_MPEG_IMAGE_Y_OFFSET__LEN				0x00000008
100af69d88dSmrg
101af69d88dSmrg#define NV31_MPEG_IMAGE_C_OFFSET(i0)			       (0x00000204 + 0x8*(i0))
102af69d88dSmrg#define NV31_MPEG_IMAGE_C_OFFSET__ESIZE				0x00000008
103af69d88dSmrg#define NV31_MPEG_IMAGE_C_OFFSET__LEN				0x00000008
104af69d88dSmrg
105af69d88dSmrg#define NV31_MPEG_FORMAT					0x00000310
106af69d88dSmrg#define NV31_MPEG_FORMAT_DATA_FORMAT__MASK			0x00000001
107af69d88dSmrg#define NV31_MPEG_FORMAT_DATA_FORMAT__SHIFT			0
108af69d88dSmrg#define NV31_MPEG_FORMAT_DATA_FORMAT_S16			0x00000000
109af69d88dSmrg#define NV31_MPEG_FORMAT_DATA_FORMAT_S8				0x00000001
110af69d88dSmrg#define NV31_MPEG_FORMAT_UNK8					0x00000100
111af69d88dSmrg
112af69d88dSmrg#define NV31_MPEG_IDCT_ENABLE					0x00000314
113af69d88dSmrg
114af69d88dSmrg
115af69d88dSmrg#define NV84_MPEG_QUERY_OFFSET					0x0000031c
116af69d88dSmrg
117af69d88dSmrg#define NV84_MPEG_QUERY_COUNTER					0x00000320
118af69d88dSmrg
119af69d88dSmrg#define NV31_MPEG_CMD_OFFSET					0x00000380
120af69d88dSmrg
121af69d88dSmrg#define NV31_MPEG_CMD_SIZE					0x00000384
122af69d88dSmrg
123af69d88dSmrg#define NV31_MPEG_DATA_OFFSET					0x0000038c
124af69d88dSmrg
125af69d88dSmrg#define NV31_MPEG_DATA_SIZE					0x00000390
126af69d88dSmrg
127af69d88dSmrg#define NV31_MPEG_EXEC						0x00000394
128af69d88dSmrg
129af69d88dSmrg
130af69d88dSmrg#endif /* ___RNNDB_NV31_MPEG_XML */
131