Home | History | Annotate | Download | only in hwdefs
      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 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SIZE                (4128)
     28 
     29 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REFERING_TO_BOTTOM
     30 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ALIGNMENT                (1)
     31 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_TYPE             uint8_t
     32 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_MASK             (0x40)
     33 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_LSBMASK          (0x01)
     34 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_OFFSET           (0x0023)
     35 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_SHIFT            (6)
     36 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_STRIDE           (4)
     37 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_NO_ENTRIES               (14)
     38 
     39 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     DPB_IDX_COL
     40 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_ALIGNMENT               (1)
     41 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_TYPE            uint8_t
     42 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_MASK            (0x3C)
     43 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_LSBMASK         (0x0F)
     44 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_OFFSET          (0x0023)
     45 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_SHIFT           (2)
     46 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_STRIDE          (4)
     47 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_COL_NO_ENTRIES              (14)
     48 
     49 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COMP_Y_COL
     50 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_ALIGNMENT                (4)
     51 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_TYPE             uint32_t
     52 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_MASK             (0x03FFC000)
     53 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_LSBMASK          (0x00000FFF)
     54 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_OFFSET           (0x0020)
     55 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_SHIFT            (14)
     56 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_STRIDE           (4)
     57 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_COL_NO_ENTRIES               (14)
     58 
     59 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COMP_X_COL
     60 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_ALIGNMENT                (2)
     61 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_TYPE             uint16_t
     62 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_MASK             (0x3FFF)
     63 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_LSBMASK          (0x3FFF)
     64 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_OFFSET           (0x0020)
     65 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_SHIFT            (0)
     66 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_STRIDE           (4)
     67 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_COL_NO_ENTRIES               (14)
     68 
     69 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REFERING_TO_BOTTOM_ABOVE
     70 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_ALIGNMENT          (1)
     71 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_TYPE               uint8_t
     72 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_MASK               (0x40)
     73 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_LSBMASK            (0x01)
     74 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_OFFSET             (0x0003)
     75 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_SHIFT              (6)
     76 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_STRIDE             (4)
     77 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REFERING_TO_BOTTOM_ABOVE_NO_ENTRIES         (4)
     78 
     79 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     DPB_IDX_ABOVE
     80 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_ALIGNMENT             (1)
     81 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_TYPE          uint8_t
     82 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_MASK          (0x3C)
     83 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_LSBMASK               (0x0F)
     84 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_OFFSET                (0x0003)
     85 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_SHIFT         (2)
     86 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_STRIDE                (4)
     87 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_DPB_IDX_ABOVE_NO_ENTRIES            (4)
     88 
     89 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COMP_Y_ABOVE
     90 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_ALIGNMENT              (4)
     91 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_TYPE           uint32_t
     92 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_MASK           (0x03FFC000)
     93 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_LSBMASK                (0x00000FFF)
     94 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_OFFSET         (0x0000)
     95 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_SHIFT          (14)
     96 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_STRIDE         (4)
     97 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_Y_ABOVE_NO_ENTRIES             (4)
     98 
     99 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COMP_X_ABOVE
    100 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_ALIGNMENT              (2)
    101 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_TYPE           uint16_t
    102 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_MASK           (0x3FFF)
    103 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_LSBMASK                (0x3FFF)
    104 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_OFFSET         (0x0000)
    105 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_SHIFT          (0)
    106 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_STRIDE         (4)
    107 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COMP_X_ABOVE_NO_ENTRIES             (4)
    108 
    109 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ASO_BLOCK3_PREDICTION_SIZE
    110 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_ALIGNMENT                (2)
    111 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_TYPE             uint16_t
    112 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_MASK             (0x0380)
    113 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_LSBMASK          (0x0007)
    114 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_OFFSET           (0x005E)
    115 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK3_PREDICTION_SIZE_SHIFT            (7)
    116 
    117 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ASO_BLOCK2_PREDICTION_SIZE
    118 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_ALIGNMENT                (1)
    119 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_TYPE             uint8_t
    120 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_MASK             (0x70)
    121 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_LSBMASK          (0x07)
    122 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_OFFSET           (0x005E)
    123 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK2_PREDICTION_SIZE_SHIFT            (4)
    124 
    125 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ASO_BLOCK1_PREDICTION_SIZE
    126 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_ALIGNMENT                (1)
    127 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_TYPE             uint8_t
    128 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_MASK             (0x0E)
    129 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_LSBMASK          (0x07)
    130 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_OFFSET           (0x005E)
    131 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK1_PREDICTION_SIZE_SHIFT            (1)
    132 
    133 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ASO_BLOCK0_PREDICTION_SIZE
    134 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_ALIGNMENT                (4)
    135 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_TYPE             uint32_t
    136 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_MASK             (0x0001C000)
    137 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_LSBMASK          (0x00000007)
    138 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_OFFSET           (0x005C)
    139 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_BLOCK0_PREDICTION_SIZE_SHIFT            (14)
    140 
    141 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COPY_DISABLE_DEBLOCK_FILTER_IDC
    142 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_ALIGNMENT           (1)
    143 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_TYPE                uint8_t
    144 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_MASK                (0x30)
    145 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_LSBMASK             (0x03)
    146 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_OFFSET              (0x005D)
    147 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_DISABLE_DEBLOCK_FILTER_IDC_SHIFT               (4)
    148 
    149 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2
    150 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_ALIGNMENT          (1)
    151 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_TYPE               uint8_t
    152 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_MASK               (0x0F)
    153 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_LSBMASK            (0x0F)
    154 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_OFFSET             (0x005D)
    155 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_ALPHA_CO_OFFSET_DIV2_SHIFT              (0)
    156 
    157 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2
    158 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_ALIGNMENT              (1)
    159 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_TYPE           uint8_t
    160 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_MASK           (0xF0)
    161 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_LSBMASK                (0x0F)
    162 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_OFFSET         (0x005C)
    163 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_BETA_OFFSET_DIV2_SHIFT          (4)
    164 
    165 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COPY_H264_BE_SLICE0_FIELD_TYPE
    166 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_ALIGNMENT            (1)
    167 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_TYPE         uint8_t
    168 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_MASK         (0x0C)
    169 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_LSBMASK              (0x03)
    170 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_OFFSET               (0x005C)
    171 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_FIELD_TYPE_SHIFT                (2)
    172 
    173 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COPY_H264_BE_SLICE0_CODE_TYPE
    174 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_ALIGNMENT             (1)
    175 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_TYPE          uint8_t
    176 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_MASK          (0x03)
    177 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_LSBMASK               (0x03)
    178 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_OFFSET                (0x005C)
    179 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COPY_H264_BE_SLICE0_CODE_TYPE_SHIFT         (0)
    180 
    181 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MB_AVAILABLE_TOP_FLAG
    182 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_ALIGNMENT             (1)
    183 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_TYPE          uint8_t
    184 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_MASK          (0x02)
    185 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_LSBMASK               (0x01)
    186 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_OFFSET                (0x005B)
    187 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_TOP_FLAG_SHIFT         (1)
    188 
    189 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MB_AVAILABLE_LEFT_FLAG
    190 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_ALIGNMENT            (1)
    191 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_TYPE         uint8_t
    192 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_MASK         (0x01)
    193 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_LSBMASK              (0x01)
    194 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_OFFSET               (0x005B)
    195 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_AVAILABLE_LEFT_FLAG_SHIFT                (0)
    196 
    197 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ASO_MB_TRANSFORM_ZERO
    198 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_ALIGNMENT             (4)
    199 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_TYPE          uint32_t
    200 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_MASK          (0x00FFFFFF)
    201 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_LSBMASK               (0x00FFFFFF)
    202 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_OFFSET                (0x0058)
    203 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ASO_MB_TRANSFORM_ZERO_SHIFT         (0)
    204 
    205 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     QP_CR_INTRA
    206 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_ALIGNMENT               (1)
    207 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_TYPE            uint8_t
    208 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_MASK            (0xFC)
    209 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_LSBMASK         (0x3F)
    210 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_OFFSET          (0x101F)
    211 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_INTRA_SHIFT           (2)
    212 
    213 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     QP_CB_INTRA
    214 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_ALIGNMENT               (2)
    215 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_TYPE            uint16_t
    216 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_MASK            (0x03F0)
    217 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_LSBMASK         (0x003F)
    218 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_OFFSET          (0x101E)
    219 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_INTRA_SHIFT           (4)
    220 
    221 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_PRED_2
    222 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_ALIGNMENT              (1)
    223 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_TYPE           uint8_t
    224 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_MASK           (0x0F)
    225 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_LSBMASK                (0x0F)
    226 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_OFFSET         (0x101E)
    227 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_2_SHIFT          (0)
    228 
    229 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_PRED_0
    230 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_ALIGNMENT              (1)
    231 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_TYPE           uint8_t
    232 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_MASK           (0xF0)
    233 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_LSBMASK                (0x0F)
    234 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_OFFSET         (0x101D)
    235 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_0_SHIFT          (4)
    236 
    237 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_PRED_1
    238 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_ALIGNMENT              (1)
    239 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_TYPE           uint8_t
    240 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_MASK           (0x0F)
    241 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_LSBMASK                (0x0F)
    242 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_OFFSET         (0x101D)
    243 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_1_SHIFT          (0)
    244 
    245 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_PRED_3
    246 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_ALIGNMENT              (1)
    247 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_TYPE           uint8_t
    248 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_MASK           (0xF0)
    249 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_LSBMASK                (0x0F)
    250 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_OFFSET         (0x101C)
    251 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_PRED_3_SHIFT          (4)
    252 
    253 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_4X4_OR_8X8_2
    254 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_ALIGNMENT                (1)
    255 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_TYPE             uint8_t
    256 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_MASK             (0x08)
    257 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_LSBMASK          (0x01)
    258 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_OFFSET           (0x101C)
    259 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_2_SHIFT            (3)
    260 
    261 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_4X4_OR_8X8_0
    262 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_ALIGNMENT                (1)
    263 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_TYPE             uint8_t
    264 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_MASK             (0x04)
    265 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_LSBMASK          (0x01)
    266 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_OFFSET           (0x101C)
    267 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_0_SHIFT            (2)
    268 
    269 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_4X4_OR_8X8_1
    270 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_ALIGNMENT                (1)
    271 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_TYPE             uint8_t
    272 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_MASK             (0x02)
    273 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_LSBMASK          (0x01)
    274 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_OFFSET           (0x101C)
    275 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_1_SHIFT            (1)
    276 
    277 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     INTRA_4X4_OR_8X8_3
    278 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_ALIGNMENT                (1)
    279 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_TYPE             uint8_t
    280 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_MASK             (0x01)
    281 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_LSBMASK          (0x01)
    282 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_OFFSET           (0x101C)
    283 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_INTRA_4X4_OR_8X8_3_SHIFT            (0)
    284 
    285 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     QP_CR
    286 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_ALIGNMENT             (1)
    287 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_TYPE          uint8_t
    288 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_MASK          (0xFC)
    289 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_LSBMASK               (0x3F)
    290 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_OFFSET                (0x001F)
    291 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CR_SHIFT         (2)
    292 
    293 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     QP_CB
    294 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_ALIGNMENT             (2)
    295 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_TYPE          uint16_t
    296 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_MASK          (0x03F0)
    297 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_LSBMASK               (0x003F)
    298 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_OFFSET                (0x001E)
    299 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_CB_SHIFT         (4)
    300 
    301 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     RESERVED_H3
    302 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_ALIGNMENT               (1)
    303 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_TYPE            uint8_t
    304 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_MASK            (0x0F)
    305 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_LSBMASK         (0x0F)
    306 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_OFFSET          (0x001E)
    307 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_RESERVED_H3_SHIFT           (0)
    308 
    309 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     COL_PIC_ZERO_FLAG
    310 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_ALIGNMENT         (2)
    311 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_TYPE              uint16_t
    312 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_MASK              (0xFFFF)
    313 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_LSBMASK           (0xFFFF)
    314 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_OFFSET            (0x001C)
    315 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_COL_PIC_ZERO_FLAG_SHIFT             (0)
    316 
    317 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MB_FIELD_FLAG
    318 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_ALIGNMENT             (1)
    319 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_TYPE          uint8_t
    320 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_MASK          (0x40)
    321 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_LSBMASK               (0x01)
    322 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_OFFSET                (0x001B)
    323 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_FIELD_FLAG_SHIFT         (6)
    324 
    325 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MBTYPE
    326 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_ALIGNMENT            (1)
    327 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_TYPE         uint8_t
    328 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_MASK         (0x30)
    329 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_LSBMASK              (0x03)
    330 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_OFFSET               (0x001B)
    331 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MBTYPE_SHIFT                (4)
    332 
    333 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L0_2
    334 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_ALIGNMENT              (2)
    335 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_TYPE           uint16_t
    336 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_MASK           (0x0F80)
    337 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_LSBMASK                (0x001F)
    338 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_OFFSET         (0x001A)
    339 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_2_SHIFT          (7)
    340 
    341 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L1_2
    342 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_ALIGNMENT              (1)
    343 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_TYPE           uint8_t
    344 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_MASK           (0x7C)
    345 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_LSBMASK                (0x1F)
    346 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_OFFSET         (0x001A)
    347 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_2_SHIFT          (2)
    348 
    349 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L0_3
    350 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_ALIGNMENT              (4)
    351 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_TYPE           uint32_t
    352 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_MASK           (0x0003E000)
    353 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_LSBMASK                (0x0000001F)
    354 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_OFFSET         (0x0018)
    355 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_3_SHIFT          (13)
    356 
    357 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L1_3
    358 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_ALIGNMENT              (1)
    359 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_TYPE           uint8_t
    360 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_MASK           (0x1F)
    361 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_LSBMASK                (0x1F)
    362 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_OFFSET         (0x0019)
    363 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_3_SHIFT          (0)
    364 
    365 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L0_VALID
    366 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_ALIGNMENT          (1)
    367 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_TYPE               uint8_t
    368 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_MASK               (0xF0)
    369 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_LSBMASK            (0x0F)
    370 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_OFFSET             (0x0018)
    371 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_VALID_SHIFT              (4)
    372 
    373 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L1_VALID
    374 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_ALIGNMENT          (1)
    375 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_TYPE               uint8_t
    376 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_MASK               (0x0F)
    377 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_LSBMASK            (0x0F)
    378 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_OFFSET             (0x0018)
    379 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_VALID_SHIFT              (0)
    380 
    381 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MB_ERROR_FLAG
    382 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_ALIGNMENT             (1)
    383 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_TYPE          uint8_t
    384 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_MASK          (0x80)
    385 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_LSBMASK               (0x01)
    386 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_OFFSET                (0x0017)
    387 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_ERROR_FLAG_SHIFT         (7)
    388 
    389 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     TRANSFORM_SIZE_8X8
    390 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_ALIGNMENT                (1)
    391 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_TYPE             uint8_t
    392 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_MASK             (0x40)
    393 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_LSBMASK          (0x01)
    394 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_OFFSET           (0x0017)
    395 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_TRANSFORM_SIZE_8X8_SHIFT            (6)
    396 
    397 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L0_0
    398 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_ALIGNMENT              (1)
    399 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_TYPE           uint8_t
    400 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_MASK           (0x3E)
    401 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_LSBMASK                (0x1F)
    402 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_OFFSET         (0x0017)
    403 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_0_SHIFT          (1)
    404 
    405 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L1_0
    406 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_ALIGNMENT              (2)
    407 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_TYPE           uint16_t
    408 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_MASK           (0x01F0)
    409 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_LSBMASK                (0x001F)
    410 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_OFFSET         (0x0016)
    411 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_0_SHIFT          (4)
    412 
    413 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L0_1
    414 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_ALIGNMENT              (4)
    415 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_TYPE           uint32_t
    416 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_MASK           (0x000F8000)
    417 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_LSBMASK                (0x0000001F)
    418 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_OFFSET         (0x0014)
    419 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L0_1_SHIFT          (15)
    420 
    421 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     REF_IDX_L1_1
    422 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_ALIGNMENT              (1)
    423 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_TYPE           uint8_t
    424 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_MASK           (0x7C)
    425 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_LSBMASK                (0x1F)
    426 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_OFFSET         (0x0015)
    427 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_REF_IDX_L1_1_SHIFT          (2)
    428 
    429 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     QP
    430 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_ALIGNMENT                (2)
    431 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_TYPE             uint16_t
    432 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_MASK             (0x03F0)
    433 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_LSBMASK          (0x003F)
    434 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_OFFSET           (0x0014)
    435 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_QP_SHIFT            (4)
    436 
    437 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     CBP
    438 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_ALIGNMENT               (1)
    439 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_TYPE            uint8_t
    440 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_MASK            (0x0F)
    441 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_LSBMASK         (0x0F)
    442 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_OFFSET          (0x0014)
    443 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_CBP_SHIFT           (0)
    444 
    445 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     MB_DECODED
    446 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_ALIGNMENT                (1)
    447 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_TYPE             uint8_t
    448 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_MASK             (0x20)
    449 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_LSBMASK          (0x01)
    450 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_OFFSET           (0x0013)
    451 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_MB_DECODED_SHIFT            (5)
    452 
    453 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     PICTURE_NO
    454 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_ALIGNMENT                (1)
    455 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_TYPE             uint8_t
    456 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_MASK             (0x1E)
    457 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_LSBMASK          (0x0F)
    458 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_OFFSET           (0x0013)
    459 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_PICTURE_NO_SHIFT            (1)
    460 
    461 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     SLICE_NO
    462 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_ALIGNMENT          (4)
    463 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_TYPE               uint32_t
    464 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_MASK               (0x01FFF000)
    465 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_LSBMASK            (0x00001FFF)
    466 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_OFFSET             (0x0010)
    467 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_SLICE_NO_SHIFT              (12)
    468 
    469 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ABOVE_MV_SIZE_2
    470 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_ALIGNMENT           (1)
    471 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_TYPE                uint8_t
    472 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_MASK                (0x0E)
    473 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_LSBMASK             (0x07)
    474 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_OFFSET              (0x0011)
    475 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_2_SHIFT               (1)
    476 
    477 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ABOVE_MV_SIZE_0
    478 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_ALIGNMENT           (2)
    479 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_TYPE                uint16_t
    480 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_MASK                (0x01C0)
    481 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_LSBMASK             (0x0007)
    482 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_OFFSET              (0x0010)
    483 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_0_SHIFT               (6)
    484 
    485 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ABOVE_MV_SIZE_1
    486 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_ALIGNMENT           (1)
    487 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_TYPE                uint8_t
    488 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_MASK                (0x38)
    489 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_LSBMASK             (0x07)
    490 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_OFFSET              (0x0010)
    491 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_1_SHIFT               (3)
    492 
    493 // MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT     ABOVE_MV_SIZE_3
    494 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_ALIGNMENT           (1)
    495 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_TYPE                uint8_t
    496 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_MASK                (0x07)
    497 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_LSBMASK             (0x07)
    498 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_OFFSET              (0x0010)
    499 #define MSVDX_VEC_ENTDEC_VLRIF_H264_MB_UNIT_ABOVE_MV_SIZE_3_SHIFT               (0)
    500 
    501 #define MSVDX_VEC_CR_VEC_CONTROL_ENTDEC_ENABLE_BE_MASK          (0x00000100)
    502 #define MSVDX_VEC_CR_VEC_CONTROL_ENTDEC_ENABLE_BE_SHIFT         (8)
    503