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