1848b8605Smrg#ifndef ___RNNDB_NV17_MPEG_XML 2848b8605Smrg#define ___RNNDB_NV17_MPEG_XML 3848b8605Smrg 4848b8605Smrg/* Autogenerated file, DO NOT EDIT manually! 5848b8605Smrg 6848b8605SmrgThis file was generated by the rules-ng-ng headergen tool in this git repository: 7848b8605Smrghttp://0x04.net/cgit/index.cgi/rules-ng-ng 8848b8605Smrggit clone git://0x04.net/rules-ng-ng 9848b8605Smrg 10848b8605SmrgThe rules-ng-ng source files this header was generated from are: 11848b8605Smrg- ../rnndb/nv17_mpeg.xml ( 6846 bytes, from 2011-08-08 14:21:26) 12848b8605Smrg- ../rnndb/copyright.xml ( 6452 bytes, from 2011-07-15 12:42:43) 13848b8605Smrg- ../rnndb/nvchipsets.xml ( 3617 bytes, from 2011-07-22 11:37:48) 14848b8605Smrg 15848b8605SmrgCopyright (C) 2006-2011 by the following authors: 16848b8605Smrg- Artur Huillet <arthur.huillet@free.fr> (ahuillet) 17848b8605Smrg- Ben Skeggs (darktama, darktama_) 18848b8605Smrg- B. R. <koala_br@users.sourceforge.net> (koala_br) 19848b8605Smrg- Carlos Martin <carlosmn@users.sf.net> (carlosmn) 20848b8605Smrg- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr) 21848b8605Smrg- Dawid Gajownik <gajownik@users.sf.net> (gajownik) 22848b8605Smrg- Dmitry Baryshkov 23848b8605Smrg- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag) 24848b8605Smrg- EdB <edb_@users.sf.net> (edb_) 25848b8605Smrg- Erik Waling <erikwailing@users.sf.net> (erikwaling) 26848b8605Smrg- Francisco Jerez <currojerez@riseup.net> (curro) 27848b8605Smrg- imirkin <imirkin@users.sf.net> (imirkin) 28848b8605Smrg- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome) 29848b8605Smrg- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy) 30848b8605Smrg- Laurent Carlier <lordheavym@gmail.com> (lordheavy) 31848b8605Smrg- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1) 32848b8605Smrg- Maarten Maathuis <madman2003@gmail.com> (stillunknown) 33848b8605Smrg- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin) 34848b8605Smrg- Mark Carey <mark.carey@gmail.com> (careym) 35848b8605Smrg- Matthieu Castet <matthieu.castet@parrot.com> (mat-c) 36848b8605Smrg- nvidiaman <nvidiaman@users.sf.net> (nvidiaman) 37848b8605Smrg- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata) 38848b8605Smrg- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen) 39848b8605Smrg- Peter Popov <ironpeter@users.sf.net> (ironpeter) 40848b8605Smrg- Richard Hughes <hughsient@users.sf.net> (hughsient) 41848b8605Smrg- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar) 42848b8605Smrg- Serge Martin 43848b8605Smrg- Simon Raffeiner 44848b8605Smrg- Stephane Loeuillet <leroutier@users.sf.net> (leroutier) 45848b8605Smrg- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu) 46848b8605Smrg- sturmflut <sturmflut@users.sf.net> (sturmflut) 47848b8605Smrg- Sylvain Munaut <tnt@246tNt.com> 48848b8605Smrg- Victor Stinner <victor.stinner@haypocalc.com> (haypo) 49848b8605Smrg- Wladmir van der Laan <laanwj@gmail.com> (miathan6) 50848b8605Smrg- Younes Manton <younes.m@gmail.com> (ymanton) 51848b8605Smrg 52848b8605SmrgPermission is hereby granted, free of charge, to any person obtaining 53848b8605Smrga copy of this software and associated documentation files (the 54848b8605Smrg"Software"), to deal in the Software without restriction, including 55848b8605Smrgwithout limitation the rights to use, copy, modify, merge, publish, 56848b8605Smrgdistribute, sublicense, and/or sell copies of the Software, and to 57848b8605Smrgpermit persons to whom the Software is furnished to do so, subject to 58848b8605Smrgthe following conditions: 59848b8605Smrg 60848b8605SmrgThe above copyright notice and this permission notice (including the 61848b8605Smrgnext paragraph) shall be included in all copies or substantial 62848b8605Smrgportions of the Software. 63848b8605Smrg 64848b8605SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 65848b8605SmrgEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 66848b8605SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 67848b8605SmrgIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE 68848b8605SmrgLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 69848b8605SmrgOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 70848b8605SmrgWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 71848b8605Smrg*/ 72848b8605Smrg 73848b8605Smrg 74848b8605Smrg#define NV17_MPEG_CMD_NOP_OP__MASK 0xf0000000 75848b8605Smrg#define NV17_MPEG_CMD_NOP_OP__SHIFT 28 76848b8605Smrg#define NV17_MPEG_CMD_NOP_OP_NOP 0x10000000 77848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OFFSET__MASK 0x00ffffff 78848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OFFSET__SHIFT 0 79848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OFFSET__SHR 5 80848b8605Smrg#define NV17_MPEG_CMD_SURFACE_PLANE__MASK 0x01000000 81848b8605Smrg#define NV17_MPEG_CMD_SURFACE_PLANE__SHIFT 24 82848b8605Smrg#define NV17_MPEG_CMD_SURFACE_PLANE_LUMA 0x00000000 83848b8605Smrg#define NV17_MPEG_CMD_SURFACE_PLANE_CHROMA 0x01000000 84848b8605Smrg#define NV17_MPEG_CMD_SURFACE_INDEX__MASK 0x0e000000 85848b8605Smrg#define NV17_MPEG_CMD_SURFACE_INDEX__SHIFT 25 86848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OP__MASK 0xf0000000 87848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OP__SHIFT 28 88848b8605Smrg#define NV17_MPEG_CMD_SURFACE_OP_SURFACE 0x20000000 89848b8605Smrg#define NV17_MPEG_CMD_SIZE_WIDTH__MASK 0x000007ff 90848b8605Smrg#define NV17_MPEG_CMD_SIZE_WIDTH__SHIFT 0 91848b8605Smrg#define NV17_MPEG_CMD_SIZE_HEIGHT__MASK 0x007ff000 92848b8605Smrg#define NV17_MPEG_CMD_SIZE_HEIGHT__SHIFT 12 93848b8605Smrg#define NV17_MPEG_CMD_SIZE_OP__MASK 0xff000000 94848b8605Smrg#define NV17_MPEG_CMD_SIZE_OP__SHIFT 24 95848b8605Smrg#define NV17_MPEG_CMD_SIZE_OP_SIZE 0x30000000 96848b8605Smrg#define NV17_MPEG_CMD_PITCH_PITCH__MASK 0x0000007f 97848b8605Smrg#define NV17_MPEG_CMD_PITCH_PITCH__SHIFT 0 98848b8605Smrg#define NV17_MPEG_CMD_PITCH_OP__MASK 0xff000000 99848b8605Smrg#define NV17_MPEG_CMD_PITCH_OP__SHIFT 24 100848b8605Smrg#define NV17_MPEG_CMD_PITCH_OP_PITCH 0x31000000 101848b8605Smrg#define NV17_MPEG_CMD_MODE_IDCT_ENABLE 0x00000001 102848b8605Smrg#define NV17_MPEG_CMD_MODE_IQ_ENABLE 0x00000010 103848b8605Smrg#define NV17_MPEG_CMD_MODE_OP__MASK 0xff000000 104848b8605Smrg#define NV17_MPEG_CMD_MODE_OP__SHIFT 24 105848b8605Smrg#define NV17_MPEG_CMD_MODE_OP_MODE 0x32000000 106848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_QUANT_SCALE__MASK 0x000001fe 107848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_QUANT_SCALE__SHIFT 1 108848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_INTRA_DC_MULT__MASK 0x00001e00 109848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_INTRA_DC_MULT__SHIFT 9 110848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_UNK13__MASK 0x00006000 111848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_UNK13__SHIFT 13 112848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_OP__MASK 0xf0000000 113848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_OP__SHIFT 28 114848b8605Smrg#define NV17_MPEG_CMD_IQ_SETUP_OP_IQ_SETUP 0x40000000 115848b8605Smrg#define NV17_MPEG_CMD_IQ_MATRIX_INTRA 0x00000001 116848b8605Smrg#define NV17_MPEG_CMD_IQ_MATRIX_OP__MASK 0xf0000000 117848b8605Smrg#define NV17_MPEG_CMD_IQ_MATRIX_OP__SHIFT 28 118848b8605Smrg#define NV17_MPEG_CMD_IQ_MATRIX_OP_IQ_MATRIX 0x50000000 119848b8605Smrg#define NV17_MPEG_CMD_BLOCK_DATA_INTRA 0x00000001 120848b8605Smrg#define NV17_MPEG_CMD_BLOCK_DATA_OP__MASK 0xf0000000 121848b8605Smrg#define NV17_MPEG_CMD_BLOCK_DATA_OP__SHIFT 28 122848b8605Smrg#define NV17_MPEG_CMD_BLOCK_DATA_OP_BLOCK_DATA 0x60000000 123848b8605Smrg#define NV17_MPEG_BLOCK_DATA_LAST 0x00000001 124848b8605Smrg#define NV17_MPEG_BLOCK_DATA_IDX__MASK 0x0000003e 125848b8605Smrg#define NV17_MPEG_BLOCK_DATA_IDX__SHIFT 1 126848b8605Smrg#define NV17_MPEG_BLOCK_DATA_IDX__SHR 1 127848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD1__MASK 0x0003ffc0 128848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD1__SHIFT 6 129848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD1_FORCE_0 0x00010000 130848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD0__MASK 0x7ff80000 131848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD0__SHIFT 19 132848b8605Smrg#define NV17_MPEG_BLOCK_DATA_COORD0_FORCE_0 0x80000000 133848b8605Smrg#define NV17_MPEG_CMD_SYNC_INTR 0x00000001 134848b8605Smrg#define NV17_MPEG_CMD_SYNC_OP__MASK 0xff000000 135848b8605Smrg#define NV17_MPEG_CMD_SYNC_OP__SHIFT 24 136848b8605Smrg#define NV17_MPEG_CMD_SYNC_OP_SYNC 0x70000000 137848b8605Smrg#define NV17_MPEG_CMD_SEQUENCE_OP__MASK 0xff000000 138848b8605Smrg#define NV17_MPEG_CMD_SEQUENCE_OP__SHIFT 24 139848b8605Smrg#define NV17_MPEG_CMD_SEQUENCE_OP_SEQUENCE 0x71000000 140848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD__MASK 0x00008000 141848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD__SHIFT 15 142848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD_ODD 0x00000000 143848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_X_COORD_EVEN 0x00008000 144848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN__MASK 0x00010000 145848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN__SHIFT 16 146848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN_DOUBLE 0x00000000 147848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_RUN_SINGLE 0x00010000 148848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD__MASK 0x00020000 149848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD__SHIFT 17 150848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD_TOP 0x00000000 151848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FIELD_BOTTOM 0x00020000 152848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE__MASK 0x00080000 153848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE__SHIFT 19 154848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE_FIELD 0x00000000 155848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_TYPE_FRAME 0x00080000 156848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_SURFACE__MASK 0x00700000 157848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_SURFACE__SHIFT 20 158848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE__MASK 0x00800000 159848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE__SHIFT 23 160848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE_FRAME 0x00000000 161848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_FRAME_DCT_TYPE_FIELD 0x00800000 162848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_CBP__MASK 0x0c000000 163848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_CBP__SHIFT 26 164848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP__MASK 0xf0000000 165848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP__SHIFT 28 166848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MB_HEADER_OP_CHROMA_MB_HEADER 0x80000000 167848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD__MASK 0x00008000 168848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD__SHIFT 15 169848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD_ODD 0x00000000 170848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_X_COORD_EVEN 0x00008000 171848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN__MASK 0x00010000 172848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN__SHIFT 16 173848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN_DOUBLE 0x00000000 174848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_RUN_SINGLE 0x00010000 175848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD__MASK 0x00020000 176848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD__SHIFT 17 177848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD_TOP 0x00000000 178848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FIELD_BOTTOM 0x00020000 179848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE__MASK 0x00080000 180848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE__SHIFT 19 181848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE_FIELD 0x00000000 182848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_TYPE_FRAME 0x00080000 183848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_SURFACE__MASK 0x00700000 184848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_SURFACE__SHIFT 20 185848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE__MASK 0x00800000 186848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE__SHIFT 23 187848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE_FRAME 0x00000000 188848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_FRAME_DCT_TYPE_FIELD 0x00800000 189848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_CBP__MASK 0x0f000000 190848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_CBP__SHIFT 24 191848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP__MASK 0xf0000000 192848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP__SHIFT 28 193848b8605Smrg#define NV17_MPEG_CMD_LUMA_MB_HEADER_OP_LUMA_MB_HEADER 0x90000000 194848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_X__MASK 0x000007ff 195848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_X__SHIFT 0 196848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_Y__MASK 0x007ff000 197848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_Y__SHIFT 12 198848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_OP__MASK 0xf0000000 199848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_OP__SHIFT 28 200848b8605Smrg#define NV17_MPEG_CMD_MB_COORDS_OP_MB_COORDS 0xa0000000 201848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT__MASK 0x00010000 202848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT__SHIFT 16 203848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT_1 0x00000000 204848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_COUNT_2 0x00010000 205848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD__MASK 0x00020000 206848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD__SHIFT 17 207848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD_TOP 0x00000000 208848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_FIELD_BOTTOM 0x00020000 209848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE__MASK 0x00080000 210848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE__SHIFT 19 211848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE_FIELD 0x00000000 212848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_TYPE_FRAME 0x00080000 213848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_SURFACE__MASK 0x00700000 214848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_SURFACE__SHIFT 20 215848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_IDX 0x00800000 216848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT__MASK 0x01000000 217848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT__SHIFT 24 218848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT_FIELD 0x00000000 219848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_MV_SPLIT_HALF_MB 0x01000000 220848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_Y_HALF 0x02000000 221848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_X_HALF 0x04000000 222848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION__MASK 0x08000000 223848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION__SHIFT 27 224848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION_FORWARD 0x00000000 225848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_DIRECTION_BACKWARD 0x08000000 226848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP__MASK 0xf0000000 227848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP__SHIFT 28 228848b8605Smrg#define NV17_MPEG_CMD_CHROMA_MV_HEADER_OP_CHROMA_MV_HEADER 0xc0000000 229848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT__MASK 0x00010000 230848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT__SHIFT 16 231848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT_1 0x00000000 232848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_COUNT_2 0x00010000 233848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD__MASK 0x00020000 234848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD__SHIFT 17 235848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD_TOP 0x00000000 236848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_FIELD_BOTTOM 0x00020000 237848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE__MASK 0x00080000 238848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE__SHIFT 19 239848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE_FIELD 0x00000000 240848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_TYPE_FRAME 0x00080000 241848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_SURFACE__MASK 0x00700000 242848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_SURFACE__SHIFT 20 243848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_IDX 0x00800000 244848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT__MASK 0x01000000 245848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT__SHIFT 24 246848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT_FIELD 0x00000000 247848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_MV_SPLIT_HALF_MB 0x01000000 248848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_Y_HALF 0x02000000 249848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_X_HALF 0x04000000 250848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION__MASK 0x08000000 251848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION__SHIFT 27 252848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION_FORWARD 0x00000000 253848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_DIRECTION_BACKWARD 0x08000000 254848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP__MASK 0xf0000000 255848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP__SHIFT 28 256848b8605Smrg#define NV17_MPEG_CMD_LUMA_MV_HEADER_OP_LUMA_MV_HEADER 0xd0000000 257848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_X__MASK 0x000007ff 258848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_X__SHIFT 0 259848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_Y__MASK 0x007ff000 260848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_Y__SHIFT 12 261848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_OP__MASK 0xf0000000 262848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_OP__SHIFT 28 263848b8605Smrg#define NV17_MPEG_CMD_MV_COORDS_OP_MV_COORDS 0xe0000000 264848b8605Smrg 265848b8605Smrg#endif /* ___RNNDB_NV17_MPEG_XML */ 266