1 /* 2 * Copyright (c) 2011 Intel Corporation. All Rights Reserved. 3 * Copyright (c) Imagination Technologies Limited, UK 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation the rights to use, copy, modify, merge, publish, 9 * distribute, sub license, and/or sell copies of the Software, and to 10 * permit persons to whom the Software is furnished to do so, subject to 11 * the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the 14 * next paragraph) shall be included in all copies or substantial portions 15 * of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 20 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 */ 25 26 27 /*! 28 ****************************************************************************** 29 @file : /work/sim/msvdx/register_includes/msvdx_cmds_io2.h 30 31 @brief 32 33 @Author <Autogenerated> 34 35 <b>Description:</b>\n 36 This file contains the MSVDX_CMDS_IO2_H Defintions. 37 38 <b>Platform:</b>\n 39 ? 40 41 @Version 42 1.0 43 44 ******************************************************************************/ 45 46 #if !defined (__MSVDX_CMDS_IO2_H__) 47 #define __MSVDX_CMDS_IO2_H__ 48 49 #ifdef __cplusplus 50 extern "C" { 51 #endif 52 53 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_OFFSET (0x0060) 54 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_STRIDE (4) 55 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_NO_ENTRIES (4) 56 57 // MSVDX_CMDS, HORIZONTAL_LUMA_COEFFICIENTS, HOR_LUMA_COEFF_3 58 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_3_MASK (0xFF000000) 59 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_3_LSBMASK (0x000000FF) 60 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_3_SHIFT (24) 61 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_3_SIGNED_FIELD IMG_FALSE 62 63 // MSVDX_CMDS, HORIZONTAL_LUMA_COEFFICIENTS, HOR_LUMA_COEFF_2 64 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_2_MASK (0x00FF0000) 65 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_2_LSBMASK (0x000000FF) 66 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_2_SHIFT (16) 67 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_2_SIGNED_FIELD IMG_FALSE 68 69 // MSVDX_CMDS, HORIZONTAL_LUMA_COEFFICIENTS, HOR_LUMA_COEFF_1 70 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_1_MASK (0x0000FF00) 71 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_1_LSBMASK (0x000000FF) 72 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_1_SHIFT (8) 73 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_1_SIGNED_FIELD IMG_FALSE 74 75 // MSVDX_CMDS, HORIZONTAL_LUMA_COEFFICIENTS, HOR_LUMA_COEFF_0 76 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_0_MASK (0x000000FF) 77 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_0_LSBMASK (0x000000FF) 78 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_0_SHIFT (0) 79 #define MSVDX_CMDS_HORIZONTAL_LUMA_COEFFICIENTS_HOR_LUMA_COEFF_0_SIGNED_FIELD IMG_FALSE 80 81 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_OFFSET (0x0070) 82 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_STRIDE (4) 83 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_NO_ENTRIES (4) 84 85 // MSVDX_CMDS, VERTICAL_LUMA_COEFFICIENTS, VER_LUMA_COEFF_3 86 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_3_MASK (0xFF000000) 87 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_3_LSBMASK (0x000000FF) 88 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_3_SHIFT (24) 89 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_3_SIGNED_FIELD IMG_FALSE 90 91 // MSVDX_CMDS, VERTICAL_LUMA_COEFFICIENTS, VER_LUMA_COEFF_2 92 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_2_MASK (0x00FF0000) 93 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_2_LSBMASK (0x000000FF) 94 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_2_SHIFT (16) 95 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_2_SIGNED_FIELD IMG_FALSE 96 97 // MSVDX_CMDS, VERTICAL_LUMA_COEFFICIENTS, VER_LUMA_COEFF_1 98 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_1_MASK (0x0000FF00) 99 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_1_LSBMASK (0x000000FF) 100 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_1_SHIFT (8) 101 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_1_SIGNED_FIELD IMG_FALSE 102 103 // MSVDX_CMDS, VERTICAL_LUMA_COEFFICIENTS, VER_LUMA_COEFF_0 104 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_0_MASK (0x000000FF) 105 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_0_LSBMASK (0x000000FF) 106 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_0_SHIFT (0) 107 #define MSVDX_CMDS_VERTICAL_LUMA_COEFFICIENTS_VER_LUMA_COEFF_0_SIGNED_FIELD IMG_FALSE 108 109 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_OFFSET (0x0080) 110 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_STRIDE (4) 111 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_NO_ENTRIES (4) 112 113 // MSVDX_CMDS, HORIZONTAL_CHROMA_COEFFICIENTS, HOR_CHROMA_COEFF_3 114 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_3_MASK (0xFF000000) 115 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_3_LSBMASK (0x000000FF) 116 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_3_SHIFT (24) 117 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_3_SIGNED_FIELD IMG_FALSE 118 119 // MSVDX_CMDS, HORIZONTAL_CHROMA_COEFFICIENTS, HOR_CHROMA_COEFF_2 120 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_2_MASK (0x00FF0000) 121 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_2_LSBMASK (0x000000FF) 122 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_2_SHIFT (16) 123 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_2_SIGNED_FIELD IMG_FALSE 124 125 // MSVDX_CMDS, HORIZONTAL_CHROMA_COEFFICIENTS, HOR_CHROMA_COEFF_1 126 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_1_MASK (0x0000FF00) 127 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_1_LSBMASK (0x000000FF) 128 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_1_SHIFT (8) 129 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_1_SIGNED_FIELD IMG_FALSE 130 131 // MSVDX_CMDS, HORIZONTAL_CHROMA_COEFFICIENTS, HOR_CHROMA_COEFF_0 132 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_0_MASK (0x000000FF) 133 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_0_LSBMASK (0x000000FF) 134 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_0_SHIFT (0) 135 #define MSVDX_CMDS_HORIZONTAL_CHROMA_COEFFICIENTS_HOR_CHROMA_COEFF_0_SIGNED_FIELD IMG_FALSE 136 137 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_OFFSET (0x0090) 138 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_STRIDE (4) 139 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_NO_ENTRIES (4) 140 141 // MSVDX_CMDS, VERTICAL_CHROMA_COEFFICIENTS, VER_CHROMA_COEFF_3 142 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_3_MASK (0xFF000000) 143 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_3_LSBMASK (0x000000FF) 144 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_3_SHIFT (24) 145 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_3_SIGNED_FIELD IMG_FALSE 146 147 // MSVDX_CMDS, VERTICAL_CHROMA_COEFFICIENTS, VER_CHROMA_COEFF_2 148 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_2_MASK (0x00FF0000) 149 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_2_LSBMASK (0x000000FF) 150 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_2_SHIFT (16) 151 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_2_SIGNED_FIELD IMG_FALSE 152 153 // MSVDX_CMDS, VERTICAL_CHROMA_COEFFICIENTS, VER_CHROMA_COEFF_1 154 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_1_MASK (0x0000FF00) 155 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_1_LSBMASK (0x000000FF) 156 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_1_SHIFT (8) 157 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_1_SIGNED_FIELD IMG_FALSE 158 159 // MSVDX_CMDS, VERTICAL_CHROMA_COEFFICIENTS, VER_CHROMA_COEFF_0 160 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_0_MASK (0x000000FF) 161 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_0_LSBMASK (0x000000FF) 162 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_0_SHIFT (0) 163 #define MSVDX_CMDS_VERTICAL_CHROMA_COEFFICIENTS_VER_CHROMA_COEFF_0_SIGNED_FIELD IMG_FALSE 164 165 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_OFFSET (0x0100) 166 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_STRIDE (4) 167 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_NO_ENTRIES (32) 168 169 // MSVDX_CMDS REFERENCE_PICTURE_BASE_ADDRESSES REF_BASE_ADDR 170 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_REF_BASE_ADDR_MASK (0xFFFFF000) 171 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_REF_BASE_ADDR_LSBMASK (0x000FFFFF) 172 #define MSVDX_CMDS_REFERENCE_PICTURE_BASE_ADDRESSES_REF_BASE_ADDR_SHIFT (12) 173 174 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_OFFSET (0x0200) 175 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_STRIDE (4) 176 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_NO_ENTRIES (32) 177 178 // MSVDX_CMDS H264_WEIGHTED_FACTORS_A CR_WEIGHT_A 179 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CR_WEIGHT_A_MASK (0x07FC0000) 180 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CR_WEIGHT_A_LSBMASK (0x000001FF) 181 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CR_WEIGHT_A_SHIFT (18) 182 183 // MSVDX_CMDS H264_WEIGHTED_FACTORS_A CB_WEIGHT_A 184 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CB_WEIGHT_A_MASK (0x0003FE00) 185 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CB_WEIGHT_A_LSBMASK (0x000001FF) 186 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_CB_WEIGHT_A_SHIFT (9) 187 188 // MSVDX_CMDS H264_WEIGHTED_FACTORS_A Y_WEIGHT_A 189 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_Y_WEIGHT_A_MASK (0x000001FF) 190 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_Y_WEIGHT_A_LSBMASK (0x000001FF) 191 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_A_Y_WEIGHT_A_SHIFT (0) 192 193 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_OFFSET (0x0280) 194 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_STRIDE (4) 195 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_NO_ENTRIES (32) 196 197 // MSVDX_CMDS H264_WEIGHTED_OFFSET_A CR_OFFSET_A 198 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CR_OFFSET_A_MASK (0x00FF0000) 199 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CR_OFFSET_A_LSBMASK (0x000000FF) 200 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CR_OFFSET_A_SHIFT (16) 201 202 // MSVDX_CMDS H264_WEIGHTED_OFFSET_A CB_OFFSET_A 203 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CB_OFFSET_A_MASK (0x0000FF00) 204 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CB_OFFSET_A_LSBMASK (0x000000FF) 205 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_CB_OFFSET_A_SHIFT (8) 206 207 // MSVDX_CMDS H264_WEIGHTED_OFFSET_A Y_OFFSET_A 208 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_Y_OFFSET_A_MASK (0x000000FF) 209 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_Y_OFFSET_A_LSBMASK (0x000000FF) 210 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_A_Y_OFFSET_A_SHIFT (0) 211 212 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_OFFSET (0x0300) 213 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_STRIDE (4) 214 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_NO_ENTRIES (32) 215 216 // MSVDX_CMDS H264_WEIGHTED_FACTORS_B CR_WEIGHT_B 217 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CR_WEIGHT_B_MASK (0x07FC0000) 218 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CR_WEIGHT_B_LSBMASK (0x000001FF) 219 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CR_WEIGHT_B_SHIFT (18) 220 221 // MSVDX_CMDS H264_WEIGHTED_FACTORS_B CB_WEIGHT_B 222 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CB_WEIGHT_B_MASK (0x0003FE00) 223 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CB_WEIGHT_B_LSBMASK (0x000001FF) 224 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_CB_WEIGHT_B_SHIFT (9) 225 226 // MSVDX_CMDS H264_WEIGHTED_FACTORS_B Y_WEIGHT_B 227 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_Y_WEIGHT_B_MASK (0x000001FF) 228 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_Y_WEIGHT_B_LSBMASK (0x000001FF) 229 #define MSVDX_CMDS_H264_WEIGHTED_FACTORS_B_Y_WEIGHT_B_SHIFT (0) 230 231 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_OFFSET (0x0380) 232 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_STRIDE (4) 233 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_NO_ENTRIES (32) 234 235 // MSVDX_CMDS H264_WEIGHTED_OFFSET_B CR_OFFSET_B 236 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CR_OFFSET_B_MASK (0x00FF0000) 237 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CR_OFFSET_B_LSBMASK (0x000000FF) 238 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CR_OFFSET_B_SHIFT (16) 239 240 // MSVDX_CMDS H264_WEIGHTED_OFFSET_B CB_OFFSET_B 241 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CB_OFFSET_B_MASK (0x0000FF00) 242 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CB_OFFSET_B_LSBMASK (0x000000FF) 243 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_CB_OFFSET_B_SHIFT (8) 244 245 // MSVDX_CMDS H264_WEIGHTED_OFFSET_B Y_OFFSET_B 246 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_Y_OFFSET_B_MASK (0x000000FF) 247 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_Y_OFFSET_B_LSBMASK (0x000000FF) 248 #define MSVDX_CMDS_H264_WEIGHTED_OFFSET_B_Y_OFFSET_B_SHIFT (0) 249 250 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_OFFSET (0x041C) 251 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_STRIDE (4) 252 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_NO_ENTRIES (5) 253 254 // MSVDX_CMDS INTRA_BLOCK_PREDICTION INTRA_PRED_BLOCK_SIZE 255 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_BLOCK_SIZE_MASK (0x00070000) 256 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_BLOCK_SIZE_LSBMASK (0x00000007) 257 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_BLOCK_SIZE_SHIFT (16) 258 259 // MSVDX_CMDS INTRA_BLOCK_PREDICTION INTRA_PRED_MODE3 260 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE3_MASK (0x0000F000) 261 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE3_LSBMASK (0x0000000F) 262 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE3_SHIFT (12) 263 264 // MSVDX_CMDS INTRA_BLOCK_PREDICTION INTRA_PRED_MODE2 265 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE2_MASK (0x00000F00) 266 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE2_LSBMASK (0x0000000F) 267 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE2_SHIFT (8) 268 269 // MSVDX_CMDS INTRA_BLOCK_PREDICTION INTRA_PRED_MODE1 270 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE1_MASK (0x000000F0) 271 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE1_LSBMASK (0x0000000F) 272 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE1_SHIFT (4) 273 274 // MSVDX_CMDS INTRA_BLOCK_PREDICTION INTRA_PRED_MODE0 275 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE0_MASK (0x0000000F) 276 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE0_LSBMASK (0x0000000F) 277 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_INTRA_PRED_MODE0_SHIFT (0) 278 279 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_OFFSET (0x0430) 280 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_STRIDE (4) 281 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_NO_ENTRIES (4) 282 283 // MSVDX_CMDS INTER_BLOCK_PREDICTION WEIGHT_INDEX_B 284 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_B_MASK (0x3E000000) 285 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_B_LSBMASK (0x0000001F) 286 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_B_SHIFT (25) 287 288 // MSVDX_CMDS INTER_BLOCK_PREDICTION WEIGHT_INDEX_A 289 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_A_MASK (0x01F00000) 290 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_A_LSBMASK (0x0000001F) 291 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_WEIGHT_INDEX_A_SHIFT (20) 292 293 // MSVDX_CMDS INTER_BLOCK_PREDICTION INTER_PRED_BLOCK_SIZE 294 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_INTER_PRED_BLOCK_SIZE_MASK (0x00070000) 295 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_INTER_PRED_BLOCK_SIZE_LSBMASK (0x00000007) 296 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_INTER_PRED_BLOCK_SIZE_SHIFT (16) 297 298 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_B_INTERLACED 299 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_B_INTERLACED_MASK (0x00004000) 300 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_B_INTERLACED_LSBMASK (0x00000001) 301 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_B_INTERLACED_SHIFT (14) 302 303 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_B_VALID 304 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_VALID_MASK (0x00002000) 305 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_VALID_LSBMASK (0x00000001) 306 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_VALID_SHIFT (13) 307 308 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_FIELD_B 309 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_B_MASK (0x00001000) 310 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_B_LSBMASK (0x00000001) 311 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_B_SHIFT (12) 312 313 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_B 314 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_MASK (0x00000F00) 315 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_LSBMASK (0x0000000F) 316 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_B_SHIFT (8) 317 318 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_A_INTERLACED 319 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_A_INTERLACED_MASK (0x00000040) 320 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_A_INTERLACED_LSBMASK (0x00000001) 321 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_A_INTERLACED_SHIFT (6) 322 323 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_A_VALID 324 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_VALID_MASK (0x00000020) 325 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_VALID_LSBMASK (0x00000001) 326 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_VALID_SHIFT (5) 327 328 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_FIELD_A 329 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_A_MASK (0x00000010) 330 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_A_LSBMASK (0x00000001) 331 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_FIELD_A_SHIFT (4) 332 333 // MSVDX_CMDS INTER_BLOCK_PREDICTION REF_INDEX_A 334 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_MASK (0x0000000F) 335 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_LSBMASK (0x0000000F) 336 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_REF_INDEX_A_SHIFT (0) 337 338 #define MSVDX_CMDS_MOTION_VECTOR_OFFSET (0x0500) 339 #define MSVDX_CMDS_MOTION_VECTOR_STRIDE (4) 340 #define MSVDX_CMDS_MOTION_VECTOR_NO_ENTRIES (32) 341 342 // MSVDX_CMDS MOTION_VECTOR MV_Y 343 #define MSVDX_CMDS_MOTION_VECTOR_MV_Y_MASK (0x03FFC000) 344 #define MSVDX_CMDS_MOTION_VECTOR_MV_Y_LSBMASK (0x00000FFF) 345 #define MSVDX_CMDS_MOTION_VECTOR_MV_Y_SHIFT (14) 346 347 // MSVDX_CMDS MOTION_VECTOR MV_X 348 #define MSVDX_CMDS_MOTION_VECTOR_MV_X_MASK (0x00003FFF) 349 #define MSVDX_CMDS_MOTION_VECTOR_MV_X_LSBMASK (0x00003FFF) 350 #define MSVDX_CMDS_MOTION_VECTOR_MV_X_SHIFT (0) 351 352 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_OFFSET (0x061C) 353 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_STRIDE (4) 354 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_NO_ENTRIES (5) 355 356 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE1 INTRA_PRED_BLOCK_SIZE_ABOVE1 357 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_BLOCK_SIZE_ABOVE1_MASK (0x00070000) 358 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_BLOCK_SIZE_ABOVE1_LSBMASK (0x00000007) 359 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_BLOCK_SIZE_ABOVE1_SHIFT (16) 360 361 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE1 INTRA_PRED_MODE3_ABOVE1 362 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE3_ABOVE1_MASK (0x0000F000) 363 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE3_ABOVE1_LSBMASK (0x0000000F) 364 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE3_ABOVE1_SHIFT (12) 365 366 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE1 INTRA_PRED_MODE2_ABOVE1 367 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE2_ABOVE1_MASK (0x00000F00) 368 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE2_ABOVE1_LSBMASK (0x0000000F) 369 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE2_ABOVE1_SHIFT (8) 370 371 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE1 INTRA_PRED_MODE1_ABOVE1 372 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE1_ABOVE1_MASK (0x000000F0) 373 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE1_ABOVE1_LSBMASK (0x0000000F) 374 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE1_ABOVE1_SHIFT (4) 375 376 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE1 INTRA_PRED_MODE0_ABOVE1 377 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE0_ABOVE1_MASK (0x0000000F) 378 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE0_ABOVE1_LSBMASK (0x0000000F) 379 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE1_INTRA_PRED_MODE0_ABOVE1_SHIFT (0) 380 381 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_OFFSET (0x0630) 382 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_STRIDE (4) 383 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_NO_ENTRIES (4) 384 385 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 INTER_PRED_BLOCK_SIZE_ABOVE1 386 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_INTER_PRED_BLOCK_SIZE_ABOVE1_MASK (0x00070000) 387 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_INTER_PRED_BLOCK_SIZE_ABOVE1_LSBMASK (0x00000007) 388 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_INTER_PRED_BLOCK_SIZE_ABOVE1_SHIFT (16) 389 390 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_B_VALID_ABOVE1 391 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_VALID_ABOVE1_MASK (0x00002000) 392 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_VALID_ABOVE1_LSBMASK (0x00000001) 393 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_VALID_ABOVE1_SHIFT (13) 394 395 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_FIELD_B_ABOVE1 396 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_B_ABOVE1_MASK (0x00001000) 397 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_B_ABOVE1_LSBMASK (0x00000001) 398 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_B_ABOVE1_SHIFT (12) 399 400 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_B_ABOVE1 401 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_ABOVE1_MASK (0x00000F00) 402 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_ABOVE1_LSBMASK (0x0000000F) 403 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_B_ABOVE1_SHIFT (8) 404 405 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_A_VALID_ABOVE1 406 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_VALID_ABOVE1_MASK (0x00000020) 407 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_VALID_ABOVE1_LSBMASK (0x00000001) 408 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_VALID_ABOVE1_SHIFT (5) 409 410 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_FIELD_A_ABOVE1 411 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_A_ABOVE1_MASK (0x00000010) 412 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_A_ABOVE1_LSBMASK (0x00000001) 413 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_FIELD_A_ABOVE1_SHIFT (4) 414 415 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE1 REF_INDEX_A_ABOVE1 416 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_ABOVE1_MASK (0x0000000F) 417 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_ABOVE1_LSBMASK (0x0000000F) 418 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE1_REF_INDEX_A_ABOVE1_SHIFT (0) 419 420 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_OFFSET (0x0700) 421 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_STRIDE (4) 422 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_NO_ENTRIES (32) 423 424 // MSVDX_CMDS MOTION_VECTOR_ABOVE1 MV_Y_ABOVE1 425 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_Y_ABOVE1_MASK (0x03FFC000) 426 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_Y_ABOVE1_LSBMASK (0x00000FFF) 427 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_Y_ABOVE1_SHIFT (14) 428 429 // MSVDX_CMDS MOTION_VECTOR_ABOVE1 MV_X_ABOVE1 430 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_X_ABOVE1_MASK (0x00003FFF) 431 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_X_ABOVE1_LSBMASK (0x00003FFF) 432 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE1_MV_X_ABOVE1_SHIFT (0) 433 434 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_OFFSET (0x081C) 435 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_STRIDE (4) 436 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_NO_ENTRIES (5) 437 438 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE2 INTRA_PRED_BLOCK_SIZE_ABOVE2 439 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_BLOCK_SIZE_ABOVE2_MASK (0x00070000) 440 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_BLOCK_SIZE_ABOVE2_LSBMASK (0x00000007) 441 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_BLOCK_SIZE_ABOVE2_SHIFT (16) 442 443 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE2 INTRA_PRED_MODE3_ABOVE2 444 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE3_ABOVE2_MASK (0x0000F000) 445 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE3_ABOVE2_LSBMASK (0x0000000F) 446 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE3_ABOVE2_SHIFT (12) 447 448 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE2 INTRA_PRED_MODE2_ABOVE2 449 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE2_ABOVE2_MASK (0x00000F00) 450 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE2_ABOVE2_LSBMASK (0x0000000F) 451 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE2_ABOVE2_SHIFT (8) 452 453 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE2 INTRA_PRED_MODE1_ABOVE2 454 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE1_ABOVE2_MASK (0x000000F0) 455 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE1_ABOVE2_LSBMASK (0x0000000F) 456 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE1_ABOVE2_SHIFT (4) 457 458 // MSVDX_CMDS INTRA_BLOCK_PREDICTION_ABOVE2 INTRA_PRED_MODE0_ABOVE2 459 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE0_ABOVE2_MASK (0x0000000F) 460 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE0_ABOVE2_LSBMASK (0x0000000F) 461 #define MSVDX_CMDS_INTRA_BLOCK_PREDICTION_ABOVE2_INTRA_PRED_MODE0_ABOVE2_SHIFT (0) 462 463 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_OFFSET (0x0830) 464 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_STRIDE (4) 465 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_NO_ENTRIES (4) 466 467 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 INTER_PRED_BLOCK_SIZE_ABOVE2 468 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_INTER_PRED_BLOCK_SIZE_ABOVE2_MASK (0x00070000) 469 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_INTER_PRED_BLOCK_SIZE_ABOVE2_LSBMASK (0x00000007) 470 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_INTER_PRED_BLOCK_SIZE_ABOVE2_SHIFT (16) 471 472 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_B_VALID_ABOVE2 473 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_VALID_ABOVE2_MASK (0x00002000) 474 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_VALID_ABOVE2_LSBMASK (0x00000001) 475 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_VALID_ABOVE2_SHIFT (13) 476 477 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_FIELD_B_ABOVE2 478 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_B_ABOVE2_MASK (0x00001000) 479 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_B_ABOVE2_LSBMASK (0x00000001) 480 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_B_ABOVE2_SHIFT (12) 481 482 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_B_ABOVE2 483 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_ABOVE2_MASK (0x00000F00) 484 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_ABOVE2_LSBMASK (0x0000000F) 485 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_B_ABOVE2_SHIFT (8) 486 487 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_A_VALID_ABOVE2 488 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_VALID_ABOVE2_MASK (0x00000020) 489 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_VALID_ABOVE2_LSBMASK (0x00000001) 490 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_VALID_ABOVE2_SHIFT (5) 491 492 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_FIELD_A_ABOVE2 493 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_A_ABOVE2_MASK (0x00000010) 494 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_A_ABOVE2_LSBMASK (0x00000001) 495 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_FIELD_A_ABOVE2_SHIFT (4) 496 497 // MSVDX_CMDS INTER_BLOCK_PREDICTION_ABOVE2 REF_INDEX_A_ABOVE2 498 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_ABOVE2_MASK (0x0000000F) 499 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_ABOVE2_LSBMASK (0x0000000F) 500 #define MSVDX_CMDS_INTER_BLOCK_PREDICTION_ABOVE2_REF_INDEX_A_ABOVE2_SHIFT (0) 501 502 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_OFFSET (0x0900) 503 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_STRIDE (4) 504 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_NO_ENTRIES (32) 505 506 // MSVDX_CMDS MOTION_VECTOR_ABOVE2 MV_Y_ABOVE2 507 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_Y_ABOVE2_MASK (0x03FFC000) 508 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_Y_ABOVE2_LSBMASK (0x00000FFF) 509 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_Y_ABOVE2_SHIFT (14) 510 511 // MSVDX_CMDS MOTION_VECTOR_ABOVE2 MV_X_ABOVE2 512 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_X_ABOVE2_MASK (0x00003FFF) 513 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_X_ABOVE2_LSBMASK (0x00003FFF) 514 #define MSVDX_CMDS_MOTION_VECTOR_ABOVE2_MV_X_ABOVE2_SHIFT (0) 515 516 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_OFFSET (0x0000) 517 518 // MSVDX_CMDS DISPLAY_PICTURE_SIZE DISPLAY_PICTURE_HEIGHT 519 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_HEIGHT_MASK (0x00FFF000) 520 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_HEIGHT_LSBMASK (0x00000FFF) 521 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_HEIGHT_SHIFT (12) 522 523 // MSVDX_CMDS DISPLAY_PICTURE_SIZE DISPLAY_PICTURE_WIDTH 524 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_WIDTH_MASK (0x00000FFF) 525 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_WIDTH_LSBMASK (0x00000FFF) 526 #define MSVDX_CMDS_DISPLAY_PICTURE_SIZE_DISPLAY_PICTURE_WIDTH_SHIFT (0) 527 528 #define MSVDX_CMDS_CODED_PICTURE_SIZE_OFFSET (0x0004) 529 530 // MSVDX_CMDS CODED_PICTURE_SIZE CODED_PICTURE_HEIGHT 531 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_HEIGHT_MASK (0x00FFF000) 532 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_HEIGHT_LSBMASK (0x00000FFF) 533 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_HEIGHT_SHIFT (12) 534 535 // MSVDX_CMDS CODED_PICTURE_SIZE CODED_PICTURE_WIDTH 536 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_WIDTH_MASK (0x00000FFF) 537 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_WIDTH_LSBMASK (0x00000FFF) 538 #define MSVDX_CMDS_CODED_PICTURE_SIZE_CODED_PICTURE_WIDTH_SHIFT (0) 539 540 #define MSVDX_CMDS_OPERATING_MODE_OFFSET (0x0008) 541 542 // MSVDX_CMDS, OPERATING_MODE, USE_EXT_ROW_STRIDE 543 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_MASK (0x10000000) 544 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_LSBMASK (0x00000001) 545 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_SHIFT (28) 546 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_SIGNED_FIELD IMG_FALSE 547 548 // MSVDX_CMDS OPERATING_MODE CHROMA_INTERLEAVED 549 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_INTERLEAVED_MASK (0x08000000) 550 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_INTERLEAVED_LSBMASK (0x00000001) 551 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_INTERLEAVED_SHIFT (27) 552 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_INTERLEAVED_SIGNED_FIELD IMG_FALSE 553 554 // MSVDX_CMDS OPERATING_MODE ROW_STRIDE 555 #define MSVDX_CMDS_OPERATING_MODE_ROW_STRIDE_MASK (0x07000000) 556 #define MSVDX_CMDS_OPERATING_MODE_ROW_STRIDE_LSBMASK (0x00000007) 557 #define MSVDX_CMDS_OPERATING_MODE_ROW_STRIDE_SHIFT (24) 558 559 // MSVDX_CMDS OPERATING_MODE CODEC_PROFILE 560 #define MSVDX_CMDS_OPERATING_MODE_CODEC_PROFILE_MASK (0x00300000) 561 #define MSVDX_CMDS_OPERATING_MODE_CODEC_PROFILE_LSBMASK (0x00000003) 562 #define MSVDX_CMDS_OPERATING_MODE_CODEC_PROFILE_SHIFT (20) 563 564 // MSVDX_CMDS OPERATING_MODE CODEC_MODE 565 #define MSVDX_CMDS_OPERATING_MODE_CODEC_MODE_MASK (0x00070000) 566 #define MSVDX_CMDS_OPERATING_MODE_CODEC_MODE_LSBMASK (0x00000007) 567 #define MSVDX_CMDS_OPERATING_MODE_CODEC_MODE_SHIFT (16) 568 569 // MSVDX_CMDS OPERATING_MODE ASYNC_MODE 570 #define MSVDX_CMDS_OPERATING_MODE_ASYNC_MODE_MASK (0x00006000) 571 #define MSVDX_CMDS_OPERATING_MODE_ASYNC_MODE_LSBMASK (0x00000003) 572 #define MSVDX_CMDS_OPERATING_MODE_ASYNC_MODE_SHIFT (13) 573 574 // MSVDX_CMDS OPERATING_MODE CHROMA_FORMAT 575 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_FORMAT_MASK (0x00001000) 576 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_FORMAT_LSBMASK (0x00000001) 577 #define MSVDX_CMDS_OPERATING_MODE_CHROMA_FORMAT_SHIFT (12) 578 579 // MSVDX_CMDS OPERATING_MODE INTERLACED 580 #define MSVDX_CMDS_OPERATING_MODE_INTERLACED_MASK (0x00000800) 581 #define MSVDX_CMDS_OPERATING_MODE_INTERLACED_LSBMASK (0x00000001) 582 #define MSVDX_CMDS_OPERATING_MODE_INTERLACED_SHIFT (11) 583 584 // MSVDX_CMDS OPERATING_MODE OVERLAP 585 #define MSVDX_CMDS_OPERATING_MODE_OVERLAP_MASK (0x00000400) 586 #define MSVDX_CMDS_OPERATING_MODE_OVERLAP_LSBMASK (0x00000001) 587 #define MSVDX_CMDS_OPERATING_MODE_OVERLAP_SHIFT (10) 588 589 // MSVDX_CMDS OPERATING_MODE PIC_CONDOVER 590 #define MSVDX_CMDS_OPERATING_MODE_PIC_CONDOVER_MASK (0x00000300) 591 #define MSVDX_CMDS_OPERATING_MODE_PIC_CONDOVER_LSBMASK (0x00000003) 592 #define MSVDX_CMDS_OPERATING_MODE_PIC_CONDOVER_SHIFT (8) 593 594 // MSVDX_CMDS OPERATING_MODE PIC_QUANT 595 #define MSVDX_CMDS_OPERATING_MODE_PIC_QUANT_MASK (0x0000001F) 596 #define MSVDX_CMDS_OPERATING_MODE_PIC_QUANT_LSBMASK (0x0000001F) 597 #define MSVDX_CMDS_OPERATING_MODE_PIC_QUANT_SHIFT (0) 598 599 // MSVDX_CMDS, OPERATING_MODE, USE_EXT_ROW_STRIDE 600 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_MASK (0x10000000) 601 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_LSBMASK (0x00000001) 602 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_SHIFT (28) 603 #define MSVDX_CMDS_OPERATING_MODE_USE_EXT_ROW_STRIDE_SIGNED_FIELD IMG_FALSE 604 605 #define MSVDX_CMDS_LUMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_OFFSET (0x000C) 606 607 // MSVDX_CMDS LUMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES LUMA_RECON_BASE_ADDR 608 #define MSVDX_CMDS_LUMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_LUMA_RECON_BASE_ADDR_MASK (0xFFFFF000) 609 #define MSVDX_CMDS_LUMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_LUMA_RECON_BASE_ADDR_LSBMASK (0x000FFFFF) 610 #define MSVDX_CMDS_LUMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_LUMA_RECON_BASE_ADDR_SHIFT (12) 611 612 #define MSVDX_CMDS_CHROMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_OFFSET (0x0010) 613 614 // MSVDX_CMDS CHROMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES CHROMA_RECON_BASE_ADDR 615 #define MSVDX_CMDS_CHROMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_CHROMA_RECON_BASE_ADDR_MASK (0xFFFFF000) 616 #define MSVDX_CMDS_CHROMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_CHROMA_RECON_BASE_ADDR_LSBMASK (0x000FFFFF) 617 #define MSVDX_CMDS_CHROMA_RECONSTRUCTED_PICTURE_BASE_ADDRESSES_CHROMA_RECON_BASE_ADDR_SHIFT (12) 618 619 #define MSVDX_CMDS_AUX_MSB_BUFFER_BASE_ADDRESSES_OFFSET (0x0014) 620 621 // MSVDX_CMDS AUX_MSB_BUFFER_BASE_ADDRESSES AUX_MSB_BUFFER_BASE_ADDR 622 #define MSVDX_CMDS_AUX_MSB_BUFFER_BASE_ADDRESSES_AUX_MSB_BUFFER_BASE_ADDR_MASK (0xFFFFF000) 623 #define MSVDX_CMDS_AUX_MSB_BUFFER_BASE_ADDRESSES_AUX_MSB_BUFFER_BASE_ADDR_LSBMASK (0x000FFFFF) 624 #define MSVDX_CMDS_AUX_MSB_BUFFER_BASE_ADDRESSES_AUX_MSB_BUFFER_BASE_ADDR_SHIFT (12) 625 626 #define MSVDX_CMDS_INTRA_BUFFER_BASE_ADDRESS_OFFSET (0x0018) 627 628 // MSVDX_CMDS INTRA_BUFFER_BASE_ADDRESS INTRA_BASE_ADDR 629 #define MSVDX_CMDS_INTRA_BUFFER_BASE_ADDRESS_INTRA_BASE_ADDR_MASK (0xFFFFFF00) 630 #define MSVDX_CMDS_INTRA_BUFFER_BASE_ADDRESS_INTRA_BASE_ADDR_LSBMASK (0x00FFFFFF) 631 #define MSVDX_CMDS_INTRA_BUFFER_BASE_ADDRESS_INTRA_BASE_ADDR_SHIFT (8) 632 633 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_OFFSET (0x001C) 634 635 // MSVDX_CMDS MC_CACHE_CONFIGURATION CONFIG_REF_OFFSET 636 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_REF_OFFSET_MASK (0x00FFF000) 637 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_REF_OFFSET_LSBMASK (0x00000FFF) 638 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_REF_OFFSET_SHIFT (12) 639 640 // MSVDX_CMDS MC_CACHE_CONFIGURATION CONFIG_ROW_OFFSET 641 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_ROW_OFFSET_MASK (0x00000FFF) 642 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_ROW_OFFSET_LSBMASK (0x00000FFF) 643 #define MSVDX_CMDS_MC_CACHE_CONFIGURATION_CONFIG_ROW_OFFSET_SHIFT (0) 644 645 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_OFFSET (0x0020) 646 647 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_PARAMETER VC1_LUMSHIFT2 648 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT2_MASK (0x00FC0000) 649 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT2_LSBMASK (0x0000003F) 650 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT2_SHIFT (18) 651 652 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_PARAMETER VC1_LUMSCALE2 653 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE2_MASK (0x0003F000) 654 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE2_LSBMASK (0x0000003F) 655 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE2_SHIFT (12) 656 657 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_PARAMETER VC1_LUMSHIFT1 658 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT1_MASK (0x00000FC0) 659 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT1_LSBMASK (0x0000003F) 660 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSHIFT1_SHIFT (6) 661 662 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_PARAMETER VC1_LUMSCALE1 663 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE1_MASK (0x0000003F) 664 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE1_LSBMASK (0x0000003F) 665 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_PARAMETER_VC1_LUMSCALE1_SHIFT (0) 666 667 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_OFFSET (0x0034) 668 669 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_BACKWARD VC1_LUMSHIFT_PREV 670 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_PREV_MASK (0x00FC0000) 671 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_PREV_LSBMASK (0x0000003F) 672 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_PREV_SHIFT (18) 673 674 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_BACKWARD VC1_LUMSCALE_PREV 675 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_PREV_MASK (0x0003F000) 676 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_PREV_LSBMASK (0x0000003F) 677 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_PREV_SHIFT (12) 678 679 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_BACKWARD VC1_LUMSHIFT_BACK 680 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_BACK_MASK (0x00000FC0) 681 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_BACK_LSBMASK (0x0000003F) 682 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSHIFT_BACK_SHIFT (6) 683 684 // MSVDX_CMDS VC1_INTENSITY_COMPENSATION_BACKWARD VC1_LUMSCALE_BACK 685 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_BACK_MASK (0x0000003F) 686 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_BACK_LSBMASK (0x0000003F) 687 #define MSVDX_CMDS_VC1_INTENSITY_COMPENSATION_BACKWARD_VC1_LUMSCALE_BACK_SHIFT (0) 688 689 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_OFFSET (0x0024) 690 691 // MSVDX_CMDS H264_WEIGHTED_FACTOR_DENOMINATOR C_LOG2_WEIGHT_DENOM 692 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_C_LOG2_WEIGHT_DENOM_MASK (0x00000070) 693 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_C_LOG2_WEIGHT_DENOM_LSBMASK (0x00000007) 694 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_C_LOG2_WEIGHT_DENOM_SHIFT (4) 695 696 // MSVDX_CMDS H264_WEIGHTED_FACTOR_DENOMINATOR Y_LOG2_WEIGHT_DENOM 697 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_Y_LOG2_WEIGHT_DENOM_MASK (0x00000007) 698 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_Y_LOG2_WEIGHT_DENOM_LSBMASK (0x00000007) 699 #define MSVDX_CMDS_H264_WEIGHTED_FACTOR_DENOMINATOR_Y_LOG2_WEIGHT_DENOM_SHIFT (0) 700 701 #define MSVDX_CMDS_VC1_LUMA_RANGE_MAPPING_BASE_ADDRESS_OFFSET (0x0028) 702 703 // MSVDX_CMDS VC1_LUMA_RANGE_MAPPING_BASE_ADDRESS LUMA_RANGE_BASE_ADDR 704 #define MSVDX_CMDS_VC1_LUMA_RANGE_MAPPING_BASE_ADDRESS_LUMA_RANGE_BASE_ADDR_MASK (0xFFFFF000) 705 #define MSVDX_CMDS_VC1_LUMA_RANGE_MAPPING_BASE_ADDRESS_LUMA_RANGE_BASE_ADDR_LSBMASK (0x000FFFFF) 706 #define MSVDX_CMDS_VC1_LUMA_RANGE_MAPPING_BASE_ADDRESS_LUMA_RANGE_BASE_ADDR_SHIFT (12) 707 708 #define MSVDX_CMDS_VC1_CHROMA_RANGE_MAPPING_BASE_ADDRESS_OFFSET (0x002C) 709 710 // MSVDX_CMDS VC1_CHROMA_RANGE_MAPPING_BASE_ADDRESS CHROMA_RANGE_BASE_ADDR 711 #define MSVDX_CMDS_VC1_CHROMA_RANGE_MAPPING_BASE_ADDRESS_CHROMA_RANGE_BASE_ADDR_MASK (0xFFFFF000) 712 #define MSVDX_CMDS_VC1_CHROMA_RANGE_MAPPING_BASE_ADDRESS_CHROMA_RANGE_BASE_ADDR_LSBMASK (0x000FFFFF) 713 #define MSVDX_CMDS_VC1_CHROMA_RANGE_MAPPING_BASE_ADDRESS_CHROMA_RANGE_BASE_ADDR_SHIFT (12) 714 715 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_OFFSET (0x0030) 716 717 // MSVDX_CMDS VC1_RANGE_MAPPING_FLAGS CHROMA_RANGE_MAP_FLAG 718 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_FLAG_MASK (0x00000080) 719 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_FLAG_LSBMASK (0x00000001) 720 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_FLAG_SHIFT (7) 721 722 // MSVDX_CMDS VC1_RANGE_MAPPING_FLAGS CHROMA_RANGE_MAP 723 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_MASK (0x00000070) 724 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_LSBMASK (0x00000007) 725 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_CHROMA_RANGE_MAP_SHIFT (4) 726 727 // MSVDX_CMDS VC1_RANGE_MAPPING_FLAGS LUMA_RANGE_MAP_FLAG 728 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_FLAG_MASK (0x00000008) 729 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_FLAG_LSBMASK (0x00000001) 730 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_FLAG_SHIFT (3) 731 732 // MSVDX_CMDS VC1_RANGE_MAPPING_FLAGS LUMA_RANGE_MAP 733 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_MASK (0x00000007) 734 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_LSBMASK (0x00000007) 735 #define MSVDX_CMDS_VC1_RANGE_MAPPING_FLAGS_LUMA_RANGE_MAP_SHIFT (0) 736 737 #define MSVDX_CMDS_SLICE_PARAMS_OFFSET (0x0400) 738 739 // MSVDX_CMDS SLICE_PARAMS VC1_PREV_INT_COMP 740 #define MSVDX_CMDS_SLICE_PARAMS_VC1_PREV_INT_COMP_MASK (0x0C000000) 741 #define MSVDX_CMDS_SLICE_PARAMS_VC1_PREV_INT_COMP_LSBMASK (0x00000003) 742 #define MSVDX_CMDS_SLICE_PARAMS_VC1_PREV_INT_COMP_SHIFT (26) 743 744 // MSVDX_CMDS SLICE_PARAMS VC1_BACK_INT_COMP 745 #define MSVDX_CMDS_SLICE_PARAMS_VC1_BACK_INT_COMP_MASK (0x03000000) 746 #define MSVDX_CMDS_SLICE_PARAMS_VC1_BACK_INT_COMP_LSBMASK (0x00000003) 747 #define MSVDX_CMDS_SLICE_PARAMS_VC1_BACK_INT_COMP_SHIFT (24) 748 749 // MSVDX_CMDS SLICE_PARAMS CONSTRAINED_INTRA_PRED 750 #define MSVDX_CMDS_SLICE_PARAMS_CONSTRAINED_INTRA_PRED_MASK (0x00800000) 751 #define MSVDX_CMDS_SLICE_PARAMS_CONSTRAINED_INTRA_PRED_LSBMASK (0x00000001) 752 #define MSVDX_CMDS_SLICE_PARAMS_CONSTRAINED_INTRA_PRED_SHIFT (23) 753 754 // MSVDX_CMDS SLICE_PARAMS RND_CTL_BIT 755 #define MSVDX_CMDS_SLICE_PARAMS_RND_CTL_BIT_MASK (0x00400000) 756 #define MSVDX_CMDS_SLICE_PARAMS_RND_CTL_BIT_LSBMASK (0x00000001) 757 #define MSVDX_CMDS_SLICE_PARAMS_RND_CTL_BIT_SHIFT (22) 758 759 // MSVDX_CMDS SLICE_PARAMS MODE_CONFIG 760 #define MSVDX_CMDS_SLICE_PARAMS_MODE_CONFIG_MASK (0x003E0000) 761 #define MSVDX_CMDS_SLICE_PARAMS_MODE_CONFIG_LSBMASK (0x0000001F) 762 #define MSVDX_CMDS_SLICE_PARAMS_MODE_CONFIG_SHIFT (17) 763 764 // MSVDX_CMDS SLICE_PARAMS SUBPEL_FILTER_MODE 765 #define MSVDX_CMDS_SLICE_PARAMS_SUBPEL_FILTER_MODE_MASK (0x00010000) 766 #define MSVDX_CMDS_SLICE_PARAMS_SUBPEL_FILTER_MODE_LSBMASK (0x00000001) 767 #define MSVDX_CMDS_SLICE_PARAMS_SUBPEL_FILTER_MODE_SHIFT (16) 768 769 // MSVDX_CMDS SLICE_PARAMS VC1_FASTUVMC 770 #define MSVDX_CMDS_SLICE_PARAMS_VC1_FASTUVMC_MASK (0x00008000) 771 #define MSVDX_CMDS_SLICE_PARAMS_VC1_FASTUVMC_LSBMASK (0x00000001) 772 #define MSVDX_CMDS_SLICE_PARAMS_VC1_FASTUVMC_SHIFT (15) 773 774 // MSVDX_CMDS SLICE_PARAMS LOOPFILTER 775 #define MSVDX_CMDS_SLICE_PARAMS_LOOPFILTER_MASK (0x00004000) 776 #define MSVDX_CMDS_SLICE_PARAMS_LOOPFILTER_LSBMASK (0x00000001) 777 #define MSVDX_CMDS_SLICE_PARAMS_LOOPFILTER_SHIFT (14) 778 779 // MSVDX_CMDS SLICE_PARAMS DISABLE_DEBLOCK_FILTER_IDC 780 #define MSVDX_CMDS_SLICE_PARAMS_DISABLE_DEBLOCK_FILTER_IDC_MASK (0x00003000) 781 #define MSVDX_CMDS_SLICE_PARAMS_DISABLE_DEBLOCK_FILTER_IDC_LSBMASK (0x00000003) 782 #define MSVDX_CMDS_SLICE_PARAMS_DISABLE_DEBLOCK_FILTER_IDC_SHIFT (12) 783 784 // MSVDX_CMDS SLICE_PARAMS SLICE_ALPHA_CO_OFFSET_DIV2 785 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_ALPHA_CO_OFFSET_DIV2_MASK (0x00000F00) 786 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_ALPHA_CO_OFFSET_DIV2_LSBMASK (0x0000000F) 787 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_ALPHA_CO_OFFSET_DIV2_SHIFT (8) 788 789 // MSVDX_CMDS SLICE_PARAMS SLICE_BETA_OFFSET_DIV2 790 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_BETA_OFFSET_DIV2_MASK (0x000000F0) 791 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_BETA_OFFSET_DIV2_LSBMASK (0x0000000F) 792 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_BETA_OFFSET_DIV2_SHIFT (4) 793 794 // MSVDX_CMDS SLICE_PARAMS SLICE_FIELD_TYPE 795 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_FIELD_TYPE_MASK (0x0000000C) 796 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_FIELD_TYPE_LSBMASK (0x00000003) 797 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_FIELD_TYPE_SHIFT (2) 798 799 // MSVDX_CMDS SLICE_PARAMS SLICE_CODE_TYPE 800 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_CODE_TYPE_MASK (0x00000003) 801 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_CODE_TYPE_LSBMASK (0x00000003) 802 #define MSVDX_CMDS_SLICE_PARAMS_SLICE_CODE_TYPE_SHIFT (0) 803 804 #define MSVDX_CMDS_END_SLICE_PICTURE_OFFSET (0x0404) 805 806 // MSVDX_CMDS END_SLICE_PICTURE FLUSH_VDEB 807 #define MSVDX_CMDS_END_SLICE_PICTURE_FLUSH_VDEB_MASK (0x00000002) 808 #define MSVDX_CMDS_END_SLICE_PICTURE_FLUSH_VDEB_LSBMASK (0x00000001) 809 #define MSVDX_CMDS_END_SLICE_PICTURE_FLUSH_VDEB_SHIFT (1) 810 811 // MSVDX_CMDS END_SLICE_PICTURE PICTURE_END 812 #define MSVDX_CMDS_END_SLICE_PICTURE_PICTURE_END_MASK (0x00000001) 813 #define MSVDX_CMDS_END_SLICE_PICTURE_PICTURE_END_LSBMASK (0x00000001) 814 #define MSVDX_CMDS_END_SLICE_PICTURE_PICTURE_END_SHIFT (0) 815 816 #define MSVDX_CMDS_MACROBLOCK_NUMBER_OFFSET (0x0408) 817 818 // MSVDX_CMDS MACROBLOCK_NUMBER MB_LEFT2_INTER 819 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT2_INTER_MASK (0x40000000) 820 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT2_INTER_LSBMASK (0x00000001) 821 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT2_INTER_SHIFT (30) 822 823 // MSVDX_CMDS MACROBLOCK_NUMBER MB_LEFT1_INTER 824 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT1_INTER_MASK (0x20000000) 825 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT1_INTER_LSBMASK (0x00000001) 826 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_LEFT1_INTER_SHIFT (29) 827 828 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ABOVE_RIGHT_INTER 829 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_INTER_MASK (0x10000000) 830 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_INTER_LSBMASK (0x00000001) 831 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_INTER_SHIFT (28) 832 833 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ABOVE_INTER 834 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_INTER_MASK (0x08000000) 835 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_INTER_LSBMASK (0x00000001) 836 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_INTER_SHIFT (27) 837 838 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ABOVE_LEFT_INTER 839 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_INTER_MASK (0x04000000) 840 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_INTER_LSBMASK (0x00000001) 841 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_INTER_SHIFT (26) 842 843 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ABOVE_RIGHT 844 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_MASK (0x02000000) 845 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_LSBMASK (0x00000001) 846 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_RIGHT_SHIFT (25) 847 848 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ABOVE_LEFT 849 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_MASK (0x01000000) 850 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_LSBMASK (0x00000001) 851 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ABOVE_LEFT_SHIFT (24) 852 853 // MSVDX_CMDS MACROBLOCK_NUMBER MB_ERROR_FLAG 854 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ERROR_FLAG_MASK (0x00400000) 855 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ERROR_FLAG_LSBMASK (0x00000001) 856 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_ERROR_FLAG_SHIFT (22) 857 858 // MSVDX_CMDS MACROBLOCK_NUMBER MB_OVERFLAG 859 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_OVERFLAG_MASK (0x00200000) 860 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_OVERFLAG_LSBMASK (0x00000001) 861 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_OVERFLAG_SHIFT (21) 862 863 // MSVDX_CMDS MACROBLOCK_NUMBER MB_FIELD_CODE 864 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_FIELD_CODE_MASK (0x00100000) 865 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_FIELD_CODE_LSBMASK (0x00000001) 866 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_FIELD_CODE_SHIFT (20) 867 868 // MSVDX_CMDS MACROBLOCK_NUMBER MB_SLICE_TOP 869 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_TOP_MASK (0x00080000) 870 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_TOP_LSBMASK (0x00000001) 871 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_TOP_SHIFT (19) 872 873 // MSVDX_CMDS MACROBLOCK_NUMBER MB_SLICE_LHS 874 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_LHS_MASK (0x00040000) 875 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_LHS_LSBMASK (0x00000001) 876 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_SLICE_LHS_SHIFT (18) 877 878 // MSVDX_CMDS MACROBLOCK_NUMBER MB_CODE_TYPE 879 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_CODE_TYPE_MASK (0x00030000) 880 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_CODE_TYPE_LSBMASK (0x00000003) 881 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_CODE_TYPE_SHIFT (16) 882 883 // MSVDX_CMDS MACROBLOCK_NUMBER MB_NO_Y 884 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_Y_MASK (0x0000FF00) 885 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_Y_LSBMASK (0x000000FF) 886 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_Y_SHIFT (8) 887 888 // MSVDX_CMDS MACROBLOCK_NUMBER MB_NO_X 889 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_X_MASK (0x000000FF) 890 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_X_LSBMASK (0x000000FF) 891 #define MSVDX_CMDS_MACROBLOCK_NUMBER_MB_NO_X_SHIFT (0) 892 893 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_OFFSET (0x040C) 894 895 // MSVDX_CMDS MACROBLOCK_H264_QUANT TRANSFORM_SIZE_8X8_FLAG 896 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_TRANSFORM_SIZE_8X8_FLAG_MASK (0x01000000) 897 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_TRANSFORM_SIZE_8X8_FLAG_LSBMASK (0x00000001) 898 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_TRANSFORM_SIZE_8X8_FLAG_SHIFT (24) 899 900 // MSVDX_CMDS MACROBLOCK_H264_QUANT MB_QUANT_CHROMA_CR 901 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CR_MASK (0x003F0000) 902 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CR_LSBMASK (0x0000003F) 903 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CR_SHIFT (16) 904 905 // MSVDX_CMDS MACROBLOCK_H264_QUANT MB_QUANT_CHROMA_CB 906 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CB_MASK (0x00003F00) 907 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CB_LSBMASK (0x0000003F) 908 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_CHROMA_CB_SHIFT (8) 909 910 // MSVDX_CMDS MACROBLOCK_H264_QUANT MB_QUANT_LUMA 911 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_LUMA_MASK (0x0000003F) 912 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_LUMA_LSBMASK (0x0000003F) 913 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_MB_QUANT_LUMA_SHIFT (0) 914 915 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_OFFSET (0x0410) 916 917 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_SIZE VC1_FIELDTX 918 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_VC1_FIELDTX_MASK (0x00001000) 919 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_VC1_FIELDTX_LSBMASK (0x00000001) 920 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_VC1_FIELDTX_SHIFT (12) 921 922 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_SIZE MB_BLOCK_TRANSFORM_SIZE 923 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_MB_BLOCK_TRANSFORM_SIZE_MASK (0x00000FFF) 924 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_MB_BLOCK_TRANSFORM_SIZE_LSBMASK (0x00000FFF) 925 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_MB_BLOCK_TRANSFORM_SIZE_SHIFT (0) 926 927 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_OFFSET (0x0414) 928 929 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_ZERO MB_BLOCK_TRANSFORM_ZERO 930 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_MB_BLOCK_TRANSFORM_ZERO_MASK (0x00FFFFFF) 931 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_MB_BLOCK_TRANSFORM_ZERO_LSBMASK (0x00FFFFFF) 932 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_MB_BLOCK_TRANSFORM_ZERO_SHIFT (0) 933 934 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_OFFSET (0x0418) 935 936 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT REVERSE_FLAG_ORDER 937 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_REVERSE_FLAG_ORDER_MASK (0x00008000) 938 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_REVERSE_FLAG_ORDER_LSBMASK (0x00000001) 939 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_REVERSE_FLAG_ORDER_SHIFT (15) 940 941 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT VA_ADD_128 942 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_ADD_128_MASK (0x00004000) 943 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_ADD_128_LSBMASK (0x00000001) 944 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_ADD_128_SHIFT (14) 945 946 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT VA_DATA_FORMAT 947 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_DATA_FORMAT_MASK (0x00003000) 948 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_DATA_FORMAT_LSBMASK (0x00000003) 949 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_VA_DATA_FORMAT_SHIFT (12) 950 951 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT RESIDUAL_FIELD_CODED 952 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_RESIDUAL_FIELD_CODED_MASK (0x00000100) 953 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_RESIDUAL_FIELD_CODED_LSBMASK (0x00000001) 954 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_RESIDUAL_FIELD_CODED_SHIFT (8) 955 956 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT CR_FROM_VEC 957 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CR_FROM_VEC_MASK (0x00000020) 958 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CR_FROM_VEC_LSBMASK (0x00000001) 959 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CR_FROM_VEC_SHIFT (5) 960 961 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT CB_FROM_VEC 962 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CB_FROM_VEC_MASK (0x00000010) 963 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CB_FROM_VEC_LSBMASK (0x00000001) 964 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_CB_FROM_VEC_SHIFT (4) 965 966 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT Y3_FROM_VEC 967 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y3_FROM_VEC_MASK (0x00000008) 968 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y3_FROM_VEC_LSBMASK (0x00000001) 969 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y3_FROM_VEC_SHIFT (3) 970 971 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT Y2_FROM_VEC 972 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y2_FROM_VEC_MASK (0x00000004) 973 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y2_FROM_VEC_LSBMASK (0x00000001) 974 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y2_FROM_VEC_SHIFT (2) 975 976 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT Y1_FROM_VEC 977 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y1_FROM_VEC_MASK (0x00000002) 978 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y1_FROM_VEC_LSBMASK (0x00000001) 979 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y1_FROM_VEC_SHIFT (1) 980 981 // MSVDX_CMDS MACROBLOCK_RESIDUAL_FORMAT Y0_FROM_VEC 982 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y0_FROM_VEC_MASK (0x00000001) 983 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y0_FROM_VEC_LSBMASK (0x00000001) 984 #define MSVDX_CMDS_MACROBLOCK_RESIDUAL_FORMAT_Y0_FROM_VEC_SHIFT (0) 985 986 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_OFFSET (0x0440) 987 988 // MSVDX_CMDS H264_IMPLICIT_WEIGHT_AVERAGE IMPLICIT_W1 989 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W1_MASK (0x0003FE00) 990 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W1_LSBMASK (0x000001FF) 991 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W1_SHIFT (9) 992 993 // MSVDX_CMDS H264_IMPLICIT_WEIGHT_AVERAGE IMPLICIT_W0 994 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W0_MASK (0x000001FF) 995 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W0_LSBMASK (0x000001FF) 996 #define MSVDX_CMDS_H264_IMPLICIT_WEIGHT_AVERAGE_IMPLICIT_W0_SHIFT (0) 997 998 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_OFFSET (0x0450) 999 1000 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY INLOOP_Y3_BOUNDARY 1001 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y3_BOUNDARY_MASK (0xFF000000) 1002 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y3_BOUNDARY_LSBMASK (0x000000FF) 1003 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y3_BOUNDARY_SHIFT (24) 1004 1005 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY INLOOP_Y2_BOUNDARY 1006 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y2_BOUNDARY_MASK (0x00FF0000) 1007 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y2_BOUNDARY_LSBMASK (0x000000FF) 1008 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y2_BOUNDARY_SHIFT (16) 1009 1010 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY INLOOP_Y1_BOUNDARY 1011 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y1_BOUNDARY_MASK (0x0000FF00) 1012 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y1_BOUNDARY_LSBMASK (0x000000FF) 1013 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y1_BOUNDARY_SHIFT (8) 1014 1015 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY INLOOP_Y0_BOUNDARY 1016 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y0_BOUNDARY_MASK (0x000000FF) 1017 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y0_BOUNDARY_LSBMASK (0x000000FF) 1018 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_INLOOP_Y0_BOUNDARY_SHIFT (0) 1019 1020 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_OFFSET (0x0454) 1021 1022 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY INLOOP_CR_BOUNDARY 1023 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CR_BOUNDARY_MASK (0x0000FF00) 1024 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CR_BOUNDARY_LSBMASK (0x000000FF) 1025 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CR_BOUNDARY_SHIFT (8) 1026 1027 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY INLOOP_CB_BOUNDARY 1028 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CB_BOUNDARY_MASK (0x000000FF) 1029 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CB_BOUNDARY_LSBMASK (0x000000FF) 1030 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_INLOOP_CB_BOUNDARY_SHIFT (0) 1031 1032 #define MSVDX_CMDS_JPEG_BLOCK_OFFSET (0x0480) 1033 1034 // MSVDX_CMDS JPEG_BLOCK FRAME_INDEX 1035 #define MSVDX_CMDS_JPEG_BLOCK_FRAME_INDEX_MASK (0x0F000000) 1036 #define MSVDX_CMDS_JPEG_BLOCK_FRAME_INDEX_LSBMASK (0x0000000F) 1037 #define MSVDX_CMDS_JPEG_BLOCK_FRAME_INDEX_SHIFT (24) 1038 1039 // MSVDX_CMDS JPEG_BLOCK BLOCK_Y_OFFSET 1040 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_Y_OFFSET_MASK (0x00FFF000) 1041 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_Y_OFFSET_LSBMASK (0x00000FFF) 1042 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_Y_OFFSET_SHIFT (12) 1043 1044 // MSVDX_CMDS JPEG_BLOCK BLOCK_X_OFFSET 1045 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_X_OFFSET_MASK (0x00000FFF) 1046 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_X_OFFSET_LSBMASK (0x00000FFF) 1047 #define MSVDX_CMDS_JPEG_BLOCK_BLOCK_X_OFFSET_SHIFT (0) 1048 1049 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_OFFSET (0x0600) 1050 1051 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 RND_CTL_BIT_ABOVE1 1052 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_RND_CTL_BIT_ABOVE1_MASK (0x00400000) 1053 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_RND_CTL_BIT_ABOVE1_LSBMASK (0x00000001) 1054 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_RND_CTL_BIT_ABOVE1_SHIFT (22) 1055 1056 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 MODE_CONFIG_ABOVE1 1057 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_MODE_CONFIG_ABOVE1_MASK (0x003E0000) 1058 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_MODE_CONFIG_ABOVE1_LSBMASK (0x0000001F) 1059 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_MODE_CONFIG_ABOVE1_SHIFT (17) 1060 1061 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 SUBPEL_FILTER_MODE_ABOVE1 1062 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SUBPEL_FILTER_MODE_ABOVE1_MASK (0x00010000) 1063 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SUBPEL_FILTER_MODE_ABOVE1_LSBMASK (0x00000001) 1064 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SUBPEL_FILTER_MODE_ABOVE1_SHIFT (16) 1065 1066 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 VC1_FASTUVMC_ABOVE1 1067 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_VC1_FASTUVMC_ABOVE1_MASK (0x00008000) 1068 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_VC1_FASTUVMC_ABOVE1_LSBMASK (0x00000001) 1069 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_VC1_FASTUVMC_ABOVE1_SHIFT (15) 1070 1071 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 LOOPFILTER_ABOVE1 1072 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_LOOPFILTER_ABOVE1_MASK (0x00004000) 1073 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_LOOPFILTER_ABOVE1_LSBMASK (0x00000001) 1074 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_LOOPFILTER_ABOVE1_SHIFT (14) 1075 1076 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 DISABLE_DEBLOCK_FILTER_IDC_ABOVE1 1077 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_DISABLE_DEBLOCK_FILTER_IDC_ABOVE1_MASK (0x00003000) 1078 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_DISABLE_DEBLOCK_FILTER_IDC_ABOVE1_LSBMASK (0x00000003) 1079 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_DISABLE_DEBLOCK_FILTER_IDC_ABOVE1_SHIFT (12) 1080 1081 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE1 1082 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE1_MASK (0x00000F00) 1083 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE1_LSBMASK (0x0000000F) 1084 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE1_SHIFT (8) 1085 1086 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 SLICE_BETA_OFFSET_DIV2_ABOVE1 1087 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_BETA_OFFSET_DIV2_ABOVE1_MASK (0x000000F0) 1088 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_BETA_OFFSET_DIV2_ABOVE1_LSBMASK (0x0000000F) 1089 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_BETA_OFFSET_DIV2_ABOVE1_SHIFT (4) 1090 1091 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 SLICE_FIELD_TYPE_ABOVE1 1092 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_FIELD_TYPE_ABOVE1_MASK (0x0000000C) 1093 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_FIELD_TYPE_ABOVE1_LSBMASK (0x00000003) 1094 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_FIELD_TYPE_ABOVE1_SHIFT (2) 1095 1096 // MSVDX_CMDS SLICE_PARAMS_ABOVE1 SLICE_CODE_TYPE_ABOVE1 1097 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_CODE_TYPE_ABOVE1_MASK (0x00000003) 1098 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_CODE_TYPE_ABOVE1_LSBMASK (0x00000003) 1099 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE1_SLICE_CODE_TYPE_ABOVE1_SHIFT (0) 1100 1101 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_OFFSET (0x0608) 1102 1103 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_ERROR_FLAG_ABOVE1 1104 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_ERROR_FLAG_ABOVE1_MASK (0x00400000) 1105 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_ERROR_FLAG_ABOVE1_LSBMASK (0x00000001) 1106 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_ERROR_FLAG_ABOVE1_SHIFT (22) 1107 1108 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_OVERFLAG_ABOVE1 1109 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_OVERFLAG_ABOVE1_MASK (0x00200000) 1110 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_OVERFLAG_ABOVE1_LSBMASK (0x00000001) 1111 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_OVERFLAG_ABOVE1_SHIFT (21) 1112 1113 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_FIELD_CODE_ABOVE1 1114 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_FIELD_CODE_ABOVE1_MASK (0x00100000) 1115 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_FIELD_CODE_ABOVE1_LSBMASK (0x00000001) 1116 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_FIELD_CODE_ABOVE1_SHIFT (20) 1117 1118 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_SLICE_TOP_ABOVE1 1119 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_TOP_ABOVE1_MASK (0x00080000) 1120 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_TOP_ABOVE1_LSBMASK (0x00000001) 1121 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_TOP_ABOVE1_SHIFT (19) 1122 1123 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_SLICE_LHS_ABOVE1 1124 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_LHS_ABOVE1_MASK (0x00040000) 1125 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_LHS_ABOVE1_LSBMASK (0x00000001) 1126 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_SLICE_LHS_ABOVE1_SHIFT (18) 1127 1128 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_CODE_TYPE_ABOVE1 1129 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_CODE_TYPE_ABOVE1_MASK (0x00030000) 1130 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_CODE_TYPE_ABOVE1_LSBMASK (0x00000003) 1131 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_CODE_TYPE_ABOVE1_SHIFT (16) 1132 1133 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_NO_Y_ABOVE1 1134 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_Y_ABOVE1_MASK (0x0000FF00) 1135 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_Y_ABOVE1_LSBMASK (0x000000FF) 1136 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_Y_ABOVE1_SHIFT (8) 1137 1138 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE1 MB_NO_X_ABOVE1 1139 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_X_ABOVE1_MASK (0x000000FF) 1140 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_X_ABOVE1_LSBMASK (0x000000FF) 1141 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE1_MB_NO_X_ABOVE1_SHIFT (0) 1142 1143 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_OFFSET (0x060C) 1144 1145 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE1 TRANSFORM_SIZE_8X8_FLAG_ABOVE1 1146 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_TRANSFORM_SIZE_8X8_FLAG_ABOVE1_MASK (0x01000000) 1147 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_TRANSFORM_SIZE_8X8_FLAG_ABOVE1_LSBMASK (0x00000001) 1148 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_TRANSFORM_SIZE_8X8_FLAG_ABOVE1_SHIFT (24) 1149 1150 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE1 MB_QUANT_CHROMA_CR_ABOVE1 1151 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CR_ABOVE1_MASK (0x003F0000) 1152 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CR_ABOVE1_LSBMASK (0x0000003F) 1153 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CR_ABOVE1_SHIFT (16) 1154 1155 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE1 MB_QUANT_CHROMA_CB_ABOVE1 1156 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CB_ABOVE1_MASK (0x00003F00) 1157 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CB_ABOVE1_LSBMASK (0x0000003F) 1158 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_CHROMA_CB_ABOVE1_SHIFT (8) 1159 1160 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE1 MB_QUANT_LUMA_ABOVE1 1161 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_LUMA_ABOVE1_MASK (0x0000003F) 1162 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_LUMA_ABOVE1_LSBMASK (0x0000003F) 1163 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE1_MB_QUANT_LUMA_ABOVE1_SHIFT (0) 1164 1165 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE1_OFFSET (0x0610) 1166 1167 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE1 MB_BLOCK_TRANSFORM_SIZE_ABOVE1 1168 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE1_MB_BLOCK_TRANSFORM_SIZE_ABOVE1_MASK (0x00000FFF) 1169 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE1_MB_BLOCK_TRANSFORM_SIZE_ABOVE1_LSBMASK (0x00000FFF) 1170 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE1_MB_BLOCK_TRANSFORM_SIZE_ABOVE1_SHIFT (0) 1171 1172 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE1_OFFSET (0x0614) 1173 1174 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE1 MB_BLOCK_TRANSFORM_ZERO_ABOVE1 1175 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE1_MB_BLOCK_TRANSFORM_ZERO_ABOVE1_MASK (0x00FFFFFF) 1176 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE1_MB_BLOCK_TRANSFORM_ZERO_ABOVE1_LSBMASK (0x00FFFFFF) 1177 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE1_MB_BLOCK_TRANSFORM_ZERO_ABOVE1_SHIFT (0) 1178 1179 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_OFFSET (0x0650) 1180 1181 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY_ABOVE1 INLOOP_Y3_BOUNDARY_ABOVE1 1182 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y3_BOUNDARY_ABOVE1_MASK (0xFF000000) 1183 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y3_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1184 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y3_BOUNDARY_ABOVE1_SHIFT (24) 1185 1186 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY_ABOVE1 INLOOP_Y2_BOUNDARY_ABOVE1 1187 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y2_BOUNDARY_ABOVE1_MASK (0x00FF0000) 1188 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y2_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1189 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y2_BOUNDARY_ABOVE1_SHIFT (16) 1190 1191 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY_ABOVE1 INLOOP_Y1_BOUNDARY_ABOVE1 1192 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y1_BOUNDARY_ABOVE1_MASK (0x0000FF00) 1193 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y1_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1194 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y1_BOUNDARY_ABOVE1_SHIFT (8) 1195 1196 // MSVDX_CMDS VC1_INLOOP_LUMA_BOUNDARY_ABOVE1 INLOOP_Y0_BOUNDARY_ABOVE1 1197 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y0_BOUNDARY_ABOVE1_MASK (0x000000FF) 1198 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y0_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1199 #define MSVDX_CMDS_VC1_INLOOP_LUMA_BOUNDARY_ABOVE1_INLOOP_Y0_BOUNDARY_ABOVE1_SHIFT (0) 1200 1201 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_OFFSET (0x0654) 1202 1203 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1 INLOOP_CR_BOUNDARY_ABOVE1 1204 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CR_BOUNDARY_ABOVE1_MASK (0x0000FF00) 1205 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CR_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1206 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CR_BOUNDARY_ABOVE1_SHIFT (8) 1207 1208 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1 INLOOP_CB_BOUNDARY_ABOVE1 1209 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CB_BOUNDARY_ABOVE1_MASK (0x000000FF) 1210 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CB_BOUNDARY_ABOVE1_LSBMASK (0x000000FF) 1211 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE1_INLOOP_CB_BOUNDARY_ABOVE1_SHIFT (0) 1212 1213 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, EXT_ROT_ROW_STRIDE 1214 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_EXT_ROT_ROW_STRIDE_MASK (0xFFC00000) 1215 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_EXT_ROT_ROW_STRIDE_LSBMASK (0x000003FF) 1216 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_EXT_ROT_ROW_STRIDE_SHIFT (22) 1217 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_EXT_ROT_ROW_STRIDE_SIGNED_FIELD IMG_FALSE 1218 1219 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, USE_AUX_LINE_BUF 1220 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_MASK (0x00000400) 1221 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_LSBMASK (0x00000001) 1222 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_SHIFT (10) 1223 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_SIGNED_FIELD IMG_FALSE 1224 1225 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, SCALE_INPUT_SIZE_SEL 1226 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_INPUT_SIZE_SEL_MASK (0x00000200) 1227 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_INPUT_SIZE_SEL_LSBMASK (0x00000001) 1228 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_INPUT_SIZE_SEL_SHIFT (9) 1229 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_INPUT_SIZE_SEL_SIGNED_FIELD IMG_FALSE 1230 1231 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, USE_EXT_ROT_ROW_STRIDE 1232 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_EXT_ROT_ROW_STRIDE_MASK (0x00000100) 1233 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_EXT_ROT_ROW_STRIDE_LSBMASK (0x00000001) 1234 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_EXT_ROT_ROW_STRIDE_SHIFT (8) 1235 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_EXT_ROT_ROW_STRIDE_SIGNED_FIELD IMG_FALSE 1236 1237 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, SCALE_ENABLE 1238 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_ENABLE_MASK (0x00000080) 1239 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_ENABLE_LSBMASK (0x00000001) 1240 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_ENABLE_SHIFT (7) 1241 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_SCALE_ENABLE_SIGNED_FIELD IMG_FALSE 1242 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_OFFSET (0x0800) 1243 1244 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 RND_CTL_BIT_ABOVE2 1245 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_RND_CTL_BIT_ABOVE2_MASK (0x00400000) 1246 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_RND_CTL_BIT_ABOVE2_LSBMASK (0x00000001) 1247 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_RND_CTL_BIT_ABOVE2_SHIFT (22) 1248 1249 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 MODE_CONFIG_ABOVE2 1250 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_MODE_CONFIG_ABOVE2_MASK (0x003E0000) 1251 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_MODE_CONFIG_ABOVE2_LSBMASK (0x0000001F) 1252 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_MODE_CONFIG_ABOVE2_SHIFT (17) 1253 1254 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 SUBPEL_FILTER_MODE_ABOVE2 1255 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SUBPEL_FILTER_MODE_ABOVE2_MASK (0x00010000) 1256 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SUBPEL_FILTER_MODE_ABOVE2_LSBMASK (0x00000001) 1257 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SUBPEL_FILTER_MODE_ABOVE2_SHIFT (16) 1258 1259 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 VC1_FASTUVMC_ABOVE2 1260 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_VC1_FASTUVMC_ABOVE2_MASK (0x00008000) 1261 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_VC1_FASTUVMC_ABOVE2_LSBMASK (0x00000001) 1262 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_VC1_FASTUVMC_ABOVE2_SHIFT (15) 1263 1264 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 LOOPFILTER_ABOVE2 1265 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_LOOPFILTER_ABOVE2_MASK (0x00004000) 1266 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_LOOPFILTER_ABOVE2_LSBMASK (0x00000001) 1267 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_LOOPFILTER_ABOVE2_SHIFT (14) 1268 1269 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 DISABLE_DEBLOCK_FILTER_IDC_ABOVE2 1270 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_DISABLE_DEBLOCK_FILTER_IDC_ABOVE2_MASK (0x00003000) 1271 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_DISABLE_DEBLOCK_FILTER_IDC_ABOVE2_LSBMASK (0x00000003) 1272 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_DISABLE_DEBLOCK_FILTER_IDC_ABOVE2_SHIFT (12) 1273 1274 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE2 1275 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE2_MASK (0x00000F00) 1276 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE2_LSBMASK (0x0000000F) 1277 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_ALPHA_CO_OFFSET_DIV2_ABOVE2_SHIFT (8) 1278 1279 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 SLICE_BETA_OFFSET_DIV2_ABOVE2 1280 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_BETA_OFFSET_DIV2_ABOVE2_MASK (0x000000F0) 1281 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_BETA_OFFSET_DIV2_ABOVE2_LSBMASK (0x0000000F) 1282 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_BETA_OFFSET_DIV2_ABOVE2_SHIFT (4) 1283 1284 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 SLICE_FIELD_TYPE_ABOVE2 1285 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_FIELD_TYPE_ABOVE2_MASK (0x0000000C) 1286 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_FIELD_TYPE_ABOVE2_LSBMASK (0x00000003) 1287 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_FIELD_TYPE_ABOVE2_SHIFT (2) 1288 1289 // MSVDX_CMDS SLICE_PARAMS_ABOVE2 SLICE_CODE_TYPE_ABOVE2 1290 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_CODE_TYPE_ABOVE2_MASK (0x00000003) 1291 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_CODE_TYPE_ABOVE2_LSBMASK (0x00000003) 1292 #define MSVDX_CMDS_SLICE_PARAMS_ABOVE2_SLICE_CODE_TYPE_ABOVE2_SHIFT (0) 1293 1294 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_OFFSET (0x0808) 1295 1296 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_ERROR_FLAG_ABOVE2 1297 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_ERROR_FLAG_ABOVE2_MASK (0x00400000) 1298 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_ERROR_FLAG_ABOVE2_LSBMASK (0x00000001) 1299 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_ERROR_FLAG_ABOVE2_SHIFT (22) 1300 1301 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_OVERFLAG_ABOVE2 1302 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_OVERFLAG_ABOVE2_MASK (0x00200000) 1303 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_OVERFLAG_ABOVE2_LSBMASK (0x00000001) 1304 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_OVERFLAG_ABOVE2_SHIFT (21) 1305 1306 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_FIELD_CODE_ABOVE2 1307 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_FIELD_CODE_ABOVE2_MASK (0x00100000) 1308 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_FIELD_CODE_ABOVE2_LSBMASK (0x00000001) 1309 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_FIELD_CODE_ABOVE2_SHIFT (20) 1310 1311 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_SLICE_TOP_ABOVE2 1312 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_TOP_ABOVE2_MASK (0x00080000) 1313 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_TOP_ABOVE2_LSBMASK (0x00000001) 1314 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_TOP_ABOVE2_SHIFT (19) 1315 1316 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_SLICE_LHS_ABOVE2 1317 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_LHS_ABOVE2_MASK (0x00040000) 1318 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_LHS_ABOVE2_LSBMASK (0x00000001) 1319 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_SLICE_LHS_ABOVE2_SHIFT (18) 1320 1321 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_CODE_TYPE_ABOVE2 1322 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_CODE_TYPE_ABOVE2_MASK (0x00030000) 1323 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_CODE_TYPE_ABOVE2_LSBMASK (0x00000003) 1324 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_CODE_TYPE_ABOVE2_SHIFT (16) 1325 1326 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_NO_Y_ABOVE2 1327 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_Y_ABOVE2_MASK (0x0000FF00) 1328 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_Y_ABOVE2_LSBMASK (0x000000FF) 1329 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_Y_ABOVE2_SHIFT (8) 1330 1331 // MSVDX_CMDS MACROBLOCK_NUMBER_ABOVE2 MB_NO_X_ABOVE2 1332 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_X_ABOVE2_MASK (0x000000FF) 1333 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_X_ABOVE2_LSBMASK (0x000000FF) 1334 #define MSVDX_CMDS_MACROBLOCK_NUMBER_ABOVE2_MB_NO_X_ABOVE2_SHIFT (0) 1335 1336 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_OFFSET (0x080C) 1337 1338 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE2 TRANSFORM_SIZE_8X8_FLAG_ABOVE2 1339 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_TRANSFORM_SIZE_8X8_FLAG_ABOVE2_MASK (0x01000000) 1340 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_TRANSFORM_SIZE_8X8_FLAG_ABOVE2_LSBMASK (0x00000001) 1341 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_TRANSFORM_SIZE_8X8_FLAG_ABOVE2_SHIFT (24) 1342 1343 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE2 MB_QUANT_CHROMA_CR_ABOVE2 1344 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CR_ABOVE2_MASK (0x003F0000) 1345 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CR_ABOVE2_LSBMASK (0x0000003F) 1346 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CR_ABOVE2_SHIFT (16) 1347 1348 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE2 MB_QUANT_CHROMA_CB_ABOVE2 1349 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CB_ABOVE2_MASK (0x00003F00) 1350 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CB_ABOVE2_LSBMASK (0x0000003F) 1351 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_CHROMA_CB_ABOVE2_SHIFT (8) 1352 1353 // MSVDX_CMDS MACROBLOCK_H264_QUANT_ABOVE2 MB_QUANT_LUMA_ABOVE2 1354 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_LUMA_ABOVE2_MASK (0x0000003F) 1355 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_LUMA_ABOVE2_LSBMASK (0x0000003F) 1356 #define MSVDX_CMDS_MACROBLOCK_H264_QUANT_ABOVE2_MB_QUANT_LUMA_ABOVE2_SHIFT (0) 1357 1358 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE2_OFFSET (0x0810) 1359 1360 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE2 MB_BLOCK_TRANSFORM_SIZE_ABOVE2 1361 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE2_MB_BLOCK_TRANSFORM_SIZE_ABOVE2_MASK (0x00000FFF) 1362 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE2_MB_BLOCK_TRANSFORM_SIZE_ABOVE2_LSBMASK (0x00000FFF) 1363 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_SIZE_ABOVE2_MB_BLOCK_TRANSFORM_SIZE_ABOVE2_SHIFT (0) 1364 1365 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE2_OFFSET (0x0814) 1366 1367 // MSVDX_CMDS MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE2 MB_BLOCK_TRANSFORM_ZERO_ABOVE2 1368 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE2_MB_BLOCK_TRANSFORM_ZERO_ABOVE2_MASK (0x00FFFFFF) 1369 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE2_MB_BLOCK_TRANSFORM_ZERO_ABOVE2_LSBMASK (0x00FFFFFF) 1370 #define MSVDX_CMDS_MACROBLOCK_BLOCK_TRANSFORM_ZERO_ABOVE2_MB_BLOCK_TRANSFORM_ZERO_ABOVE2_SHIFT (0) 1371 1372 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_OFFSET (0x0854) 1373 1374 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2 INLOOP_CR_BOUNDARY_ABOVE2 1375 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CR_BOUNDARY_ABOVE2_MASK (0x0000FF00) 1376 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CR_BOUNDARY_ABOVE2_LSBMASK (0x000000FF) 1377 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CR_BOUNDARY_ABOVE2_SHIFT (8) 1378 1379 // MSVDX_CMDS VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2 INLOOP_CB_BOUNDARY_ABOVE2 1380 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CB_BOUNDARY_ABOVE2_MASK (0x000000FF) 1381 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CB_BOUNDARY_ABOVE2_LSBMASK (0x000000FF) 1382 #define MSVDX_CMDS_VC1_INLOOP_CHROMA_BOUNDARY_ABOVE2_INLOOP_CB_BOUNDARY_ABOVE2_SHIFT (0) 1383 1384 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_OFFSET (0x003C) 1385 1386 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, ROTATION_ROW_STRIDE 1387 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_ROW_STRIDE_MASK (0x00000070) 1388 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_ROW_STRIDE_LSBMASK (0x00000007) 1389 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_ROW_STRIDE_SHIFT (4) 1390 1391 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, ALT_PICTURE_ENABLE 1392 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ALT_PICTURE_ENABLE_MASK (0x00000008) 1393 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ALT_PICTURE_ENABLE_LSBMASK (0x00000001) 1394 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ALT_PICTURE_ENABLE_SHIFT (3) 1395 1396 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, RECON_WRITE_DISABLE 1397 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_RECON_WRITE_DISABLE_MASK (0x00000004) 1398 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_RECON_WRITE_DISABLE_LSBMASK (0x00000001) 1399 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_RECON_WRITE_DISABLE_SHIFT (2) 1400 1401 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, ROTATION_MODE 1402 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_MODE_MASK (0x00000003) 1403 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_MODE_LSBMASK (0x00000003) 1404 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_ROTATION_MODE_SHIFT (0) 1405 1406 // MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION, USE_AUX_LINE_BUF 1407 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_MASK (0x00000400) 1408 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_LSBMASK (0x00000001) 1409 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_SHIFT (10) 1410 #define MSVDX_CMDS_ALTERNATIVE_OUTPUT_PICTURE_ROTATION_USE_AUX_LINE_BUF_SIGNED_FIELD IMG_FALSE 1411 1412 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_OFFSET (0x0040) 1413 1414 // MSVDX_CMDS, EXTENDED_ROW_STRIDE, RPR_ROW_STRIDE 1415 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_RPR_ROW_STRIDE_MASK (0xFFC00000) 1416 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_RPR_ROW_STRIDE_LSBMASK (0x000003FF) 1417 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_RPR_ROW_STRIDE_SHIFT (22) 1418 1419 // MSVDX_CMDS, EXTENDED_ROW_STRIDE, EXT_ROW_STRIDE 1420 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_EXT_ROW_STRIDE_MASK (0x0000FFC0) 1421 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_EXT_ROW_STRIDE_LSBMASK (0x000003FF) 1422 #define MSVDX_CMDS_EXTENDED_ROW_STRIDE_EXT_ROW_STRIDE_SHIFT (6) 1423 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_OFFSET (0x0050) 1424 1425 // MSVDX_CMDS, SCALED_DISPLAY_SIZE, SCALE_DISPLAY_HEIGHT 1426 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_HEIGHT_MASK (0x00FFF000) 1427 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_HEIGHT_LSBMASK (0x00000FFF) 1428 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_HEIGHT_SHIFT (12) 1429 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_HEIGHT_SIGNED_FIELD IMG_FALSE 1430 1431 // MSVDX_CMDS, SCALED_DISPLAY_SIZE, SCALE_DISPLAY_WIDTH 1432 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_WIDTH_MASK (0x00000FFF) 1433 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_WIDTH_LSBMASK (0x00000FFF) 1434 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_WIDTH_SHIFT (0) 1435 #define MSVDX_CMDS_SCALED_DISPLAY_SIZE_SCALE_DISPLAY_WIDTH_SIGNED_FIELD IMG_FALSE 1436 1437 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_OFFSET (0x0054) 1438 1439 // MSVDX_CMDS, HORIZONTAL_SCALE_CONTROL, HORIZONTAL_INITIAL_POS 1440 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_INITIAL_POS_MASK (0x7FFF0000) 1441 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_INITIAL_POS_LSBMASK (0x00007FFF) 1442 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_INITIAL_POS_SHIFT (16) 1443 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_INITIAL_POS_SIGNED_FIELD IMG_FALSE 1444 1445 // MSVDX_CMDS, HORIZONTAL_SCALE_CONTROL, HORIZONTAL_SCALE_PITCH 1446 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_SCALE_PITCH_MASK (0x00007FFF) 1447 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_SCALE_PITCH_LSBMASK (0x00007FFF) 1448 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_SCALE_PITCH_SHIFT (0) 1449 #define MSVDX_CMDS_HORIZONTAL_SCALE_CONTROL_HORIZONTAL_SCALE_PITCH_SIGNED_FIELD IMG_FALSE 1450 1451 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_OFFSET (0x0058) 1452 1453 // MSVDX_CMDS, VERTICAL_SCALE_CONTROL, VERTICAL_INITIAL_POS 1454 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_INITIAL_POS_MASK (0x7FFF0000) 1455 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_INITIAL_POS_LSBMASK (0x00007FFF) 1456 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_INITIAL_POS_SHIFT (16) 1457 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_INITIAL_POS_SIGNED_FIELD IMG_FALSE 1458 1459 // MSVDX_CMDS, VERTICAL_SCALE_CONTROL, VERTICAL_SCALE_PITCH 1460 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_SCALE_PITCH_MASK (0x00007FFF) 1461 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_SCALE_PITCH_LSBMASK (0x00007FFF) 1462 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_SCALE_PITCH_SHIFT (0) 1463 #define MSVDX_CMDS_VERTICAL_SCALE_CONTROL_VERTICAL_SCALE_PITCH_SIGNED_FIELD IMG_FALSE 1464 1465 #define MSVDX_CMDS_AUX_LINE_BUFFER_BASE_ADDRESS_OFFSET (0x01EC) 1466 1467 // MSVDX_CMDS, AUX_LINE_BUFFER_BASE_ADDRESS, AUX_LINE_BUF_BASE_ADDR 1468 #define MSVDX_CMDS_AUX_LINE_BUFFER_BASE_ADDRESS_AUX_LINE_BUF_BASE_ADDR_MASK (0xFFFFFFC0) 1469 #define MSVDX_CMDS_AUX_LINE_BUFFER_BASE_ADDRESS_AUX_LINE_BUF_BASE_ADDR_LSBMASK (0x03FFFFFF) 1470 #define MSVDX_CMDS_AUX_LINE_BUFFER_BASE_ADDRESS_AUX_LINE_BUF_BASE_ADDR_SHIFT (6) 1471 #define MSVDX_CMDS_AUX_LINE_BUFFER_BASE_ADDRESS_AUX_LINE_BUF_BASE_ADDR_SIGNED_FIELD IMG_FALSE 1472 1473 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_OFFSET (0x01F0) 1474 1475 // MSVDX_CMDS, VP8_LOOP_FILTER_CONTROL, VP8_MODE_REF_LF_DELTA_ENABLED 1476 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_MODE_REF_LF_DELTA_ENABLED_MASK (0x00000008) 1477 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_MODE_REF_LF_DELTA_ENABLED_LSBMASK (0x00000001) 1478 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_MODE_REF_LF_DELTA_ENABLED_SHIFT (3) 1479 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_MODE_REF_LF_DELTA_ENABLED_SIGNED_FIELD IMG_FALSE 1480 1481 // MSVDX_CMDS, VP8_LOOP_FILTER_CONTROL, VP8_SHARPNESS_LEVEL 1482 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_SHARPNESS_LEVEL_MASK (0x00000007) 1483 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_SHARPNESS_LEVEL_LSBMASK (0x00000007) 1484 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_SHARPNESS_LEVEL_SHIFT (0) 1485 #define MSVDX_CMDS_VP8_LOOP_FILTER_CONTROL_VP8_SHARPNESS_LEVEL_SIGNED_FIELD IMG_FALSE 1486 1487 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_OFFSET (0x01F4) 1488 1489 // MSVDX_CMDS, VP8_LOOP_FILTER_BASELINE_LEVEL, VP8_LF_BASLINE3 1490 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE3_MASK (0x3F000000) 1491 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE3_LSBMASK (0x0000003F) 1492 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE3_SHIFT (24) 1493 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE3_SIGNED_FIELD IMG_FALSE 1494 1495 // MSVDX_CMDS, VP8_LOOP_FILTER_BASELINE_LEVEL, VP8_LF_BASLINE2 1496 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE2_MASK (0x003F0000) 1497 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE2_LSBMASK (0x0000003F) 1498 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE2_SHIFT (16) 1499 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE2_SIGNED_FIELD IMG_FALSE 1500 1501 // MSVDX_CMDS, VP8_LOOP_FILTER_BASELINE_LEVEL, VP8_LF_BASLINE1 1502 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE1_MASK (0x00003F00) 1503 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE1_LSBMASK (0x0000003F) 1504 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE1_SHIFT (8) 1505 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE1_SIGNED_FIELD IMG_FALSE 1506 1507 // MSVDX_CMDS, VP8_LOOP_FILTER_BASELINE_LEVEL, VP8_LF_BASLINE0 1508 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE0_MASK (0x0000003F) 1509 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE0_LSBMASK (0x0000003F) 1510 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE0_SHIFT (0) 1511 #define MSVDX_CMDS_VP8_LOOP_FILTER_BASELINE_LEVEL_VP8_LF_BASLINE0_SIGNED_FIELD IMG_FALSE 1512 1513 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_OFFSET (0x01F8) 1514 1515 // MSVDX_CMDS, VP8_LOOP_FILTER_REFERENCE_DELTAS, VP8_REF_LF_DELTA3 1516 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA3_MASK (0x7F000000) 1517 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA3_LSBMASK (0x0000007F) 1518 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA3_SHIFT (24) 1519 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA3_SIGNED_FIELD IMG_FALSE 1520 1521 // MSVDX_CMDS, VP8_LOOP_FILTER_REFERENCE_DELTAS, VP8_REF_LF_DELTA2 1522 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA2_MASK (0x007F0000) 1523 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA2_LSBMASK (0x0000007F) 1524 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA2_SHIFT (16) 1525 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA2_SIGNED_FIELD IMG_FALSE 1526 1527 // MSVDX_CMDS, VP8_LOOP_FILTER_REFERENCE_DELTAS, VP8_REF_LF_DELTA1 1528 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA1_MASK (0x00007F00) 1529 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA1_LSBMASK (0x0000007F) 1530 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA1_SHIFT (8) 1531 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA1_SIGNED_FIELD IMG_FALSE 1532 1533 // MSVDX_CMDS, VP8_LOOP_FILTER_REFERENCE_DELTAS, VP8_REF_LF_DELTA0 1534 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA0_MASK (0x0000007F) 1535 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA0_LSBMASK (0x0000007F) 1536 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA0_SHIFT (0) 1537 #define MSVDX_CMDS_VP8_LOOP_FILTER_REFERENCE_DELTAS_VP8_REF_LF_DELTA0_SIGNED_FIELD IMG_FALSE 1538 1539 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_OFFSET (0x01FC) 1540 1541 // MSVDX_CMDS, VP8_LOOP_FILTER_MODE_DELTAS, VP8_MODE_LF_DELTA3 1542 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA3_MASK (0x7F000000) 1543 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA3_LSBMASK (0x0000007F) 1544 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA3_SHIFT (24) 1545 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA3_SIGNED_FIELD IMG_FALSE 1546 1547 // MSVDX_CMDS, VP8_LOOP_FILTER_MODE_DELTAS, VP8_MODE_LF_DELTA2 1548 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA2_MASK (0x007F0000) 1549 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA2_LSBMASK (0x0000007F) 1550 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA2_SHIFT (16) 1551 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA2_SIGNED_FIELD IMG_FALSE 1552 1553 // MSVDX_CMDS, VP8_LOOP_FILTER_MODE_DELTAS, VP8_MODE_LF_DELTA1 1554 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA1_MASK (0x00007F00) 1555 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA1_LSBMASK (0x0000007F) 1556 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA1_SHIFT (8) 1557 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA1_SIGNED_FIELD IMG_FALSE 1558 1559 // MSVDX_CMDS, VP8_LOOP_FILTER_MODE_DELTAS, VP8_MODE_LF_DELTA0 1560 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA0_MASK (0x0000007F) 1561 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA0_LSBMASK (0x0000007F) 1562 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA0_SHIFT (0) 1563 #define MSVDX_CMDS_VP8_LOOP_FILTER_MODE_DELTAS_VP8_MODE_LF_DELTA0_SIGNED_FIELD IMG_FALSE 1564 1565 #ifdef __cplusplus 1566 } 1567 #endif 1568 1569 #endif /* __MSVDX_CMDS_IO2_H__ */ 1570