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         msvdx_vec_mpeg2_reg_io2.h
30 
31  @Title        MSVDX Offsets
32 
33  @Platform     </b>\n
34 
35  @Description  </b>\n This file contains the MSVDX_VEC_MPEG2_REG_IO2_H Defintions.
36 
37 ******************************************************************************/
38 #if !defined (__MSVDX_VEC_MPEG2_REG_IO2_H__)
39 #define __MSVDX_VEC_MPEG2_REG_IO2_H__
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 
46 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_OFFSET             (0x060C)
47 
48 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_ALTERNATE_SCAN
49 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_ALTERNATE_SCAN_MASK             (0x00000200)
50 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_ALTERNATE_SCAN_LSBMASK          (0x00000001)
51 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_ALTERNATE_SCAN_SHIFT            (9)
52 
53 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_Q_SCALE_TYPE
54 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_Q_SCALE_TYPE_MASK               (0x00000100)
55 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_Q_SCALE_TYPE_LSBMASK            (0x00000001)
56 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_Q_SCALE_TYPE_SHIFT              (8)
57 
58 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_INTRA_DC_PRECISION
59 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_DC_PRECISION_MASK         (0x000000C0)
60 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_DC_PRECISION_LSBMASK              (0x00000003)
61 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_DC_PRECISION_SHIFT                (6)
62 
63 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_TOP_FIELD_FIRST
64 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_TOP_FIELD_FIRST_MASK            (0x00000020)
65 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_TOP_FIELD_FIRST_LSBMASK         (0x00000001)
66 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_TOP_FIELD_FIRST_SHIFT           (5)
67 
68 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_CONCEALMENT_MOTION_VECTORS
69 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_CONCEALMENT_MOTION_VECTORS_MASK         (0x00000010)
70 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_CONCEALMENT_MOTION_VECTORS_LSBMASK              (0x00000001)
71 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_CONCEALMENT_MOTION_VECTORS_SHIFT                (4)
72 
73 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_FRAME_PRED_FRAME_DCT
74 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_FRAME_PRED_FRAME_DCT_MASK               (0x00000008)
75 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_FRAME_PRED_FRAME_DCT_LSBMASK            (0x00000001)
76 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_FRAME_PRED_FRAME_DCT_SHIFT              (3)
77 
78 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_PICTURE_STRUCTURE
79 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_PICTURE_STRUCTURE_MASK          (0x00000006)
80 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_PICTURE_STRUCTURE_LSBMASK               (0x00000003)
81 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_PICTURE_STRUCTURE_SHIFT         (1)
82 
83 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS0     FE_INTRA_VLC_FORMAT
84 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_VLC_FORMAT_MASK           (0x00000001)
85 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_VLC_FORMAT_LSBMASK                (0x00000001)
86 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS0_FE_INTRA_VLC_FORMAT_SHIFT          (0)
87 
88 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_OFFSET             (0x0610)
89 
90 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS1     FE_PICTURE_CODING_TYPE
91 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_PICTURE_CODING_TYPE_MASK                (0x00070000)
92 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_PICTURE_CODING_TYPE_LSBMASK             (0x00000007)
93 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_PICTURE_CODING_TYPE_SHIFT               (16)
94 
95 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS1     FE_F_CODE00
96 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE00_MASK           (0x0000F000)
97 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE00_LSBMASK                (0x0000000F)
98 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE00_SHIFT          (12)
99 
100 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS1     FE_F_CODE01
101 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE01_MASK           (0x00000F00)
102 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE01_LSBMASK                (0x0000000F)
103 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE01_SHIFT          (8)
104 
105 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS1     FE_F_CODE10
106 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE10_MASK           (0x000000F0)
107 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE10_LSBMASK                (0x0000000F)
108 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE10_SHIFT          (4)
109 
110 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_PPS1     FE_F_CODE11
111 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE11_MASK           (0x0000000F)
112 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE11_LSBMASK                (0x0000000F)
113 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_PPS1_FE_F_CODE11_SHIFT          (0)
114 
115 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_OFFSET            (0x0614)
116 
117 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_SLICE     FE_LAST_IN_PICTURE
118 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_LAST_IN_PICTURE_MASK           (0x20000000)
119 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_LAST_IN_PICTURE_LSBMASK                (0x00000001)
120 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_LAST_IN_PICTURE_SHIFT          (29)
121 
122 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_SLICE     FE_FIRST_IN_ROW
123 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_FIRST_IN_ROW_MASK              (0x10000000)
124 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_FIRST_IN_ROW_LSBMASK           (0x00000001)
125 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_FIRST_IN_ROW_SHIFT             (28)
126 
127 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_SLICE     FE_SLICE_VERTICAL_POSITION_MINUS1
128 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_SLICE_VERTICAL_POSITION_MINUS1_MASK            (0x0FE00000)
129 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_SLICE_VERTICAL_POSITION_MINUS1_LSBMASK         (0x0000007F)
130 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_SLICE_VERTICAL_POSITION_MINUS1_SHIFT           (21)
131 
132 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_FE_SLICE     FE_QUANTISER_SCALE_CODE
133 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_QUANTISER_SCALE_CODE_MASK              (0x001F0000)
134 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_QUANTISER_SCALE_CODE_LSBMASK           (0x0000001F)
135 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SLICE_FE_QUANTISER_SCALE_CODE_SHIFT             (16)
136 
137 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SPS0_OFFSET             (0x0618)
138 
139 // MSVDX_VEC_MPEG2, CR_VEC_MPEG2_FE_SPS0, FE_HORIZONTAL_SIZE_MINUS1
140 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SPS0_FE_HORIZONTAL_SIZE_MINUS1_MASK             (0x00FF0000)
141 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SPS0_FE_HORIZONTAL_SIZE_MINUS1_LSBMASK          (0x000000FF)
142 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_SPS0_FE_HORIZONTAL_SIZE_MINUS1_SHIFT            (16)
143 
144 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_MPS0_OFFSET             (0x061C)
145 
146 // MSVDX_VEC_MPEG2, CR_VEC_MPEG2_FE_MPS0, CR_MACROBLOCK_ADDRESS_INC
147 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_MPS0_CR_MACROBLOCK_ADDRESS_INC_MASK             (0xFFFF0000)
148 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_MPS0_CR_MACROBLOCK_ADDRESS_INC_LSBMASK          (0x0000FFFF)
149 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_FE_MPS0_CR_MACROBLOCK_ADDRESS_INC_SHIFT            (16)
150 
151 
152 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS0_OFFSET             (0x0650)
153 
154 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SPS0     BE_HORIZONTAL_SIZE_MINUS1
155 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS0_BE_HORIZONTAL_SIZE_MINUS1_MASK             (0x0000007F)
156 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS0_BE_HORIZONTAL_SIZE_MINUS1_LSBMASK          (0x0000007F)
157 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS0_BE_HORIZONTAL_SIZE_MINUS1_SHIFT            (0)
158 
159 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS1_OFFSET             (0x0654)
160 
161 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SPS1     BE_VERTICAL_SIZE_MINUS1
162 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS1_BE_VERTICAL_SIZE_MINUS1_MASK               (0x0000007F)
163 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS1_BE_VERTICAL_SIZE_MINUS1_LSBMASK            (0x0000007F)
164 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SPS1_BE_VERTICAL_SIZE_MINUS1_SHIFT              (0)
165 
166 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_OFFSET             (0x0658)
167 
168 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_FRAME_PRED_FRAME_DCT
169 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FRAME_PRED_FRAME_DCT_MASK               (0x00000200)
170 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FRAME_PRED_FRAME_DCT_LSBMASK            (0x00000001)
171 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FRAME_PRED_FRAME_DCT_SHIFT              (9)
172 
173 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_Q_SCALE_TYPE
174 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_Q_SCALE_TYPE_MASK               (0x00000100)
175 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_Q_SCALE_TYPE_LSBMASK            (0x00000001)
176 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_Q_SCALE_TYPE_SHIFT              (8)
177 
178 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_INTRA_DC_PRECISION
179 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_INTRA_DC_PRECISION_MASK         (0x000000C0)
180 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_INTRA_DC_PRECISION_LSBMASK              (0x00000003)
181 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_INTRA_DC_PRECISION_SHIFT                (6)
182 
183 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_FULL_PEL_BACKWARD
184 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_BACKWARD_MASK          (0x00000020)
185 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_BACKWARD_LSBMASK               (0x00000001)
186 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_BACKWARD_SHIFT         (5)
187 
188 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_FULL_PEL_FORWARD
189 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_FORWARD_MASK           (0x00000010)
190 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_FORWARD_LSBMASK                (0x00000001)
191 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_FULL_PEL_FORWARD_SHIFT          (4)
192 
193 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_ALTERNATE_SCAN
194 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_ALTERNATE_SCAN_MASK             (0x00000008)
195 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_ALTERNATE_SCAN_LSBMASK          (0x00000001)
196 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_ALTERNATE_SCAN_SHIFT            (3)
197 
198 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_SPATIAL_TEMPORAL_WEIGHT_CODE_TABLE_INDEX
199 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_WEIGHT_CODE_TABLE_INDEX_MASK           (0x00000006)
200 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_WEIGHT_CODE_TABLE_INDEX_LSBMASK                (0x00000003)
201 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_WEIGHT_CODE_TABLE_INDEX_SHIFT          (1)
202 
203 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS0     BE_SPATIAL_TEMPORAL_SCALABLE_FLAG
204 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_SCALABLE_FLAG_MASK             (0x00000001)
205 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_SCALABLE_FLAG_LSBMASK          (0x00000001)
206 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS0_BE_SPATIAL_TEMPORAL_SCALABLE_FLAG_SHIFT            (0)
207 
208 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_OFFSET             (0x065C)
209 
210 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS1     BE_F_CODE00
211 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE00_MASK           (0x0000F000)
212 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE00_LSBMASK                (0x0000000F)
213 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE00_SHIFT          (12)
214 
215 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS1     BE_F_CODE01
216 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE01_MASK           (0x00000F00)
217 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE01_LSBMASK                (0x0000000F)
218 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE01_SHIFT          (8)
219 
220 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS1     BE_F_CODE10
221 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE10_MASK           (0x000000F0)
222 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE10_LSBMASK                (0x0000000F)
223 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE10_SHIFT          (4)
224 
225 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS1     BE_F_CODE11
226 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE11_MASK           (0x0000000F)
227 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE11_LSBMASK                (0x0000000F)
228 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS1_BE_F_CODE11_SHIFT          (0)
229 
230 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_OFFSET             (0x0660)
231 
232 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS2     BE_PICTURE_CODING_TYPE
233 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_CODING_TYPE_MASK                (0x00000070)
234 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_CODING_TYPE_LSBMASK             (0x00000007)
235 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_CODING_TYPE_SHIFT               (4)
236 
237 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS2     BE_TOP_FIELD_FIRST
238 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_TOP_FIELD_FIRST_MASK            (0x00000008)
239 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_TOP_FIELD_FIRST_LSBMASK         (0x00000001)
240 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_TOP_FIELD_FIRST_SHIFT           (3)
241 
242 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS2     BE_CONCEALMENT_MOTION_VECTORS
243 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_CONCEALMENT_MOTION_VECTORS_MASK         (0x00000004)
244 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_CONCEALMENT_MOTION_VECTORS_LSBMASK              (0x00000001)
245 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_CONCEALMENT_MOTION_VECTORS_SHIFT                (2)
246 
247 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_PPS2     BE_PICTURE_STRUCTURE
248 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_STRUCTURE_MASK          (0x00000003)
249 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_STRUCTURE_LSBMASK               (0x00000003)
250 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_PPS2_BE_PICTURE_STRUCTURE_SHIFT         (0)
251 
252 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_OFFSET            (0x0664)
253 
254 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SLICE     BE_IP_PAIR_FLAG
255 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_IP_PAIR_FLAG_MASK              (0x00008000)
256 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_IP_PAIR_FLAG_LSBMASK           (0x00000001)
257 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_IP_PAIR_FLAG_SHIFT             (15)
258 
259 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SLICE     BE_SECOND_FIELD_FLAG
260 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SECOND_FIELD_FLAG_MASK         (0x00004000)
261 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SECOND_FIELD_FLAG_LSBMASK              (0x00000001)
262 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SECOND_FIELD_FLAG_SHIFT                (14)
263 
264 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SLICE     BE_FIRST_IN_ROW
265 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_FIRST_IN_ROW_MASK              (0x00002000)
266 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_FIRST_IN_ROW_LSBMASK           (0x00000001)
267 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_FIRST_IN_ROW_SHIFT             (13)
268 
269 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SLICE     BE_SLICE_VERTICAL_POSITION_MINUS1
270 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SLICE_VERTICAL_POSITION_MINUS1_MASK            (0x00000FE0)
271 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SLICE_VERTICAL_POSITION_MINUS1_LSBMASK         (0x0000007F)
272 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_SLICE_VERTICAL_POSITION_MINUS1_SHIFT           (5)
273 
274 // MSVDX_VEC_MPEG2     CR_VEC_MPEG2_BE_SLICE     BE_QUANTISER_SCALE_CODE
275 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_QUANTISER_SCALE_CODE_MASK              (0x0000001F)
276 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_QUANTISER_SCALE_CODE_LSBMASK           (0x0000001F)
277 #define MSVDX_VEC_MPEG2_CR_VEC_MPEG2_BE_SLICE_BE_QUANTISER_SCALE_CODE_SHIFT             (0)
278 
279 
280 
281 #ifdef __cplusplus
282 }
283 #endif
284 
285 #endif /* __MSVDX_VEC_MPEG2_REG_IO2_H__ */
286