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