1af69d88dSmrg#ifndef ___RNNDB_NV17_MPEG_XML
2af69d88dSmrg#define ___RNNDB_NV17_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/nv17_mpeg.xml  (   6846 bytes, from 2011-08-08 14:21:26)
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
15af69d88dSmrgCopyright (C) 2006-2011 by the following authors:
16af69d88dSmrg- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
17af69d88dSmrg- Ben Skeggs (darktama, darktama_)
18af69d88dSmrg- B. R. <koala_br@users.sourceforge.net> (koala_br)
19af69d88dSmrg- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
20af69d88dSmrg- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
21af69d88dSmrg- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
22af69d88dSmrg- Dmitry Baryshkov
23af69d88dSmrg- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
24af69d88dSmrg- EdB <edb_@users.sf.net> (edb_)
25af69d88dSmrg- Erik Waling <erikwailing@users.sf.net> (erikwaling)
26af69d88dSmrg- Francisco Jerez <currojerez@riseup.net> (curro)
27af69d88dSmrg- imirkin <imirkin@users.sf.net> (imirkin)
28af69d88dSmrg- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
29af69d88dSmrg- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
30af69d88dSmrg- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
31af69d88dSmrg- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
32af69d88dSmrg- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
33af69d88dSmrg- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
34af69d88dSmrg- Mark Carey <mark.carey@gmail.com> (careym)
35af69d88dSmrg- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
36af69d88dSmrg- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
37af69d88dSmrg- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
38af69d88dSmrg- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
39af69d88dSmrg- Peter Popov <ironpeter@users.sf.net> (ironpeter)
40af69d88dSmrg- Richard Hughes <hughsient@users.sf.net> (hughsient)
41af69d88dSmrg- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
42af69d88dSmrg- Serge Martin
43af69d88dSmrg- Simon Raffeiner
44af69d88dSmrg- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
45af69d88dSmrg- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
46af69d88dSmrg- sturmflut <sturmflut@users.sf.net> (sturmflut)
47af69d88dSmrg- Sylvain Munaut <tnt@246tNt.com>
48af69d88dSmrg- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
49af69d88dSmrg- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
50af69d88dSmrg- Younes Manton <younes.m@gmail.com> (ymanton)
51af69d88dSmrg
52af69d88dSmrgPermission is hereby granted, free of charge, to any person obtaining
53af69d88dSmrga copy of this software and associated documentation files (the
54af69d88dSmrg"Software"), to deal in the Software without restriction, including
55af69d88dSmrgwithout limitation the rights to use, copy, modify, merge, publish,
56af69d88dSmrgdistribute, sublicense, and/or sell copies of the Software, and to
57af69d88dSmrgpermit persons to whom the Software is furnished to do so, subject to
58af69d88dSmrgthe following conditions:
59af69d88dSmrg
60af69d88dSmrgThe above copyright notice and this permission notice (including the
61af69d88dSmrgnext paragraph) shall be included in all copies or substantial
62af69d88dSmrgportions of the Software.
63af69d88dSmrg
64af69d88dSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
65af69d88dSmrgEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
66af69d88dSmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
67af69d88dSmrgIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
68af69d88dSmrgLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
69af69d88dSmrgOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
70af69d88dSmrgWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
71af69d88dSmrg*/
72af69d88dSmrg
73af69d88dSmrg
74af69d88dSmrg#define NV17_MPEG_CMD_NOP_OP__MASK				0xf0000000
75af69d88dSmrg#define NV17_MPEG_CMD_NOP_OP__SHIFT				28
76af69d88dSmrg#define NV17_MPEG_CMD_NOP_OP_NOP				0x10000000
77af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OFFSET__MASK			0x00ffffff
78af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OFFSET__SHIFT			0
79af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OFFSET__SHR			5
80af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_PLANE__MASK			0x01000000
81af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_PLANE__SHIFT			24
82af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_PLANE_LUMA			0x00000000
83af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_PLANE_CHROMA			0x01000000
84af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_INDEX__MASK			0x0e000000
85af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_INDEX__SHIFT			25
86af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OP__MASK				0xf0000000
87af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OP__SHIFT				28
88af69d88dSmrg#define NV17_MPEG_CMD_SURFACE_OP_SURFACE			0x20000000
89af69d88dSmrg#define NV17_MPEG_CMD_SIZE_WIDTH__MASK				0x000007ff
90af69d88dSmrg#define NV17_MPEG_CMD_SIZE_WIDTH__SHIFT				0
91af69d88dSmrg#define NV17_MPEG_CMD_SIZE_HEIGHT__MASK				0x007ff000
92af69d88dSmrg#define NV17_MPEG_CMD_SIZE_HEIGHT__SHIFT			12
93af69d88dSmrg#define NV17_MPEG_CMD_SIZE_OP__MASK				0xff000000
94af69d88dSmrg#define NV17_MPEG_CMD_SIZE_OP__SHIFT				24
95af69d88dSmrg#define NV17_MPEG_CMD_SIZE_OP_SIZE				0x30000000
96af69d88dSmrg#define NV17_MPEG_CMD_PITCH_PITCH__MASK				0x0000007f
97af69d88dSmrg#define NV17_MPEG_CMD_PITCH_PITCH__SHIFT			0
98af69d88dSmrg#define NV17_MPEG_CMD_PITCH_OP__MASK				0xff000000
99af69d88dSmrg#define NV17_MPEG_CMD_PITCH_OP__SHIFT				24
100af69d88dSmrg#define NV17_MPEG_CMD_PITCH_OP_PITCH				0x31000000
101af69d88dSmrg#define NV17_MPEG_CMD_MODE_IDCT_ENABLE				0x00000001
102af69d88dSmrg#define NV17_MPEG_CMD_MODE_IQ_ENABLE				0x00000010
103af69d88dSmrg#define NV17_MPEG_CMD_MODE_OP__MASK				0xff000000
104af69d88dSmrg#define NV17_MPEG_CMD_MODE_OP__SHIFT				24
105af69d88dSmrg#define NV17_MPEG_CMD_MODE_OP_MODE				0x32000000
106af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_QUANT_SCALE__MASK		0x000001fe
107af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_QUANT_SCALE__SHIFT		1
108af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_INTRA_DC_MULT__MASK		0x00001e00
109af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_INTRA_DC_MULT__SHIFT		9
110af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_UNK13__MASK			0x00006000
111af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_UNK13__SHIFT			13
112af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_OP__MASK				0xf0000000
113af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_OP__SHIFT			28
114af69d88dSmrg#define NV17_MPEG_CMD_IQ_SETUP_OP_IQ_SETUP			0x40000000
115af69d88dSmrg#define NV17_MPEG_CMD_IQ_MATRIX_INTRA				0x00000001
116af69d88dSmrg#define NV17_MPEG_CMD_IQ_MATRIX_OP__MASK			0xf0000000
117af69d88dSmrg#define NV17_MPEG_CMD_IQ_MATRIX_OP__SHIFT			28
118af69d88dSmrg#define NV17_MPEG_CMD_IQ_MATRIX_OP_IQ_MATRIX			0x50000000
119af69d88dSmrg#define NV17_MPEG_CMD_BLOCK_DATA_INTRA				0x00000001
120af69d88dSmrg#define NV17_MPEG_CMD_BLOCK_DATA_OP__MASK			0xf0000000
121af69d88dSmrg#define NV17_MPEG_CMD_BLOCK_DATA_OP__SHIFT			28
122af69d88dSmrg#define NV17_MPEG_CMD_BLOCK_DATA_OP_BLOCK_DATA			0x60000000
123af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_LAST				0x00000001
124af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_IDX__MASK				0x0000003e
125af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_IDX__SHIFT				1
126af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_IDX__SHR				1
127af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD1__MASK			0x0003ffc0
128af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD1__SHIFT			6
129af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD1_FORCE_0			0x00010000
130af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD0__MASK			0x7ff80000
131af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD0__SHIFT			19
132af69d88dSmrg#define NV17_MPEG_BLOCK_DATA_COORD0_FORCE_0			0x80000000
133af69d88dSmrg#define NV17_MPEG_CMD_SYNC_INTR					0x00000001
134af69d88dSmrg#define NV17_MPEG_CMD_SYNC_OP__MASK				0xff000000
135af69d88dSmrg#define NV17_MPEG_CMD_SYNC_OP__SHIFT				24
136af69d88dSmrg#define NV17_MPEG_CMD_SYNC_OP_SYNC				0x70000000
137af69d88dSmrg#define NV17_MPEG_CMD_SEQUENCE_OP__MASK				0xff000000
138af69d88dSmrg#define NV17_MPEG_CMD_SEQUENCE_OP__SHIFT			24
139af69d88dSmrg#define NV17_MPEG_CMD_SEQUENCE_OP_SEQUENCE			0x71000000
140af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD__MASK		0x00008000
141af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD__SHIFT		15
142af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD_ODD		0x00000000
143af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD_EVEN		0x00008000
144af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN__MASK		0x00010000
145af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN__SHIFT		16
146af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN_DOUBLE		0x00000000
147af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN_SINGLE		0x00010000
148af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD__MASK		0x00020000
149af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD__SHIFT		17
150af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD_TOP		0x00000000
151af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD_BOTTOM		0x00020000
152af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE__MASK		0x00080000
153af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE__SHIFT		19
154af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE_FIELD		0x00000000
155af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE_FRAME		0x00080000
156af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_SURFACE__MASK		0x00700000
157af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_SURFACE__SHIFT		20
158af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE__MASK	0x00800000
159af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE__SHIFT	23
160af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE_FRAME	0x00000000
161af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE_FIELD	0x00800000
162af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_CBP__MASK		0x0c000000
163af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_CBP__SHIFT		26
164af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP__MASK			0xf0000000
165af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP__SHIFT		28
166af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP_CHROMA_MB_HEADER	0x80000000
167af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD__MASK		0x00008000
168af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD__SHIFT		15
169af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD_ODD		0x00000000
170af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD_EVEN		0x00008000
171af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN__MASK			0x00010000
172af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN__SHIFT			16
173af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN_DOUBLE			0x00000000
174af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN_SINGLE			0x00010000
175af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD__MASK		0x00020000
176af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD__SHIFT		17
177af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD_TOP			0x00000000
178af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD_BOTTOM		0x00020000
179af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE__MASK			0x00080000
180af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE__SHIFT		19
181af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE_FIELD			0x00000000
182af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE_FRAME			0x00080000
183af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_SURFACE__MASK		0x00700000
184af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_SURFACE__SHIFT		20
185af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE__MASK	0x00800000
186af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE__SHIFT	23
187af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE_FRAME	0x00000000
188af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE_FIELD	0x00800000
189af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_CBP__MASK			0x0f000000
190af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_CBP__SHIFT			24
191af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP__MASK			0xf0000000
192af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP__SHIFT			28
193af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP_LUMA_MB_HEADER		0x90000000
194af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_X__MASK				0x000007ff
195af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_X__SHIFT			0
196af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_Y__MASK				0x007ff000
197af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_Y__SHIFT			12
198af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_OP__MASK			0xf0000000
199af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_OP__SHIFT			28
200af69d88dSmrg#define NV17_MPEG_CMD_MB_COORDS_OP_MB_COORDS			0xa0000000
201af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT__MASK		0x00010000
202af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT__SHIFT		16
203af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT_1			0x00000000
204af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT_2			0x00010000
205af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD__MASK		0x00020000
206af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD__SHIFT		17
207af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD_TOP		0x00000000
208af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD_BOTTOM		0x00020000
209af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE__MASK		0x00080000
210af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE__SHIFT		19
211af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE_FIELD		0x00000000
212af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE_FRAME		0x00080000
213af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_SURFACE__MASK		0x00700000
214af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_SURFACE__SHIFT		20
215af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_IDX			0x00800000
216af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT__MASK		0x01000000
217af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT__SHIFT		24
218af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT_FIELD		0x00000000
219af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT_HALF_MB		0x01000000
220af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_Y_HALF			0x02000000
221af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_X_HALF			0x04000000
222af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION__MASK		0x08000000
223af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION__SHIFT		27
224af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION_FORWARD	0x00000000
225af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION_BACKWARD	0x08000000
226af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP__MASK			0xf0000000
227af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP__SHIFT		28
228af69d88dSmrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP_CHROMA_MV_HEADER	0xc0000000
229af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT__MASK		0x00010000
230af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT__SHIFT		16
231af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT_1			0x00000000
232af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT_2			0x00010000
233af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD__MASK		0x00020000
234af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD__SHIFT		17
235af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD_TOP			0x00000000
236af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD_BOTTOM		0x00020000
237af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE__MASK			0x00080000
238af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE__SHIFT		19
239af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE_FIELD			0x00000000
240af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE_FRAME			0x00080000
241af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_SURFACE__MASK		0x00700000
242af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_SURFACE__SHIFT		20
243af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_IDX			0x00800000
244af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT__MASK		0x01000000
245af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT__SHIFT		24
246af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT_FIELD		0x00000000
247af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT_HALF_MB		0x01000000
248af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_Y_HALF			0x02000000
249af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_X_HALF			0x04000000
250af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION__MASK		0x08000000
251af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION__SHIFT		27
252af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION_FORWARD		0x00000000
253af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION_BACKWARD		0x08000000
254af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP__MASK			0xf0000000
255af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP__SHIFT			28
256af69d88dSmrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP_LUMA_MV_HEADER		0xd0000000
257af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_X__MASK				0x000007ff
258af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_X__SHIFT			0
259af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_Y__MASK				0x007ff000
260af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_Y__SHIFT			12
261af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_OP__MASK			0xf0000000
262af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_OP__SHIFT			28
263af69d88dSmrg#define NV17_MPEG_CMD_MV_COORDS_OP_MV_COORDS			0xe0000000
264af69d88dSmrg
265af69d88dSmrg#endif /* ___RNNDB_NV17_MPEG_XML */
266