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 #ifndef _REGCONV_H_topazhp_core_regs_h 27 #define _REGCONV_H_topazhp_core_regs_h 28 29 #ifdef __cplusplus 30 #include "img_types.h" 31 #include "systemc_utils.h" 32 #endif 33 34 35 /* Register CR_TOPAZHP_SRST */ 36 #define TOPAZHP_CR_TOPAZHP_SRST 0x0000 37 #define MASK_TOPAZHP_CR_TOPAZHP_IPE_SOFT_RESET 0x00000001 38 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE_SOFT_RESET 0 39 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE_SOFT_RESET 0x0000 40 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE_SOFT_RESET 0 41 42 #define MASK_TOPAZHP_CR_TOPAZHP_SPE_SOFT_RESET 0x00000002 43 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE_SOFT_RESET 1 44 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE_SOFT_RESET 0x0000 45 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE_SOFT_RESET 0 46 47 #define MASK_TOPAZHP_CR_TOPAZHP_PC_SOFT_RESET 0x00000004 48 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_SOFT_RESET 2 49 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_SOFT_RESET 0x0000 50 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_SOFT_RESET 0 51 52 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP_SOFT_RESET 0x00000008 53 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP_SOFT_RESET 3 54 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP_SOFT_RESET 0x0000 55 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP_SOFT_RESET 0 56 57 #define MASK_TOPAZHP_CR_TOPAZHP_JMCOMP_SOFT_RESET 0x00000010 58 #define SHIFT_TOPAZHP_CR_TOPAZHP_JMCOMP_SOFT_RESET 4 59 #define REGNUM_TOPAZHP_CR_TOPAZHP_JMCOMP_SOFT_RESET 0x0000 60 #define SIGNED_TOPAZHP_CR_TOPAZHP_JMCOMP_SOFT_RESET 0 61 62 #define MASK_TOPAZHP_CR_TOPAZHP_PREFETCH_SOFT_RESET 0x00000020 63 #define SHIFT_TOPAZHP_CR_TOPAZHP_PREFETCH_SOFT_RESET 5 64 #define REGNUM_TOPAZHP_CR_TOPAZHP_PREFETCH_SOFT_RESET 0x0000 65 #define SIGNED_TOPAZHP_CR_TOPAZHP_PREFETCH_SOFT_RESET 0 66 67 #define MASK_TOPAZHP_CR_TOPAZHP_VLC_SOFT_RESET 0x00000040 68 #define SHIFT_TOPAZHP_CR_TOPAZHP_VLC_SOFT_RESET 6 69 #define REGNUM_TOPAZHP_CR_TOPAZHP_VLC_SOFT_RESET 0x0000 70 #define SIGNED_TOPAZHP_CR_TOPAZHP_VLC_SOFT_RESET 0 71 72 #define MASK_TOPAZHP_CR_TOPAZHP_DB_SOFT_RESET 0x00000080 73 #define SHIFT_TOPAZHP_CR_TOPAZHP_DB_SOFT_RESET 7 74 #define REGNUM_TOPAZHP_CR_TOPAZHP_DB_SOFT_RESET 0x0000 75 #define SIGNED_TOPAZHP_CR_TOPAZHP_DB_SOFT_RESET 0 76 77 #define MASK_TOPAZHP_CR_TOPAZHP_LTRITC_SOFT_RESET 0x00000100 78 #define SHIFT_TOPAZHP_CR_TOPAZHP_LTRITC_SOFT_RESET 8 79 #define REGNUM_TOPAZHP_CR_TOPAZHP_LTRITC_SOFT_RESET 0x0000 80 #define SIGNED_TOPAZHP_CR_TOPAZHP_LTRITC_SOFT_RESET 0 81 82 /* Register CR_TOPAZHP_INTSTAT */ 83 #define TOPAZHP_CR_TOPAZHP_INTSTAT 0x0004 84 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_IPE0_DONE 0x00000001 85 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_IPE0_DONE 0 86 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_IPE0_DONE 0x0004 87 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_IPE0_DONE 0 88 89 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_IPE1_DONE 0x00000002 90 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_IPE1_DONE 1 91 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_IPE1_DONE 0x0004 92 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_IPE1_DONE 0 93 94 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SPE0_DONE 0x00000004 95 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SPE0_DONE 2 96 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SPE0_DONE 0x0004 97 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SPE0_DONE 0 98 99 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SPE1_DONE 0x00000008 100 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SPE1_DONE 3 101 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SPE1_DONE 0x0004 102 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SPE1_DONE 0 103 104 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_PC_DONE 0x00000010 105 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_PC_DONE 4 106 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_PC_DONE 0x0004 107 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_PC_DONE 0 108 109 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_H264COMP_DONE 0x00000020 110 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_H264COMP_DONE 5 111 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_H264COMP_DONE 0x0004 112 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_H264COMP_DONE 0 113 114 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_JMCOMP_DONE 0x00000040 115 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_JMCOMP_DONE 6 116 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_JMCOMP_DONE 0x0004 117 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_JMCOMP_DONE 0 118 119 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_VLC_DONE 0x00000080 120 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_VLC_DONE 7 121 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_VLC_DONE 0x0004 122 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_VLC_DONE 0 123 124 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_DEB_DONE 0x00000100 125 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_DEB_DONE 8 126 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_DEB_DONE 0x0004 127 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_DEB_DONE 0 128 129 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE0 0x00000200 130 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE0 9 131 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE0 0x0004 132 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE0 0 133 134 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE1 0x00000400 135 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE1 10 136 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE1 0x0004 137 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SOFTWARE1 0 138 139 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SEQ_START 0x00000800 140 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SEQ_START 11 141 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SEQ_START 0x0004 142 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SEQ_START 0 143 144 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_SLICE_DONE 0x00001000 145 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_SLICE_DONE 12 146 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_SLICE_DONE 0x0004 147 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_SLICE_DONE 0 148 149 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_PREFETCH_DONE 0x00002000 150 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_PREFETCH_DONE 13 151 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_PREFETCH_DONE 0x0004 152 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_PREFETCH_DONE 0 153 154 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_RATE_CTRL_DONE 0x00004000 155 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_RATE_CTRL_DONE 14 156 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_RATE_CTRL_DONE 0x0004 157 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_RATE_CTRL_DONE 0 158 159 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_DMA_DONE 0x00010000 160 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_DMA_DONE 16 161 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_DMA_DONE 0x0004 162 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_DMA_DONE 0 163 164 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_COMBINED 0x20000000 165 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_COMBINED 29 166 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_COMBINED 0x0004 167 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_COMBINED 0 168 169 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_MASTER_MTX 0x40000000 170 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_MASTER_MTX 30 171 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_MASTER_MTX 0x0004 172 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_MASTER_MTX 0 173 174 #define MASK_TOPAZHP_CR_TOPAZHP_INTS_MASTER_HOST 0x80000000 175 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTS_MASTER_HOST 31 176 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTS_MASTER_HOST 0x0004 177 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTS_MASTER_HOST 0 178 179 /* Register CR_TOPAZHP_MTX_INTENAB */ 180 #define TOPAZHP_CR_TOPAZHP_MTX_INTENAB 0x0008 181 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE0_DONE 0x00000001 182 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE0_DONE 0 183 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE0_DONE 0x0008 184 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE0_DONE 0 185 186 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE1_DONE 0x00000002 187 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE1_DONE 1 188 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE1_DONE 0x0008 189 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_IPE1_DONE 0 190 191 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE0_DONE 0x00000004 192 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE0_DONE 2 193 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE0_DONE 0x0008 194 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE0_DONE 0 195 196 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE1_DONE 0x00000008 197 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE1_DONE 3 198 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE1_DONE 0x0008 199 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SPE1_DONE 0 200 201 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PC_DONE 0x00000010 202 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PC_DONE 4 203 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PC_DONE 0x0008 204 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PC_DONE 0 205 206 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_H264COMP_DONE 0x00000020 207 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_H264COMP_DONE 5 208 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_H264COMP_DONE 0x0008 209 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_H264COMP_DONE 0 210 211 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_JMCOMP_DONE 0x00000040 212 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_JMCOMP_DONE 6 213 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_JMCOMP_DONE 0x0008 214 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_JMCOMP_DONE 0 215 216 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_VLC_DONE 0x00000080 217 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_VLC_DONE 7 218 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_VLC_DONE 0x0008 219 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_VLC_DONE 0 220 221 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DEB_DONE 0x00000100 222 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DEB_DONE 8 223 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DEB_DONE 0x0008 224 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DEB_DONE 0 225 226 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE0 0x00000200 227 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE0 9 228 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE0 0x0008 229 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE0 0 230 231 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE1 0x00000400 232 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE1 10 233 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE1 0x0008 234 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SOFTWARE1 0 235 236 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SEQ_START 0x00000800 237 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SEQ_START 11 238 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SEQ_START 0x0008 239 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SEQ_START 0 240 241 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SLICE_DONE 0x00001000 242 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SLICE_DONE 12 243 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SLICE_DONE 0x0008 244 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_SLICE_DONE 0 245 246 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PREFETCH_DONE 0x00002000 247 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PREFETCH_DONE 13 248 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PREFETCH_DONE 0x0008 249 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_PREFETCH_DONE 0 250 251 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_RATE_CTRL_DONE 0x00004000 252 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_RATE_CTRL_DONE 14 253 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_RATE_CTRL_DONE 0x0008 254 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_RATE_CTRL_DONE 0 255 256 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DMA_DONE 0x00010000 257 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DMA_DONE 16 258 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DMA_DONE 0x0008 259 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_DMA_DONE 0 260 261 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_COMBINED 0x20000000 262 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_COMBINED 29 263 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_COMBINED 0x0008 264 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_COMBINED 0 265 266 #define MASK_TOPAZHP_CR_TOPAZHP_MTX_INTEN_MASTER 0x40000000 267 #define SHIFT_TOPAZHP_CR_TOPAZHP_MTX_INTEN_MASTER 30 268 #define REGNUM_TOPAZHP_CR_TOPAZHP_MTX_INTEN_MASTER 0x0008 269 #define SIGNED_TOPAZHP_CR_TOPAZHP_MTX_INTEN_MASTER 0 270 271 /* Register CR_TOPAZHP_HOST_INTENAB */ 272 #define TOPAZHP_CR_TOPAZHP_HOST_INTENAB 0x000C 273 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE0_DONE 0x00000001 274 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE0_DONE 0 275 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE0_DONE 0x000C 276 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE0_DONE 0 277 278 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE1_DONE 0x00000002 279 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE1_DONE 1 280 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE1_DONE 0x000C 281 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_IPE1_DONE 0 282 283 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE0_DONE 0x00000004 284 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE0_DONE 2 285 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE0_DONE 0x000C 286 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE0_DONE 0 287 288 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE1_DONE 0x00000008 289 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE1_DONE 3 290 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE1_DONE 0x000C 291 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SPE1_DONE 0 292 293 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PC_DONE 0x00000010 294 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PC_DONE 4 295 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PC_DONE 0x000C 296 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PC_DONE 0 297 298 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_H264COMP_DONE 0x00000020 299 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_H264COMP_DONE 5 300 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_H264COMP_DONE 0x000C 301 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_H264COMP_DONE 0 302 303 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_JMCOMP_DONE 0x00000040 304 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_JMCOMP_DONE 6 305 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_JMCOMP_DONE 0x000C 306 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_JMCOMP_DONE 0 307 308 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_VLC_DONE 0x00000080 309 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_VLC_DONE 7 310 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_VLC_DONE 0x000C 311 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_VLC_DONE 0 312 313 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DEB_DONE 0x00000100 314 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DEB_DONE 8 315 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DEB_DONE 0x000C 316 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DEB_DONE 0 317 318 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE0 0x00000200 319 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE0 9 320 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE0 0x000C 321 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE0 0 322 323 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE1 0x00000400 324 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE1 10 325 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE1 0x000C 326 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SOFTWARE1 0 327 328 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SEQ_START 0x00000800 329 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SEQ_START 11 330 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SEQ_START 0x000C 331 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SEQ_START 0 332 333 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SLICE_DONE 0x00001000 334 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SLICE_DONE 12 335 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SLICE_DONE 0x000C 336 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_SLICE_DONE 0 337 338 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PREFETCH_DONE 0x00002000 339 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PREFETCH_DONE 13 340 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PREFETCH_DONE 0x000C 341 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_PREFETCH_DONE 0 342 343 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_RATE_CTRL_DONE 0x00004000 344 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_RATE_CTRL_DONE 14 345 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_RATE_CTRL_DONE 0x000C 346 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_RATE_CTRL_DONE 0 347 348 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DMA_DONE 0x00010000 349 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DMA_DONE 16 350 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DMA_DONE 0x000C 351 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_DMA_DONE 0 352 353 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_COMBINED 0x20000000 354 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_COMBINED 29 355 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_COMBINED 0x000C 356 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_COMBINED 0 357 358 #define MASK_TOPAZHP_CR_TOPAZHP_HOST_INTEN_MASTER 0x80000000 359 #define SHIFT_TOPAZHP_CR_TOPAZHP_HOST_INTEN_MASTER 31 360 #define REGNUM_TOPAZHP_CR_TOPAZHP_HOST_INTEN_MASTER 0x000C 361 #define SIGNED_TOPAZHP_CR_TOPAZHP_HOST_INTEN_MASTER 0 362 363 /* Register CR_TOPAZHP_INTCLEAR */ 364 #define TOPAZHP_CR_TOPAZHP_INTCLEAR 0x0010 365 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_IPE0_DONE 0x00000001 366 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_IPE0_DONE 0 367 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_IPE0_DONE 0x0010 368 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_IPE0_DONE 0 369 370 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_IPE1_DONE 0x00000002 371 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_IPE1_DONE 1 372 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_IPE1_DONE 0x0010 373 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_IPE1_DONE 0 374 375 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SPE0_DONE 0x00000004 376 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SPE0_DONE 2 377 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SPE0_DONE 0x0010 378 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SPE0_DONE 0 379 380 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SPE1_DONE 0x00000008 381 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SPE1_DONE 3 382 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SPE1_DONE 0x0010 383 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SPE1_DONE 0 384 385 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_PC_DONE 0x00000010 386 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_PC_DONE 4 387 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_PC_DONE 0x0010 388 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_PC_DONE 0 389 390 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_H264COMP_DONE 0x00000020 391 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_H264COMP_DONE 5 392 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_H264COMP_DONE 0x0010 393 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_H264COMP_DONE 0 394 395 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_JMCOMP_DONE 0x00000040 396 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_JMCOMP_DONE 6 397 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_JMCOMP_DONE 0x0010 398 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_JMCOMP_DONE 0 399 400 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_VLC_DONE 0x00000080 401 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_VLC_DONE 7 402 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_VLC_DONE 0x0010 403 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_VLC_DONE 0 404 405 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_DEB_DONE 0x00000100 406 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_DEB_DONE 8 407 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_DEB_DONE 0x0010 408 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_DEB_DONE 0 409 410 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE0 0x00000200 411 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE0 9 412 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE0 0x0010 413 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE0 0 414 415 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE1 0x00000400 416 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE1 10 417 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE1 0x0010 418 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SOFTWARE1 0 419 420 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SEQ_START 0x00000800 421 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SEQ_START 11 422 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SEQ_START 0x0010 423 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SEQ_START 0 424 425 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_SLICE_DONE 0x00001000 426 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_SLICE_DONE 12 427 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_SLICE_DONE 0x0010 428 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_SLICE_DONE 0 429 430 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_PREFETCH_DONE 0x00002000 431 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_PREFETCH_DONE 13 432 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_PREFETCH_DONE 0x0010 433 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_PREFETCH_DONE 0 434 435 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_RATE_CTRL_DONE 0x00004000 436 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_RATE_CTRL_DONE 14 437 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_RATE_CTRL_DONE 0x0010 438 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_RATE_CTRL_DONE 0 439 440 #define MASK_TOPAZHP_CR_TOPAZHP_INTCLR_DMA_DONE 0x00010000 441 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCLR_DMA_DONE 16 442 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCLR_DMA_DONE 0x0010 443 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCLR_DMA_DONE 0 444 445 /* Register CR_TOPAZHP_INT_COMB_SEL */ 446 #define TOPAZHP_CR_TOPAZHP_INT_COMB_SEL 0x0014 447 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE0_DONE 0x00000001 448 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE0_DONE 0 449 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE0_DONE 0x0014 450 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE0_DONE 0 451 452 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE1_DONE 0x00000002 453 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE1_DONE 1 454 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE1_DONE 0x0014 455 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_IPE1_DONE 0 456 457 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE0_DONE 0x00000004 458 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE0_DONE 2 459 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE0_DONE 0x0014 460 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE0_DONE 0 461 462 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE1_DONE 0x00000008 463 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE1_DONE 3 464 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE1_DONE 0x0014 465 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SPE1_DONE 0 466 467 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_PC_DONE 0x00000010 468 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_PC_DONE 4 469 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_PC_DONE 0x0014 470 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_PC_DONE 0 471 472 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_H264COMP_DONE 0x00000020 473 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_H264COMP_DONE 5 474 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_H264COMP_DONE 0x0014 475 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_H264COMP_DONE 0 476 477 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_JMCOMP_DONE 0x00000040 478 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_JMCOMP_DONE 6 479 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_JMCOMP_DONE 0x0014 480 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_JMCOMP_DONE 0 481 482 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_VLC_DONE 0x00000080 483 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_VLC_DONE 7 484 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_VLC_DONE 0x0014 485 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_VLC_DONE 0 486 487 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_DEB_DONE 0x00000100 488 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_DEB_DONE 8 489 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_DEB_DONE 0x0014 490 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_DEB_DONE 0 491 492 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE0 0x00000200 493 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE0 9 494 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE0 0x0014 495 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE0 0 496 497 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE1 0x00000400 498 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE1 10 499 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE1 0x0014 500 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SOFTWARE1 0 501 502 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SEQ_START 0x00000800 503 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SEQ_START 11 504 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SEQ_START 0x0014 505 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SEQ_START 0 506 507 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_SLICE_DONE 0x00001000 508 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_SLICE_DONE 12 509 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_SLICE_DONE 0x0014 510 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_SLICE_DONE 0 511 512 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_PREFETCH_DONE 0x00002000 513 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_PREFETCH_DONE 13 514 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_PREFETCH_DONE 0x0014 515 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_PREFETCH_DONE 0 516 517 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_RATE_CTRL_DONE 0x00004000 518 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_RATE_CTRL_DONE 14 519 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_RATE_CTRL_DONE 0x0014 520 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_RATE_CTRL_DONE 0 521 522 #define MASK_TOPAZHP_CR_TOPAZHP_INTCSEL_DMA_DONE 0x00010000 523 #define SHIFT_TOPAZHP_CR_TOPAZHP_INTCSEL_DMA_DONE 16 524 #define REGNUM_TOPAZHP_CR_TOPAZHP_INTCSEL_DMA_DONE 0x0014 525 #define SIGNED_TOPAZHP_CR_TOPAZHP_INTCSEL_DMA_DONE 0 526 527 /* Register CR_TOPAZHP_BUSY */ 528 #define TOPAZHP_CR_TOPAZHP_BUSY 0x0018 529 #define MASK_TOPAZHP_CR_TOPAZHP_IPE0_BUSY 0x00000001 530 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE0_BUSY 0 531 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE0_BUSY 0x0018 532 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE0_BUSY 0 533 534 #define MASK_TOPAZHP_CR_TOPAZHP_IPE1_BUSY 0x00000002 535 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE1_BUSY 1 536 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE1_BUSY 0x0018 537 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE1_BUSY 0 538 539 #define MASK_TOPAZHP_CR_TOPAZHP_SPE0_BUSY 0x00000004 540 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE0_BUSY 2 541 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE0_BUSY 0x0018 542 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE0_BUSY 0 543 544 #define MASK_TOPAZHP_CR_TOPAZHP_SPE1_BUSY 0x00000008 545 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE1_BUSY 3 546 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE1_BUSY 0x0018 547 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE1_BUSY 0 548 549 #define MASK_TOPAZHP_CR_TOPAZHP_DIRECT_BUSY 0x00000010 550 #define SHIFT_TOPAZHP_CR_TOPAZHP_DIRECT_BUSY 4 551 #define REGNUM_TOPAZHP_CR_TOPAZHP_DIRECT_BUSY 0x0018 552 #define SIGNED_TOPAZHP_CR_TOPAZHP_DIRECT_BUSY 0 553 554 #define MASK_TOPAZHP_CR_TOPAZHP_PC_BUSY 0x00000020 555 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_BUSY 5 556 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_BUSY 0x0018 557 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_BUSY 0 558 559 #define MASK_TOPAZHP_CR_TOPAZHP_JMCOMP_BUSY 0x00000040 560 #define SHIFT_TOPAZHP_CR_TOPAZHP_JMCOMP_BUSY 6 561 #define REGNUM_TOPAZHP_CR_TOPAZHP_JMCOMP_BUSY 0x0018 562 #define SIGNED_TOPAZHP_CR_TOPAZHP_JMCOMP_BUSY 0 563 564 #define MASK_TOPAZHP_CR_TOPAZHP_VLC_BUSY 0x00000080 565 #define SHIFT_TOPAZHP_CR_TOPAZHP_VLC_BUSY 7 566 #define REGNUM_TOPAZHP_CR_TOPAZHP_VLC_BUSY 0x0018 567 #define SIGNED_TOPAZHP_CR_TOPAZHP_VLC_BUSY 0 568 569 #define MASK_TOPAZHP_CR_TOPAZHP_DEB_BUSY 0x00000100 570 #define SHIFT_TOPAZHP_CR_TOPAZHP_DEB_BUSY 8 571 #define REGNUM_TOPAZHP_CR_TOPAZHP_DEB_BUSY 0x0018 572 #define SIGNED_TOPAZHP_CR_TOPAZHP_DEB_BUSY 0 573 574 #define MASK_TOPAZHP_CR_TOPAZHP_MOTION_CALC_BUSY 0x00000200 575 #define SHIFT_TOPAZHP_CR_TOPAZHP_MOTION_CALC_BUSY 9 576 #define REGNUM_TOPAZHP_CR_TOPAZHP_MOTION_CALC_BUSY 0x0018 577 #define SIGNED_TOPAZHP_CR_TOPAZHP_MOTION_CALC_BUSY 0 578 579 #define MASK_TOPAZHP_CR_TOPAZHP_PREFETCH_BUSY 0x00000400 580 #define SHIFT_TOPAZHP_CR_TOPAZHP_PREFETCH_BUSY 10 581 #define REGNUM_TOPAZHP_CR_TOPAZHP_PREFETCH_BUSY 0x0018 582 #define SIGNED_TOPAZHP_CR_TOPAZHP_PREFETCH_BUSY 0 583 584 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP4X4_BUSY 0x00000800 585 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP4X4_BUSY 11 586 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP4X4_BUSY 0x0018 587 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP4X4_BUSY 0 588 589 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP8X8_BUSY 0x00001000 590 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP8X8_BUSY 12 591 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP8X8_BUSY 0x0018 592 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP8X8_BUSY 0 593 594 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP16X16_BUSY 0x00002000 595 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP16X16_BUSY 13 596 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP16X16_BUSY 0x0018 597 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP16X16_BUSY 0 598 599 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP_BUSY 0x00004000 600 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP_BUSY 14 601 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP_BUSY 0x0018 602 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP_BUSY 0 603 604 #define MASK_TOPAZHP_CR_TOPAZHP_CABAC_BUSY 0x00008000 605 #define SHIFT_TOPAZHP_CR_TOPAZHP_CABAC_BUSY 15 606 #define REGNUM_TOPAZHP_CR_TOPAZHP_CABAC_BUSY 0x0018 607 #define SIGNED_TOPAZHP_CR_TOPAZHP_CABAC_BUSY 0 608 609 /* Register CR_TOPAZHP_AUTO_CLOCK_GATING */ 610 #define TOPAZHP_CR_TOPAZHP_AUTO_CLOCK_GATING 0x0024 611 #define MASK_TOPAZHP_CR_TOPAZHP_IPE0_AUTO_CLK_GATE 0x00000001 612 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE0_AUTO_CLK_GATE 0 613 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE0_AUTO_CLK_GATE 0x0024 614 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE0_AUTO_CLK_GATE 0 615 616 #define MASK_TOPAZHP_CR_TOPAZHP_IPE1_AUTO_CLK_GATE 0x00000002 617 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE1_AUTO_CLK_GATE 1 618 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE1_AUTO_CLK_GATE 0x0024 619 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE1_AUTO_CLK_GATE 0 620 621 #define MASK_TOPAZHP_CR_TOPAZHP_SPE0_AUTO_CLK_GATE 0x00000004 622 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE0_AUTO_CLK_GATE 2 623 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE0_AUTO_CLK_GATE 0x0024 624 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE0_AUTO_CLK_GATE 0 625 626 #define MASK_TOPAZHP_CR_TOPAZHP_SPE1_AUTO_CLK_GATE 0x00000008 627 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE1_AUTO_CLK_GATE 3 628 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE1_AUTO_CLK_GATE 0x0024 629 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE1_AUTO_CLK_GATE 0 630 631 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP4X4_AUTO_CLK_GATE 0x00000010 632 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP4X4_AUTO_CLK_GATE 4 633 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP4X4_AUTO_CLK_GATE 0x0024 634 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP4X4_AUTO_CLK_GATE 0 635 636 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP8X8_AUTO_CLK_GATE 0x00000020 637 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP8X8_AUTO_CLK_GATE 5 638 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP8X8_AUTO_CLK_GATE 0x0024 639 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP8X8_AUTO_CLK_GATE 0 640 641 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP16X16_AUTO_CLK_GATE 0x00000040 642 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP16X16_AUTO_CLK_GATE 6 643 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP16X16_AUTO_CLK_GATE 0x0024 644 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP16X16_AUTO_CLK_GATE 0 645 646 #define MASK_TOPAZHP_CR_TOPAZHP_JMCOMP_AUTO_CLK_GATE 0x00000080 647 #define SHIFT_TOPAZHP_CR_TOPAZHP_JMCOMP_AUTO_CLK_GATE 7 648 #define REGNUM_TOPAZHP_CR_TOPAZHP_JMCOMP_AUTO_CLK_GATE 0x0024 649 #define SIGNED_TOPAZHP_CR_TOPAZHP_JMCOMP_AUTO_CLK_GATE 0 650 651 #define MASK_TOPAZHP_CR_TOPAZHP_VLC_AUTO_CLK_GATE 0x00000200 652 #define SHIFT_TOPAZHP_CR_TOPAZHP_VLC_AUTO_CLK_GATE 9 653 #define REGNUM_TOPAZHP_CR_TOPAZHP_VLC_AUTO_CLK_GATE 0x0024 654 #define SIGNED_TOPAZHP_CR_TOPAZHP_VLC_AUTO_CLK_GATE 0 655 656 #define MASK_TOPAZHP_CR_TOPAZHP_DEB_AUTO_CLK_GATE 0x00000400 657 #define SHIFT_TOPAZHP_CR_TOPAZHP_DEB_AUTO_CLK_GATE 10 658 #define REGNUM_TOPAZHP_CR_TOPAZHP_DEB_AUTO_CLK_GATE 0x0024 659 #define SIGNED_TOPAZHP_CR_TOPAZHP_DEB_AUTO_CLK_GATE 0 660 661 #define MASK_TOPAZHP_CR_TOPAZHP_PC_DM_AUTO_CLK_GATE 0x00000800 662 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_DM_AUTO_CLK_GATE 11 663 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_DM_AUTO_CLK_GATE 0x0024 664 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_DM_AUTO_CLK_GATE 0 665 666 #define MASK_TOPAZHP_CR_TOPAZHP_PC_DMS_AUTO_CLK_GATE 0x00001000 667 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_DMS_AUTO_CLK_GATE 12 668 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_DMS_AUTO_CLK_GATE 0x0024 669 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_DMS_AUTO_CLK_GATE 0 670 671 #define MASK_TOPAZHP_CR_TOPAZHP_CABAC_AUTO_CLK_GATE 0x00002000 672 #define SHIFT_TOPAZHP_CR_TOPAZHP_CABAC_AUTO_CLK_GATE 13 673 #define REGNUM_TOPAZHP_CR_TOPAZHP_CABAC_AUTO_CLK_GATE 0x0024 674 #define SIGNED_TOPAZHP_CR_TOPAZHP_CABAC_AUTO_CLK_GATE 0 675 676 /* Register CR_TOPAZHP_MAN_CLOCK_GATING */ 677 #define TOPAZHP_CR_TOPAZHP_MAN_CLOCK_GATING 0x0028 678 #define MASK_TOPAZHP_CR_TOPAZHP_IPE0_MAN_CLK_GATE 0x00000001 679 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE0_MAN_CLK_GATE 0 680 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE0_MAN_CLK_GATE 0x0028 681 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE0_MAN_CLK_GATE 0 682 683 #define MASK_TOPAZHP_CR_TOPAZHP_IPE1_MAN_CLK_GATE 0x00000002 684 #define SHIFT_TOPAZHP_CR_TOPAZHP_IPE1_MAN_CLK_GATE 1 685 #define REGNUM_TOPAZHP_CR_TOPAZHP_IPE1_MAN_CLK_GATE 0x0028 686 #define SIGNED_TOPAZHP_CR_TOPAZHP_IPE1_MAN_CLK_GATE 0 687 688 #define MASK_TOPAZHP_CR_TOPAZHP_SPE0_MAN_CLK_GATE 0x00000004 689 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE0_MAN_CLK_GATE 2 690 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE0_MAN_CLK_GATE 0x0028 691 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE0_MAN_CLK_GATE 0 692 693 #define MASK_TOPAZHP_CR_TOPAZHP_SPE1_MAN_CLK_GATE 0x00000008 694 #define SHIFT_TOPAZHP_CR_TOPAZHP_SPE1_MAN_CLK_GATE 3 695 #define REGNUM_TOPAZHP_CR_TOPAZHP_SPE1_MAN_CLK_GATE 0x0028 696 #define SIGNED_TOPAZHP_CR_TOPAZHP_SPE1_MAN_CLK_GATE 0 697 698 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP4X4_MAN_CLK_GATE 0x00000010 699 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP4X4_MAN_CLK_GATE 4 700 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP4X4_MAN_CLK_GATE 0x0028 701 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP4X4_MAN_CLK_GATE 0 702 703 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP8X8_MAN_CLK_GATE 0x00000020 704 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP8X8_MAN_CLK_GATE 5 705 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP8X8_MAN_CLK_GATE 0x0028 706 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP8X8_MAN_CLK_GATE 0 707 708 #define MASK_TOPAZHP_CR_TOPAZHP_H264COMP16X16_MAN_CLK_GATE 0x00000040 709 #define SHIFT_TOPAZHP_CR_TOPAZHP_H264COMP16X16_MAN_CLK_GATE 6 710 #define REGNUM_TOPAZHP_CR_TOPAZHP_H264COMP16X16_MAN_CLK_GATE 0x0028 711 #define SIGNED_TOPAZHP_CR_TOPAZHP_H264COMP16X16_MAN_CLK_GATE 0 712 713 #define MASK_TOPAZHP_CR_TOPAZHP_JMCOMP_MAN_CLK_GATE 0x00000080 714 #define SHIFT_TOPAZHP_CR_TOPAZHP_JMCOMP_MAN_CLK_GATE 7 715 #define REGNUM_TOPAZHP_CR_TOPAZHP_JMCOMP_MAN_CLK_GATE 0x0028 716 #define SIGNED_TOPAZHP_CR_TOPAZHP_JMCOMP_MAN_CLK_GATE 0 717 718 #define MASK_TOPAZHP_CR_TOPAZHP_PREFETCH_MAN_CLK_GATE 0x00000100 719 #define SHIFT_TOPAZHP_CR_TOPAZHP_PREFETCH_MAN_CLK_GATE 8 720 #define REGNUM_TOPAZHP_CR_TOPAZHP_PREFETCH_MAN_CLK_GATE 0x0028 721 #define SIGNED_TOPAZHP_CR_TOPAZHP_PREFETCH_MAN_CLK_GATE 0 722 723 #define MASK_TOPAZHP_CR_TOPAZHP_VLC_MAN_CLK_GATE 0x00000200 724 #define SHIFT_TOPAZHP_CR_TOPAZHP_VLC_MAN_CLK_GATE 9 725 #define REGNUM_TOPAZHP_CR_TOPAZHP_VLC_MAN_CLK_GATE 0x0028 726 #define SIGNED_TOPAZHP_CR_TOPAZHP_VLC_MAN_CLK_GATE 0 727 728 #define MASK_TOPAZHP_CR_TOPAZHP_DEB_MAN_CLK_GATE 0x00000400 729 #define SHIFT_TOPAZHP_CR_TOPAZHP_DEB_MAN_CLK_GATE 10 730 #define REGNUM_TOPAZHP_CR_TOPAZHP_DEB_MAN_CLK_GATE 0x0028 731 #define SIGNED_TOPAZHP_CR_TOPAZHP_DEB_MAN_CLK_GATE 0 732 733 #define MASK_TOPAZHP_CR_TOPAZHP_PC_DM_MAN_CLK_GATE 0x00000800 734 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_DM_MAN_CLK_GATE 11 735 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_DM_MAN_CLK_GATE 0x0028 736 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_DM_MAN_CLK_GATE 0 737 738 #define MASK_TOPAZHP_CR_TOPAZHP_PC_DMS_MAN_CLK_GATE 0x00001000 739 #define SHIFT_TOPAZHP_CR_TOPAZHP_PC_DMS_MAN_CLK_GATE 12 740 #define REGNUM_TOPAZHP_CR_TOPAZHP_PC_DMS_MAN_CLK_GATE 0x0028 741 #define SIGNED_TOPAZHP_CR_TOPAZHP_PC_DMS_MAN_CLK_GATE 0 742 743 #define MASK_TOPAZHP_CR_TOPAZHP_CABAC_MAN_CLK_GATE 0x00002000 744 #define SHIFT_TOPAZHP_CR_TOPAZHP_CABAC_MAN_CLK_GATE 13 745 #define REGNUM_TOPAZHP_CR_TOPAZHP_CABAC_MAN_CLK_GATE 0x0028 746 #define SIGNED_TOPAZHP_CR_TOPAZHP_CABAC_MAN_CLK_GATE 0 747 748 #define MASK_TOPAZHP_CR_TOPAZHP_LRITC_MAN_CLK_GATE 0x00004000 749 #define SHIFT_TOPAZHP_CR_TOPAZHP_LRITC_MAN_CLK_GATE 14 750 #define REGNUM_TOPAZHP_CR_TOPAZHP_LRITC_MAN_CLK_GATE 0x0028 751 #define SIGNED_TOPAZHP_CR_TOPAZHP_LRITC_MAN_CLK_GATE 0 752 753 /* Register CR_TOPAZHP_REQ_PRIORITY */ 754 #define TOPAZHP_CR_TOPAZHP_REQ_PRIORITY 0x002C 755 #define MASK_TOPAZHP_CR_REQ_PRIORITY_THRESH 0x0000FFFF 756 #define SHIFT_TOPAZHP_CR_REQ_PRIORITY_THRESH 0 757 #define REGNUM_TOPAZHP_CR_REQ_PRIORITY_THRESH 0x002C 758 #define SIGNED_TOPAZHP_CR_REQ_PRIORITY_THRESH 0 759 760 #define MASK_TOPAZHP_CR_REQ_PRIORITY_DECR 0x0FFF0000 761 #define SHIFT_TOPAZHP_CR_REQ_PRIORITY_DECR 16 762 #define REGNUM_TOPAZHP_CR_REQ_PRIORITY_DECR 0x002C 763 #define SIGNED_TOPAZHP_CR_REQ_PRIORITY_DECR 0 764 765 /* Register CR_TOPAZHP_RTM */ 766 #define TOPAZHP_CR_TOPAZHP_RTM 0x0030 767 #define MASK_TOPAZHP_CR_RTM_SELECT_A 0x00000007 768 #define SHIFT_TOPAZHP_CR_RTM_SELECT_A 0 769 #define REGNUM_TOPAZHP_CR_RTM_SELECT_A 0x0030 770 #define SIGNED_TOPAZHP_CR_RTM_SELECT_A 0 771 772 #define MASK_TOPAZHP_CR_RTM_SELECT_A_MODULE 0x00000078 773 #define SHIFT_TOPAZHP_CR_RTM_SELECT_A_MODULE 3 774 #define REGNUM_TOPAZHP_CR_RTM_SELECT_A_MODULE 0x0030 775 #define SIGNED_TOPAZHP_CR_RTM_SELECT_A_MODULE 0 776 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_NONE 0x0000000F /* Output forced to 0 */ 777 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_LRITC 0x0000000E /* LRITC module */ 778 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_PERFORMANCE 0x0000000D /* end of mb and end of pic. */ 779 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_PC_DM 0x0000000C /* PC decision module */ 780 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_H264COMP16X16 0x0000000B /* H264COMP 16X16 module */ 781 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_H264COMP8X8 0x0000000A /* H264COMP 8X8 module */ 782 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_H264COMP4X4 0x00000009 /* H264COMP 4X4 module */ 783 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_SPE1 0x00000008 /* SPE 1 module */ 784 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_SPE0 0x00000007 /* SPE 0 module */ 785 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_DB 0x00000006 /* Deblocker module */ 786 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_CABAC 0x00000005 /* CABAC module */ 787 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_VLC 0x00000004 /* VLC module */ 788 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_JMCOMP 0x00000003 /* JMCOMP module */ 789 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_PREFETCH 0x00000002 /* PREFETCH module */ 790 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_IPE1 0x00000001 /* IPE 1 module */ 791 #define TOPAZHP_CR_RTM_SELECT_A_MODULE_IPE0 0x00000000 /* IPE 0 module */ 792 793 #define MASK_TOPAZHP_CR_RTM_SELECT_B 0x00000380 794 #define SHIFT_TOPAZHP_CR_RTM_SELECT_B 7 795 #define REGNUM_TOPAZHP_CR_RTM_SELECT_B 0x0030 796 #define SIGNED_TOPAZHP_CR_RTM_SELECT_B 0 797 798 #define MASK_TOPAZHP_CR_RTM_SELECT_B_MODULE 0x00003C00 799 #define SHIFT_TOPAZHP_CR_RTM_SELECT_B_MODULE 10 800 #define REGNUM_TOPAZHP_CR_RTM_SELECT_B_MODULE 0x0030 801 #define SIGNED_TOPAZHP_CR_RTM_SELECT_B_MODULE 0 802 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_NONE 0x0000000F /* Output forced to 0 */ 803 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_LRITC 0x0000000E /* LRITC module */ 804 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_PERFORMANCE 0x0000000D /* end of mb and end of pic. */ 805 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_PC 0x0000000C /* PC module */ 806 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_H264COMP16X16 0x0000000B /* H264COMP 16X16 module */ 807 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_H264COMP8X8 0x0000000A /* H264COMP 8X8 module */ 808 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_H264COMP4X4 0x00000009 /* H264COMP 4X4 module */ 809 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_SPE1 0x00000008 /* SPE 1 module */ 810 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_SPE0 0x00000007 /* SPE 0 module */ 811 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_DB 0x00000006 /* Deblocker module */ 812 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_CABAC 0x00000005 /* CABAC module */ 813 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_VLC 0x00000004 /* VLC module */ 814 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_JMCOMP 0x00000003 /* JMCOMP module */ 815 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_PREFETCH 0x00000002 /* PREFETCH module */ 816 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_IPE1 0x00000001 /* IPE 1 module */ 817 #define TOPAZHP_CR_RTM_SELECT_B_MODULE_IPE0 0x00000000 /* IPE 0 module */ 818 819 /* Register CR_TOPAZHP_RTM_VALUE */ 820 #define TOPAZHP_CR_TOPAZHP_RTM_VALUE 0x0034 821 #define MASK_TOPAZHP_CR_RTM_A 0x000000FF 822 #define SHIFT_TOPAZHP_CR_RTM_A 0 823 #define REGNUM_TOPAZHP_CR_RTM_A 0x0034 824 #define SIGNED_TOPAZHP_CR_RTM_A 0 825 826 #define MASK_TOPAZHP_CR_RTM_B 0x0000FF00 827 #define SHIFT_TOPAZHP_CR_RTM_B 8 828 #define REGNUM_TOPAZHP_CR_RTM_B 0x0034 829 #define SIGNED_TOPAZHP_CR_RTM_B 0 830 831 /* Register CR_TOPAZHP_MB_PERFORMANCE_RESULT */ 832 #define TOPAZHP_CR_TOPAZHP_MB_PERFORMANCE_RESULT 0x0038 833 #define MASK_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_RESULT 0x0000FFFF 834 #define SHIFT_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_RESULT 0 835 #define REGNUM_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_RESULT 0x0038 836 #define SIGNED_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_RESULT 0 837 838 /* Register CR_TOPAZHP_MB_PERFORMANCE_MB_NUMBER */ 839 #define TOPAZHP_CR_TOPAZHP_MB_PERFORMANCE_MB_NUMBER 0x003C 840 #define MASK_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_MB_NUM 0x0000FFFF 841 #define SHIFT_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_MB_NUM 0 842 #define REGNUM_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_MB_NUM 0x003C 843 #define SIGNED_TOPAZHP_CR_TOPAZ_MB_PERFORMANCE_MB_NUM 0 844 845 /* Register CR_LRITC_TILE_USE_CONFIG */ 846 #define TOPAZHP_CR_LRITC_TILE_USE_CONFIG 0x0040 847 #define MASK_TOPAZHP_CR_MAX_PIC0_LUMA_TILES 0x0000003F 848 #define SHIFT_TOPAZHP_CR_MAX_PIC0_LUMA_TILES 0 849 #define REGNUM_TOPAZHP_CR_MAX_PIC0_LUMA_TILES 0x0040 850 #define SIGNED_TOPAZHP_CR_MAX_PIC0_LUMA_TILES 0 851 852 #define MASK_TOPAZHP_CR_MAX_PIC1_LUMA_TILES 0x00003F00 853 #define SHIFT_TOPAZHP_CR_MAX_PIC1_LUMA_TILES 8 854 #define REGNUM_TOPAZHP_CR_MAX_PIC1_LUMA_TILES 0x0040 855 #define SIGNED_TOPAZHP_CR_MAX_PIC1_LUMA_TILES 0 856 857 #define MASK_TOPAZHP_CR_MAX_PIC0_CHROMA_TILES 0x003F0000 858 #define SHIFT_TOPAZHP_CR_MAX_PIC0_CHROMA_TILES 16 859 #define REGNUM_TOPAZHP_CR_MAX_PIC0_CHROMA_TILES 0x0040 860 #define SIGNED_TOPAZHP_CR_MAX_PIC0_CHROMA_TILES 0 861 862 #define MASK_TOPAZHP_CR_MAX_PIC1_CHROMA_TILES 0x3F000000 863 #define SHIFT_TOPAZHP_CR_MAX_PIC1_CHROMA_TILES 24 864 #define REGNUM_TOPAZHP_CR_MAX_PIC1_CHROMA_TILES 0x0040 865 #define SIGNED_TOPAZHP_CR_MAX_PIC1_CHROMA_TILES 0 866 867 /* Register CR_LRITC_TILE_USE_STATUS */ 868 #define TOPAZHP_CR_LRITC_TILE_USE_STATUS 0x0048 869 #define MASK_TOPAZHP_CR_PIC0_LUMA_TILES 0x0000003F 870 #define SHIFT_TOPAZHP_CR_PIC0_LUMA_TILES 0 871 #define REGNUM_TOPAZHP_CR_PIC0_LUMA_TILES 0x0048 872 #define SIGNED_TOPAZHP_CR_PIC0_LUMA_TILES 0 873 874 #define MASK_TOPAZHP_CR_PIC1_LUMA_TILES 0x00003F00 875 #define SHIFT_TOPAZHP_CR_PIC1_LUMA_TILES 8 876 #define REGNUM_TOPAZHP_CR_PIC1_LUMA_TILES 0x0048 877 #define SIGNED_TOPAZHP_CR_PIC1_LUMA_TILES 0 878 879 #define MASK_TOPAZHP_CR_PIC0_CHROMA_TILES 0x003F0000 880 #define SHIFT_TOPAZHP_CR_PIC0_CHROMA_TILES 16 881 #define REGNUM_TOPAZHP_CR_PIC0_CHROMA_TILES 0x0048 882 #define SIGNED_TOPAZHP_CR_PIC0_CHROMA_TILES 0 883 884 #define MASK_TOPAZHP_CR_PIC1_CHROMA_TILES 0x3F000000 885 #define SHIFT_TOPAZHP_CR_PIC1_CHROMA_TILES 24 886 #define REGNUM_TOPAZHP_CR_PIC1_CHROMA_TILES 0x0048 887 #define SIGNED_TOPAZHP_CR_PIC1_CHROMA_TILES 0 888 889 /* Register CR_LRITC_SIGNATURE_ADDR */ 890 #define TOPAZHP_CR_LRITC_SIGNATURE_ADDR 0x0058 891 #define MASK_TOPAZHP_CR_LRITC_SIGNATURE_ADDR 0xFFFFFFFF 892 #define SHIFT_TOPAZHP_CR_LRITC_SIGNATURE_ADDR 0 893 #define REGNUM_TOPAZHP_CR_LRITC_SIGNATURE_ADDR 0x0058 894 #define SIGNED_TOPAZHP_CR_LRITC_SIGNATURE_ADDR 0 895 896 /* Register CR_LRITC_SIGNATURE_RDATA */ 897 #define TOPAZHP_CR_LRITC_SIGNATURE_RDATA 0x005C 898 #define MASK_TOPAZHP_CR_LRITC_SIGNATURE_RDATA 0xFFFFFFFF 899 #define SHIFT_TOPAZHP_CR_LRITC_SIGNATURE_RDATA 0 900 #define REGNUM_TOPAZHP_CR_LRITC_SIGNATURE_RDATA 0x005C 901 #define SIGNED_TOPAZHP_CR_LRITC_SIGNATURE_RDATA 0 902 903 /* Register CR_MEM_SIGNATURE_CONTROL */ 904 #define TOPAZHP_CR_MEM_SIGNATURE_CONTROL 0x0060 905 #define MASK_TOPAZHP_CR_SIGNATURE_WDATA_SEL 0x0000000F 906 #define SHIFT_TOPAZHP_CR_SIGNATURE_WDATA_SEL 0 907 #define REGNUM_TOPAZHP_CR_SIGNATURE_WDATA_SEL 0x0060 908 #define SIGNED_TOPAZHP_CR_SIGNATURE_WDATA_SEL 0 909 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_ABOVE_CHROMA_WR 0x0000000B /* Above reconstructed chroma write to host memory */ 910 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_ABOVE_LUMA_WR 0x0000000A /* Above reconstructed luma write to host memory */ 911 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_RECON_CHROMA_WR 0x00000009 /* Reconstructed Chroma write to host memory */ 912 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_RECON_LUMA_WR 0x00000008 /* Reconstructed Luma write to host memory */ 913 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_ABOVE_SEC_B_WR 0x00000007 /* Above params section B write to host memory */ 914 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_ABOVE_SEC_A_WR 0x00000006 /* Above params section A write to host memory */ 915 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_TEMP_PIC1_BE_WR 0x00000004 /* Temporal picture 1 below MV write */ 916 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_TEMP_PIC0_BE_WR 0x00000002 /* Temporal picture 0 below MV write */ 917 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_TEMP_CO_WR 0x00000001 /* Temporal co-located MV write to host memory */ 918 #define TOPAZHP_CR_SIGNATURE_WDATA_SEL_DMA_2D_WR 0x00000000 /* ESB to host memory DMA engine transfers */ 919 920 #define MASK_TOPAZHP_CR_SIGNATURE_WDATA_INIT 0x00000010 921 #define SHIFT_TOPAZHP_CR_SIGNATURE_WDATA_INIT 4 922 #define REGNUM_TOPAZHP_CR_SIGNATURE_WDATA_INIT 0x0060 923 #define SIGNED_TOPAZHP_CR_SIGNATURE_WDATA_INIT 0 924 925 #define MASK_TOPAZHP_CR_SIGNATURE_RDATA_SEL 0x00000F00 926 #define SHIFT_TOPAZHP_CR_SIGNATURE_RDATA_SEL 8 927 #define REGNUM_TOPAZHP_CR_SIGNATURE_RDATA_SEL 0x0060 928 #define SIGNED_TOPAZHP_CR_SIGNATURE_RDATA_SEL 0 929 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_ABOVE_CHROMA_RD 0x0000000B /* Chroma read from row above in reconstructed frame */ 930 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_ABOVE_LUMA_RD 0x0000000A /* Luma read from row above in reconstructed frame */ 931 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_CUR_CHROMA_RD 0x00000009 /* Chroma read from frame to encode */ 932 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_CUR_LUMA_RD 0x00000008 /* Luma read from frame to encode */ 933 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_ABOVE_SEC_B_RD 0x00000007 /* Above params section B read from host memory */ 934 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_ABOVE_SEC_A_RD 0x00000006 /* Above params section A read from host memory */ 935 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_TEMP_PIC1_BE2_RD 0x00000005 /* Temporal picture 1 below 2 MV read */ 936 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_TEMP_PIC1_BE1_RD 0x00000004 /* Temporal picture 1 below 1 MV read */ 937 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_TEMP_PIC0_BE2_RD 0x00000003 /* Temporal picture 0 below 2 MV read */ 938 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_TEMP_PIC0_BE1_RD 0x00000002 /* Temporal picture 0 below 1 MV read */ 939 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_TEMP_CO_RD 0x00000001 /* Temporal co-located MV read from host memory */ 940 #define TOPAZHP_CR_SIGNATURE_RDATA_SEL_DMA_2D_RD 0x00000000 /* Host memory to ESB DMA engine transfers */ 941 942 #define MASK_TOPAZHP_CR_SIGNATURE_RDATA_INIT 0x00001000 943 #define SHIFT_TOPAZHP_CR_SIGNATURE_RDATA_INIT 12 944 #define REGNUM_TOPAZHP_CR_SIGNATURE_RDATA_INIT 0x0060 945 #define SIGNED_TOPAZHP_CR_SIGNATURE_RDATA_INIT 0 946 947 #define MASK_TOPAZHP_CR_SIGNATURE_ADDR_SEL 0x001F0000 948 #define SHIFT_TOPAZHP_CR_SIGNATURE_ADDR_SEL 16 949 #define REGNUM_TOPAZHP_CR_SIGNATURE_ADDR_SEL 0x0060 950 #define SIGNED_TOPAZHP_CR_SIGNATURE_ADDR_SEL 0 951 952 #define MASK_TOPAZHP_CR_SIGNATURE_ADDR_INIT 0x00200000 953 #define SHIFT_TOPAZHP_CR_SIGNATURE_ADDR_INIT 21 954 #define REGNUM_TOPAZHP_CR_SIGNATURE_ADDR_INIT 0x0060 955 #define SIGNED_TOPAZHP_CR_SIGNATURE_ADDR_INIT 0 956 957 /* Register CR_MEM_SIGNATURE_ENC_WDATA */ 958 #define TOPAZHP_CR_MEM_SIGNATURE_ENC_WDATA 0x0064 959 #define MASK_TOPAZHP_CR_MEM_SIGNATURE_ENC_WDATA 0xFFFFFFFF 960 #define SHIFT_TOPAZHP_CR_MEM_SIGNATURE_ENC_WDATA 0 961 #define REGNUM_TOPAZHP_CR_MEM_SIGNATURE_ENC_WDATA 0x0064 962 #define SIGNED_TOPAZHP_CR_MEM_SIGNATURE_ENC_WDATA 0 963 964 /* Register CR_MEM_SIGNATURE_ENC_RDATA */ 965 #define TOPAZHP_CR_MEM_SIGNATURE_ENC_RDATA 0x0068 966 #define MASK_TOPAZHP_CR_MEM_SIGNATURE_ENC_RDATA 0xFFFFFFFF 967 #define SHIFT_TOPAZHP_CR_MEM_SIGNATURE_ENC_RDATA 0 968 #define REGNUM_TOPAZHP_CR_MEM_SIGNATURE_ENC_RDATA 0x0068 969 #define SIGNED_TOPAZHP_CR_MEM_SIGNATURE_ENC_RDATA 0 970 971 /* Register CR_MEM_SIGNATURE_ENC_ADDR */ 972 #define TOPAZHP_CR_MEM_SIGNATURE_ENC_ADDR 0x006C 973 #define MASK_TOPAZHP_CR_MEM_SIGNATURE_ENC_ADDR 0xFFFFFFFF 974 #define SHIFT_TOPAZHP_CR_MEM_SIGNATURE_ENC_ADDR 0 975 #define REGNUM_TOPAZHP_CR_MEM_SIGNATURE_ENC_ADDR 0x006C 976 #define SIGNED_TOPAZHP_CR_MEM_SIGNATURE_ENC_ADDR 0 977 978 /* Register CR_PREFETCH_LRITC_SIGNATURE */ 979 #define TOPAZHP_CR_PREFETCH_LRITC_SIGNATURE 0x0070 980 #define MASK_TOPAZHP_CR_PREFETCH_LRITC_SIGNATURE 0xFFFFFFFF 981 #define SHIFT_TOPAZHP_CR_PREFETCH_LRITC_SIGNATURE 0 982 #define REGNUM_TOPAZHP_CR_PREFETCH_LRITC_SIGNATURE 0x0070 983 #define SIGNED_TOPAZHP_CR_PREFETCH_LRITC_SIGNATURE 0 984 985 /* Register CR_PROC_DMA_CONTROL */ 986 #define TOPAZHP_CR_PROC_DMA_CONTROL 0x00E0 987 #define MASK_TOPAZHP_CR_DMA_FORMAT 0x00000007 988 #define SHIFT_TOPAZHP_CR_DMA_FORMAT 0 989 #define REGNUM_TOPAZHP_CR_DMA_FORMAT 0x00E0 990 #define SIGNED_TOPAZHP_CR_DMA_FORMAT 0 991 #define TOPAZHP_CR_DMA_FORMAT_UYVY 0x00000005 /* Interleaved luma and chroma (chroma first) */ 992 #define TOPAZHP_CR_DMA_FORMAT_YUYV 0x00000004 /* Interleaved luma and chroma (luma first) */ 993 #define TOPAZHP_CR_DMA_FORMAT_CHROMA_UV 0x00000002 /* 2-D fetch of interleaved chroma */ 994 #define TOPAZHP_CR_DMA_FORMAT_2D_PLANE 0x00000001 /* 2-D fetch (luma plane) */ 995 #define TOPAZHP_CR_DMA_FORMAT_LINEAR 0x00000000 /* 1-D fetch */ 996 997 #define MASK_TOPAZHP_CR_DMA_SIZE 0x0000FF00 998 #define SHIFT_TOPAZHP_CR_DMA_SIZE 8 999 #define REGNUM_TOPAZHP_CR_DMA_SIZE 0x00E0 1000 #define SIGNED_TOPAZHP_CR_DMA_SIZE 0 1001 1002 #define MASK_TOPAZHP_CR_DMA_ESB_ADDR 0x00FF0000 1003 #define SHIFT_TOPAZHP_CR_DMA_ESB_ADDR 16 1004 #define REGNUM_TOPAZHP_CR_DMA_ESB_ADDR 0x00E0 1005 #define SIGNED_TOPAZHP_CR_DMA_ESB_ADDR 0 1006 1007 #define MASK_TOPAZHP_CR_DMA_READ_NWRITE 0x01000000 1008 #define SHIFT_TOPAZHP_CR_DMA_READ_NWRITE 24 1009 #define REGNUM_TOPAZHP_CR_DMA_READ_NWRITE 0x00E0 1010 #define SIGNED_TOPAZHP_CR_DMA_READ_NWRITE 0 1011 1012 #define MASK_TOPAZHP_CR_DMA_SYS_ADDR_SEL 0x02000000 1013 #define SHIFT_TOPAZHP_CR_DMA_SYS_ADDR_SEL 25 1014 #define REGNUM_TOPAZHP_CR_DMA_SYS_ADDR_SEL 0x00E0 1015 #define SIGNED_TOPAZHP_CR_DMA_SYS_ADDR_SEL 0 1016 1017 /* Register CR_PROC_DMA_STATUS */ 1018 #define TOPAZHP_CR_PROC_DMA_STATUS 0x00E4 1019 #define MASK_TOPAZHP_CR_DMA_FORMAT_STATUS 0x00000007 1020 #define SHIFT_TOPAZHP_CR_DMA_FORMAT_STATUS 0 1021 #define REGNUM_TOPAZHP_CR_DMA_FORMAT_STATUS 0x00E4 1022 #define SIGNED_TOPAZHP_CR_DMA_FORMAT_STATUS 0 1023 #define TOPAZHP_CR_DMA_FORMAT_STATUS_UYVY 0x00000005 /* Interleaved luma and chroma (chroma first) */ 1024 #define TOPAZHP_CR_DMA_FORMAT_STATUS_YUYV 0x00000004 /* Interleaved luma and chroma (luma first) */ 1025 #define TOPAZHP_CR_DMA_FORMAT_STATUS_CHROMA_UV 0x00000002 /* 2-D fetch of interleaved chroma */ 1026 #define TOPAZHP_CR_DMA_FORMAT_STATUS_2D_PLANE 0x00000001 /* 2-D fetch (luma plane) */ 1027 #define TOPAZHP_CR_DMA_FORMAT_STATUS_LINEAR 0x00000000 /* 1-D fetch */ 1028 1029 #define MASK_TOPAZHP_CR_DMA_SIZE_STATUS 0x0000FF00 1030 #define SHIFT_TOPAZHP_CR_DMA_SIZE_STATUS 8 1031 #define REGNUM_TOPAZHP_CR_DMA_SIZE_STATUS 0x00E4 1032 #define SIGNED_TOPAZHP_CR_DMA_SIZE_STATUS 0 1033 1034 #define MASK_TOPAZHP_CR_DMA_ESB_ADDR_STATUS 0x00FF0000 1035 #define SHIFT_TOPAZHP_CR_DMA_ESB_ADDR_STATUS 16 1036 #define REGNUM_TOPAZHP_CR_DMA_ESB_ADDR_STATUS 0x00E4 1037 #define SIGNED_TOPAZHP_CR_DMA_ESB_ADDR_STATUS 0 1038 1039 #define MASK_TOPAZHP_CR_DMA_READ_NWRITE_STATUS 0x01000000 1040 #define SHIFT_TOPAZHP_CR_DMA_READ_NWRITE_STATUS 24 1041 #define REGNUM_TOPAZHP_CR_DMA_READ_NWRITE_STATUS 0x00E4 1042 #define SIGNED_TOPAZHP_CR_DMA_READ_NWRITE_STATUS 0 1043 1044 #define MASK_TOPAZHP_CR_DMA_SYS_ADDR_SEL_STATUS 0x02000000 1045 #define SHIFT_TOPAZHP_CR_DMA_SYS_ADDR_SEL_STATUS 25 1046 #define REGNUM_TOPAZHP_CR_DMA_SYS_ADDR_SEL_STATUS 0x00E4 1047 #define SIGNED_TOPAZHP_CR_DMA_SYS_ADDR_SEL_STATUS 0 1048 1049 /* Register CR_PROC_ESB_ACCESS_CONTROL */ 1050 #define TOPAZHP_CR_PROC_ESB_ACCESS_CONTROL 0x00EC 1051 #define MASK_TOPAZHP_CR_PROC_ESB_ADDR 0x00003FF0 1052 #define SHIFT_TOPAZHP_CR_PROC_ESB_ADDR 4 1053 #define REGNUM_TOPAZHP_CR_PROC_ESB_ADDR 0x00EC 1054 #define SIGNED_TOPAZHP_CR_PROC_ESB_ADDR 0 1055 1056 #define MASK_TOPAZHP_CR_PROC_ESB_READ_N_WRITE 0x00010000 1057 #define SHIFT_TOPAZHP_CR_PROC_ESB_READ_N_WRITE 16 1058 #define REGNUM_TOPAZHP_CR_PROC_ESB_READ_N_WRITE 0x00EC 1059 #define SIGNED_TOPAZHP_CR_PROC_ESB_READ_N_WRITE 0 1060 1061 #define MASK_TOPAZHP_CR_PROC_ESB_OP_VALID 0x00020000 1062 #define SHIFT_TOPAZHP_CR_PROC_ESB_OP_VALID 17 1063 #define REGNUM_TOPAZHP_CR_PROC_ESB_OP_VALID 0x00EC 1064 #define SIGNED_TOPAZHP_CR_PROC_ESB_OP_VALID 0 1065 1066 #define MASK_TOPAZHP_CR_PROC_ACCESS_FLAG 0x03000000 1067 #define SHIFT_TOPAZHP_CR_PROC_ACCESS_FLAG 24 1068 #define REGNUM_TOPAZHP_CR_PROC_ACCESS_FLAG 0x00EC 1069 #define SIGNED_TOPAZHP_CR_PROC_ACCESS_FLAG 0 1070 1071 /* Register CR_PROC_ESB_ACCESS_WORD0 */ 1072 #define TOPAZHP_CR_PROC_ESB_ACCESS_WORD0 0x00F0 1073 #define MASK_TOPAZHP_CR_PROC_ESB_WORD0 0xFFFFFFFF 1074 #define SHIFT_TOPAZHP_CR_PROC_ESB_WORD0 0 1075 #define REGNUM_TOPAZHP_CR_PROC_ESB_WORD0 0x00F0 1076 #define SIGNED_TOPAZHP_CR_PROC_ESB_WORD0 0 1077 1078 /* Register CR_PROC_ESB_ACCESS_WORD1 */ 1079 #define TOPAZHP_CR_PROC_ESB_ACCESS_WORD1 0x00F4 1080 #define MASK_TOPAZHP_CR_PROC_ESB_WORD1 0xFFFFFFFF 1081 #define SHIFT_TOPAZHP_CR_PROC_ESB_WORD1 0 1082 #define REGNUM_TOPAZHP_CR_PROC_ESB_WORD1 0x00F4 1083 #define SIGNED_TOPAZHP_CR_PROC_ESB_WORD1 0 1084 1085 /* Register CR_PROC_ESB_ACCESS_WORD2 */ 1086 #define TOPAZHP_CR_PROC_ESB_ACCESS_WORD2 0x00F8 1087 #define MASK_TOPAZHP_CR_PROC_ESB_WORD2 0xFFFFFFFF 1088 #define SHIFT_TOPAZHP_CR_PROC_ESB_WORD2 0 1089 #define REGNUM_TOPAZHP_CR_PROC_ESB_WORD2 0x00F8 1090 #define SIGNED_TOPAZHP_CR_PROC_ESB_WORD2 0 1091 1092 /* Register CR_PROC_ESB_ACCESS_WORD3 */ 1093 #define TOPAZHP_CR_PROC_ESB_ACCESS_WORD3 0x00FC 1094 #define MASK_TOPAZHP_CR_PROC_ESB_WORD3 0xFFFFFFFF 1095 #define SHIFT_TOPAZHP_CR_PROC_ESB_WORD3 0 1096 #define REGNUM_TOPAZHP_CR_PROC_ESB_WORD3 0x00FC 1097 #define SIGNED_TOPAZHP_CR_PROC_ESB_WORD3 0 1098 1099 /* Register CR_SEQ_CUR_PIC_LUMA_BASE_ADDR */ 1100 #define TOPAZHP_CR_SEQ_CUR_PIC_LUMA_BASE_ADDR 0x0100 1101 #define MASK_TOPAZHP_CR_CUR_PIC_LUMA_BASE_ADDR 0xFFFFFFF0 1102 #define SHIFT_TOPAZHP_CR_CUR_PIC_LUMA_BASE_ADDR 4 1103 #define REGNUM_TOPAZHP_CR_CUR_PIC_LUMA_BASE_ADDR 0x0100 1104 #define SIGNED_TOPAZHP_CR_CUR_PIC_LUMA_BASE_ADDR 0 1105 1106 /* Register CR_SEQ_CUR_PIC_CB_BASE_ADDR */ 1107 #define TOPAZHP_CR_SEQ_CUR_PIC_CB_BASE_ADDR 0x0104 1108 #define MASK_TOPAZHP_CR_CUR_PIC_CB_BASE_ADDR 0xFFFFFFF0 1109 #define SHIFT_TOPAZHP_CR_CUR_PIC_CB_BASE_ADDR 4 1110 #define REGNUM_TOPAZHP_CR_CUR_PIC_CB_BASE_ADDR 0x0104 1111 #define SIGNED_TOPAZHP_CR_CUR_PIC_CB_BASE_ADDR 0 1112 1113 /* Register CR_SEQ_CUR_PIC_CR_BASE_ADDR */ 1114 #define TOPAZHP_CR_SEQ_CUR_PIC_CR_BASE_ADDR 0x0108 1115 #define MASK_TOPAZHP_CR_CUR_PIC_CR_BASE_ADDR 0xFFFFFFF0 1116 #define SHIFT_TOPAZHP_CR_CUR_PIC_CR_BASE_ADDR 4 1117 #define REGNUM_TOPAZHP_CR_CUR_PIC_CR_BASE_ADDR 0x0108 1118 #define SIGNED_TOPAZHP_CR_CUR_PIC_CR_BASE_ADDR 0 1119 1120 /* Register CR_SEQ_CUR_PIC_ROW_STRIDE */ 1121 #define TOPAZHP_CR_SEQ_CUR_PIC_ROW_STRIDE 0x010C 1122 #define MASK_TOPAZHP_CR_CUR_PIC_LUMA_STRIDE 0x0000FFC0 1123 #define SHIFT_TOPAZHP_CR_CUR_PIC_LUMA_STRIDE 6 1124 #define REGNUM_TOPAZHP_CR_CUR_PIC_LUMA_STRIDE 0x010C 1125 #define SIGNED_TOPAZHP_CR_CUR_PIC_LUMA_STRIDE 0 1126 1127 #define MASK_TOPAZHP_CR_CUR_PIC_CHROMA_STRIDE 0xFFC00000 1128 #define SHIFT_TOPAZHP_CR_CUR_PIC_CHROMA_STRIDE 22 1129 #define REGNUM_TOPAZHP_CR_CUR_PIC_CHROMA_STRIDE 0x010C 1130 #define SIGNED_TOPAZHP_CR_CUR_PIC_CHROMA_STRIDE 0 1131 1132 /* Register CR_SEQ_REF_PIC0_LUMA_BASE_ADDR */ 1133 #define TOPAZHP_CR_SEQ_REF_PIC0_LUMA_BASE_ADDR 0x0110 1134 #define MASK_TOPAZHP_CR_REF_PIC0_LUMA_BASE_ADDR 0xFFFFFF00 1135 #define SHIFT_TOPAZHP_CR_REF_PIC0_LUMA_BASE_ADDR 8 1136 #define REGNUM_TOPAZHP_CR_REF_PIC0_LUMA_BASE_ADDR 0x0110 1137 #define SIGNED_TOPAZHP_CR_REF_PIC0_LUMA_BASE_ADDR 0 1138 1139 /* Register CR_SEQ_REF_PIC0_CHROMA_BASE_ADDR */ 1140 #define TOPAZHP_CR_SEQ_REF_PIC0_CHROMA_BASE_ADDR 0x0114 1141 #define MASK_TOPAZHP_CR_REF_PIC0_CHROMA_BASE_ADDR 0xFFFFFF00 1142 #define SHIFT_TOPAZHP_CR_REF_PIC0_CHROMA_BASE_ADDR 8 1143 #define REGNUM_TOPAZHP_CR_REF_PIC0_CHROMA_BASE_ADDR 0x0114 1144 #define SIGNED_TOPAZHP_CR_REF_PIC0_CHROMA_BASE_ADDR 0 1145 1146 /* Register CR_SEQ_REF_PIC1_LUMA_BASE_ADDR */ 1147 #define TOPAZHP_CR_SEQ_REF_PIC1_LUMA_BASE_ADDR 0x0118 1148 #define MASK_TOPAZHP_CR_REF_PIC1_LUMA_BASE_ADDR 0xFFFFFF00 1149 #define SHIFT_TOPAZHP_CR_REF_PIC1_LUMA_BASE_ADDR 8 1150 #define REGNUM_TOPAZHP_CR_REF_PIC1_LUMA_BASE_ADDR 0x0118 1151 #define SIGNED_TOPAZHP_CR_REF_PIC1_LUMA_BASE_ADDR 0 1152 1153 /* Register CR_SEQ_REF_PIC1_CHROMA_BASE_ADDR */ 1154 #define TOPAZHP_CR_SEQ_REF_PIC1_CHROMA_BASE_ADDR 0x011C 1155 #define MASK_TOPAZHP_CR_REF_PIC1_CHROMA_BASE_ADDR 0xFFFFFF00 1156 #define SHIFT_TOPAZHP_CR_REF_PIC1_CHROMA_BASE_ADDR 8 1157 #define REGNUM_TOPAZHP_CR_REF_PIC1_CHROMA_BASE_ADDR 0x011C 1158 #define SIGNED_TOPAZHP_CR_REF_PIC1_CHROMA_BASE_ADDR 0 1159 1160 /* Register CR_SEQ_CUR_PIC_CONFIG */ 1161 #define TOPAZHP_CR_SEQ_CUR_PIC_CONFIG 0x0120 1162 #define MASK_TOPAZHP_CR_SEQ_CUR_PIC_EXT_FETCH 0x00000001 1163 #define SHIFT_TOPAZHP_CR_SEQ_CUR_PIC_EXT_FETCH 0 1164 #define REGNUM_TOPAZHP_CR_SEQ_CUR_PIC_EXT_FETCH 0x0120 1165 #define SIGNED_TOPAZHP_CR_SEQ_CUR_PIC_EXT_FETCH 0 1166 1167 #define MASK_TOPAZHP_CR_CUR_TRANSPOSE 0x00000010 1168 #define SHIFT_TOPAZHP_CR_CUR_TRANSPOSE 4 1169 #define REGNUM_TOPAZHP_CR_CUR_TRANSPOSE 0x0120 1170 #define SIGNED_TOPAZHP_CR_CUR_TRANSPOSE 0 1171 1172 #define MASK_TOPAZHP_CR_CUR_HORIZONTAL_MIRROR 0x00000020 1173 #define SHIFT_TOPAZHP_CR_CUR_HORIZONTAL_MIRROR 5 1174 #define REGNUM_TOPAZHP_CR_CUR_HORIZONTAL_MIRROR 0x0120 1175 #define SIGNED_TOPAZHP_CR_CUR_HORIZONTAL_MIRROR 0 1176 1177 #define MASK_TOPAZHP_CR_CUR_VERTICAL_MIRROR 0x00000040 1178 #define SHIFT_TOPAZHP_CR_CUR_VERTICAL_MIRROR 6 1179 #define REGNUM_TOPAZHP_CR_CUR_VERTICAL_MIRROR 0x0120 1180 #define SIGNED_TOPAZHP_CR_CUR_VERTICAL_MIRROR 0 1181 1182 /* Register CR_SEQ_CUR_PIC_SIZE */ 1183 #define TOPAZHP_CR_SEQ_CUR_PIC_SIZE 0x0124 1184 #define MASK_TOPAZHP_CR_CUR_PIC_WIDTH_MBS_MIN1 0x000000FF 1185 #define SHIFT_TOPAZHP_CR_CUR_PIC_WIDTH_MBS_MIN1 0 1186 #define REGNUM_TOPAZHP_CR_CUR_PIC_WIDTH_MBS_MIN1 0x0124 1187 #define SIGNED_TOPAZHP_CR_CUR_PIC_WIDTH_MBS_MIN1 0 1188 1189 #define MASK_TOPAZHP_CR_CUR_PIC_HEIGHT_MBS_MIN1 0x00FF0000 1190 #define SHIFT_TOPAZHP_CR_CUR_PIC_HEIGHT_MBS_MIN1 16 1191 #define REGNUM_TOPAZHP_CR_CUR_PIC_HEIGHT_MBS_MIN1 0x0124 1192 #define SIGNED_TOPAZHP_CR_CUR_PIC_HEIGHT_MBS_MIN1 0 1193 1194 /* Register CR_SEQ_RECON_LUMA_BASE_ADDR */ 1195 #define TOPAZHP_CR_SEQ_RECON_LUMA_BASE_ADDR 0x0128 1196 #define MASK_TOPAZHP_CR_RECON_LUMA_BASE_ADDR 0xFFFFFF00 1197 #define SHIFT_TOPAZHP_CR_RECON_LUMA_BASE_ADDR 8 1198 #define REGNUM_TOPAZHP_CR_RECON_LUMA_BASE_ADDR 0x0128 1199 #define SIGNED_TOPAZHP_CR_RECON_LUMA_BASE_ADDR 0 1200 1201 /* Register CR_SEQ_RECON_CHROMA_BASE_ADDR */ 1202 #define TOPAZHP_CR_SEQ_RECON_CHROMA_BASE_ADDR 0x012C 1203 #define MASK_TOPAZHP_CR_RECON_CHROMA_BASE_ADDR 0xFFFFFF00 1204 #define SHIFT_TOPAZHP_CR_RECON_CHROMA_BASE_ADDR 8 1205 #define REGNUM_TOPAZHP_CR_RECON_CHROMA_BASE_ADDR 0x012C 1206 #define SIGNED_TOPAZHP_CR_RECON_CHROMA_BASE_ADDR 0 1207 1208 /* Register CR_SEQ_ABOVE_PARAM_BASE_ADDR */ 1209 #define TOPAZHP_CR_SEQ_ABOVE_PARAM_BASE_ADDR 0x0130 1210 #define MASK_TOPAZHP_CR_ABOVE_PARAM_BASE_ADDR 0xFFFFFFC0 1211 #define SHIFT_TOPAZHP_CR_ABOVE_PARAM_BASE_ADDR 6 1212 #define REGNUM_TOPAZHP_CR_ABOVE_PARAM_BASE_ADDR 0x0130 1213 #define SIGNED_TOPAZHP_CR_ABOVE_PARAM_BASE_ADDR 0 1214 1215 /* Register CR_SEQ_TEMPORAL_COLOCATED_IN_ADDR */ 1216 #define TOPAZHP_CR_SEQ_TEMPORAL_COLOCATED_IN_ADDR 0x0134 1217 #define MASK_TOPAZHP_CR_TEMPORAL_COLOC_IN_ADDR 0xFFFFFFC0 1218 #define SHIFT_TOPAZHP_CR_TEMPORAL_COLOC_IN_ADDR 6 1219 #define REGNUM_TOPAZHP_CR_TEMPORAL_COLOC_IN_ADDR 0x0134 1220 #define SIGNED_TOPAZHP_CR_TEMPORAL_COLOC_IN_ADDR 0 1221 1222 /* Register CR_SEQ_TEMPORAL_PIC0_MV_IN_ADDR */ 1223 #define TOPAZHP_CR_SEQ_TEMPORAL_PIC0_MV_IN_ADDR 0x0138 1224 #define MASK_TOPAZHP_CR_TEMPORAL_PIC0_IN_ADDR 0xFFFFFFC0 1225 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC0_IN_ADDR 6 1226 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC0_IN_ADDR 0x0138 1227 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC0_IN_ADDR 0 1228 1229 /* Register CR_SEQ_TEMPORAL_PIC1_MV_IN_ADDR */ 1230 #define TOPAZHP_CR_SEQ_TEMPORAL_PIC1_MV_IN_ADDR 0x013C 1231 #define MASK_TOPAZHP_CR_TEMPORAL_PIC1_IN_ADDR 0xFFFFFFC0 1232 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC1_IN_ADDR 6 1233 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC1_IN_ADDR 0x013C 1234 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC1_IN_ADDR 0 1235 1236 /* Register CR_SEQ_TEMPORAL_COLOCATED_OUT_ADDR */ 1237 #define TOPAZHP_CR_SEQ_TEMPORAL_COLOCATED_OUT_ADDR 0x0140 1238 #define MASK_TOPAZHP_CR_TEMPORAL_COLOC_OUT_ADDR 0xFFFFFFC0 1239 #define SHIFT_TOPAZHP_CR_TEMPORAL_COLOC_OUT_ADDR 6 1240 #define REGNUM_TOPAZHP_CR_TEMPORAL_COLOC_OUT_ADDR 0x0140 1241 #define SIGNED_TOPAZHP_CR_TEMPORAL_COLOC_OUT_ADDR 0 1242 1243 /* Register CR_SEQ_TEMPORAL_PIC0_MV_OUT_ADDR */ 1244 #define TOPAZHP_CR_SEQ_TEMPORAL_PIC0_MV_OUT_ADDR 0x0144 1245 #define MASK_TOPAZHP_CR_TEMPORAL_PIC0_OUT_ADDR 0xFFFFFFC0 1246 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC0_OUT_ADDR 6 1247 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC0_OUT_ADDR 0x0144 1248 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC0_OUT_ADDR 0 1249 1250 /* Register CR_SEQ_TEMPORAL_PIC1_MV_OUT_ADDR */ 1251 #define TOPAZHP_CR_SEQ_TEMPORAL_PIC1_MV_OUT_ADDR 0x0148 1252 #define MASK_TOPAZHP_CR_TEMPORAL_PIC1_OUT_ADDR 0xFFFFFFC0 1253 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC1_OUT_ADDR 6 1254 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC1_OUT_ADDR 0x0148 1255 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC1_OUT_ADDR 0 1256 1257 /* Register CR_SEQ_MB_FIRST_STAGE_OUT_ADDR */ 1258 #define TOPAZHP_CR_SEQ_MB_FIRST_STAGE_OUT_ADDR 0x014C 1259 #define MASK_TOPAZHP_CR_MB_FIRST_STAGE_OUT_ADDR 0xFFFFFFC0 1260 #define SHIFT_TOPAZHP_CR_MB_FIRST_STAGE_OUT_ADDR 6 1261 #define REGNUM_TOPAZHP_CR_MB_FIRST_STAGE_OUT_ADDR 0x014C 1262 #define SIGNED_TOPAZHP_CR_MB_FIRST_STAGE_OUT_ADDR 0 1263 1264 /* Register CR_SEQ_MB_CONTROL_IN_ADDR */ 1265 #define TOPAZHP_CR_SEQ_MB_CONTROL_IN_ADDR 0x0150 1266 #define MASK_TOPAZHP_CR_MB_CONTROL_IN_ADDR 0xFFFFFFC0 1267 #define SHIFT_TOPAZHP_CR_MB_CONTROL_IN_ADDR 6 1268 #define REGNUM_TOPAZHP_CR_MB_CONTROL_IN_ADDR 0x0150 1269 #define SIGNED_TOPAZHP_CR_MB_CONTROL_IN_ADDR 0 1270 1271 /* Register CR_SEQUENCER_CONFIG */ 1272 #define TOPAZHP_CR_SEQUENCER_CONFIG 0x0154 1273 #define MASK_TOPAZHP_CR_ENCODER_STANDARD 0x00000007 1274 #define SHIFT_TOPAZHP_CR_ENCODER_STANDARD 0 1275 #define REGNUM_TOPAZHP_CR_ENCODER_STANDARD 0x0154 1276 #define SIGNED_TOPAZHP_CR_ENCODER_STANDARD 0 1277 #define TOPAZHP_CR_ENCODER_STANDARD_MPEG2 0x00000004 /* Mpeg2 encode - experimental */ 1278 #define TOPAZHP_CR_ENCODER_STANDARD_JPEG 0x00000003 /* JPEG encode */ 1279 #define TOPAZHP_CR_ENCODER_STANDARD_H264 0x00000002 /* H264 encode */ 1280 #define TOPAZHP_CR_ENCODER_STANDARD_MPEG4 0x00000001 /* MPEG4 encode */ 1281 #define TOPAZHP_CR_ENCODER_STANDARD_H263 0x00000000 /* H263 encode */ 1282 1283 #define MASK_TOPAZHP_CR_FRAME_STORE_FORMAT 0x00000030 1284 #define SHIFT_TOPAZHP_CR_FRAME_STORE_FORMAT 4 1285 #define REGNUM_TOPAZHP_CR_FRAME_STORE_FORMAT 0x0154 1286 #define SIGNED_TOPAZHP_CR_FRAME_STORE_FORMAT 0 1287 #define TOPAZHP_CR_FRAME_STORE_FORMAT_UYVY 0x00000003 /* 4:2:2 frame, with Luma, Cb and Cr all interleaved (hardware will decimate 1288 chroma to encode 4:2:0 chroma) */ 1289 #define TOPAZHP_CR_FRAME_STORE_FORMAT_YUYV 0x00000002 /* 4:2:2 frame, with Luma, Cb and Cr all interleaved (hardware will decimate 1290 chroma to encode 4:2:0 chroma) */ 1291 #define TOPAZHP_CR_FRAME_STORE_FORMAT_420PL12YUV 0x00000001 /* 4:2:0 frame, with Chroma in single interleaved plane (if the frame store 1292 actually contains 4:2:2 chroma, the chroma stride can be doubled so that it is read as 4:2:0) */ 1293 #define TOPAZHP_CR_FRAME_STORE_FORMAT_420PL8YUV 0x00000000 /* 4:2:0 frame, with Luma, Cb and Cr all in separate planes (if the frame 1294 store actually contains 4:2:2 chroma, the chroma stride can be doubled so that it is read as 4:2:0) */ 1295 1296 #define MASK_TOPAZHP_CR_FRAME_STORE_CHROMA_SWAP 0x00000040 1297 #define SHIFT_TOPAZHP_CR_FRAME_STORE_CHROMA_SWAP 6 1298 #define REGNUM_TOPAZHP_CR_FRAME_STORE_CHROMA_SWAP 0x0154 1299 #define SIGNED_TOPAZHP_CR_FRAME_STORE_CHROMA_SWAP 0 1300 1301 #define MASK_TOPAZHP_CR_FIELD_MODE 0x00000080 1302 #define SHIFT_TOPAZHP_CR_FIELD_MODE 7 1303 #define REGNUM_TOPAZHP_CR_FIELD_MODE 0x0154 1304 #define SIGNED_TOPAZHP_CR_FIELD_MODE 0 1305 1306 #define MASK_TOPAZHP_CR_REF_PIC0_VALID 0x00000100 1307 #define SHIFT_TOPAZHP_CR_REF_PIC0_VALID 8 1308 #define REGNUM_TOPAZHP_CR_REF_PIC0_VALID 0x0154 1309 #define SIGNED_TOPAZHP_CR_REF_PIC0_VALID 0 1310 1311 #define MASK_TOPAZHP_CR_REF_PIC1_VALID 0x00000200 1312 #define SHIFT_TOPAZHP_CR_REF_PIC1_VALID 9 1313 #define REGNUM_TOPAZHP_CR_REF_PIC1_VALID 0x0154 1314 #define SIGNED_TOPAZHP_CR_REF_PIC1_VALID 0 1315 1316 #define MASK_TOPAZHP_CR_REF_PIC1_EQUAL_PIC0 0x00000400 1317 #define SHIFT_TOPAZHP_CR_REF_PIC1_EQUAL_PIC0 10 1318 #define REGNUM_TOPAZHP_CR_REF_PIC1_EQUAL_PIC0 0x0154 1319 #define SIGNED_TOPAZHP_CR_REF_PIC1_EQUAL_PIC0 0 1320 1321 #define MASK_TOPAZHP_CR_ABOVE_OUT_OF_SLICE_VALID 0x00000800 1322 #define SHIFT_TOPAZHP_CR_ABOVE_OUT_OF_SLICE_VALID 11 1323 #define REGNUM_TOPAZHP_CR_ABOVE_OUT_OF_SLICE_VALID 0x0154 1324 #define SIGNED_TOPAZHP_CR_ABOVE_OUT_OF_SLICE_VALID 0 1325 1326 #define MASK_TOPAZHP_CR_TEMPORAL_COL_IN_VALID 0x00001000 1327 #define SHIFT_TOPAZHP_CR_TEMPORAL_COL_IN_VALID 12 1328 #define REGNUM_TOPAZHP_CR_TEMPORAL_COL_IN_VALID 0x0154 1329 #define SIGNED_TOPAZHP_CR_TEMPORAL_COL_IN_VALID 0 1330 1331 #define MASK_TOPAZHP_CR_TEMPORAL_PIC0_BELOW_IN_VALID 0x00002000 1332 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC0_BELOW_IN_VALID 13 1333 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC0_BELOW_IN_VALID 0x0154 1334 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC0_BELOW_IN_VALID 0 1335 1336 #define MASK_TOPAZHP_CR_TEMPORAL_PIC1_BELOW_IN_VALID 0x00004000 1337 #define SHIFT_TOPAZHP_CR_TEMPORAL_PIC1_BELOW_IN_VALID 14 1338 #define REGNUM_TOPAZHP_CR_TEMPORAL_PIC1_BELOW_IN_VALID 0x0154 1339 #define SIGNED_TOPAZHP_CR_TEMPORAL_PIC1_BELOW_IN_VALID 0 1340 1341 #define MASK_TOPAZHP_CR_DEBLOCK_ENABLE 0x00008000 1342 #define SHIFT_TOPAZHP_CR_DEBLOCK_ENABLE 15 1343 #define REGNUM_TOPAZHP_CR_DEBLOCK_ENABLE 0x0154 1344 #define SIGNED_TOPAZHP_CR_DEBLOCK_ENABLE 0 1345 1346 #define MASK_TOPAZHP_CR_WRITE_TEMPORAL_COL_VALID 0x00010000 1347 #define SHIFT_TOPAZHP_CR_WRITE_TEMPORAL_COL_VALID 16 1348 #define REGNUM_TOPAZHP_CR_WRITE_TEMPORAL_COL_VALID 0x0154 1349 #define SIGNED_TOPAZHP_CR_WRITE_TEMPORAL_COL_VALID 0 1350 1351 #define MASK_TOPAZHP_CR_WRITE_TEMPORAL_PIC0_BELOW_VALID 0x00020000 1352 #define SHIFT_TOPAZHP_CR_WRITE_TEMPORAL_PIC0_BELOW_VALID 17 1353 #define REGNUM_TOPAZHP_CR_WRITE_TEMPORAL_PIC0_BELOW_VALID 0x0154 1354 #define SIGNED_TOPAZHP_CR_WRITE_TEMPORAL_PIC0_BELOW_VALID 0 1355 1356 #define MASK_TOPAZHP_CR_WRITE_TEMPORAL_PIC1_BELOW_VALID 0x00040000 1357 #define SHIFT_TOPAZHP_CR_WRITE_TEMPORAL_PIC1_BELOW_VALID 18 1358 #define REGNUM_TOPAZHP_CR_WRITE_TEMPORAL_PIC1_BELOW_VALID 0x0154 1359 #define SIGNED_TOPAZHP_CR_WRITE_TEMPORAL_PIC1_BELOW_VALID 0 1360 1361 #define MASK_TOPAZHP_CR_WRITE_RECON_PIC 0x00080000 1362 #define SHIFT_TOPAZHP_CR_WRITE_RECON_PIC 19 1363 #define REGNUM_TOPAZHP_CR_WRITE_RECON_PIC 0x0154 1364 #define SIGNED_TOPAZHP_CR_WRITE_RECON_PIC 0 1365 1366 #define MASK_TOPAZHP_CR_WRITE_MB_FIRST_STAGE_VALID 0x00200000 1367 #define SHIFT_TOPAZHP_CR_WRITE_MB_FIRST_STAGE_VALID 21 1368 #define REGNUM_TOPAZHP_CR_WRITE_MB_FIRST_STAGE_VALID 0x0154 1369 #define SIGNED_TOPAZHP_CR_WRITE_MB_FIRST_STAGE_VALID 0 1370 1371 #define MASK_TOPAZHP_CR_FIRST_STAGE_ONLY 0x00400000 1372 #define SHIFT_TOPAZHP_CR_FIRST_STAGE_ONLY 22 1373 #define REGNUM_TOPAZHP_CR_FIRST_STAGE_ONLY 0x0154 1374 #define SIGNED_TOPAZHP_CR_FIRST_STAGE_ONLY 0 1375 1376 #define MASK_TOPAZHP_CR_MB_CONTROL_IN_VALID 0x00800000 1377 #define SHIFT_TOPAZHP_CR_MB_CONTROL_IN_VALID 23 1378 #define REGNUM_TOPAZHP_CR_MB_CONTROL_IN_VALID 0x0154 1379 #define SIGNED_TOPAZHP_CR_MB_CONTROL_IN_VALID 0 1380 1381 #define MASK_TOPAZHP_CR_SPATIAL_DIRECT 0x01000000 1382 #define SHIFT_TOPAZHP_CR_SPATIAL_DIRECT 24 1383 #define REGNUM_TOPAZHP_CR_SPATIAL_DIRECT 0x0154 1384 #define SIGNED_TOPAZHP_CR_SPATIAL_DIRECT 0 1385 1386 #define MASK_TOPAZHP_CR_REF_PIC0_LONG_TERM_REF 0x02000000 1387 #define SHIFT_TOPAZHP_CR_REF_PIC0_LONG_TERM_REF 25 1388 #define REGNUM_TOPAZHP_CR_REF_PIC0_LONG_TERM_REF 0x0154 1389 #define SIGNED_TOPAZHP_CR_REF_PIC0_LONG_TERM_REF 0 1390 1391 #define MASK_TOPAZHP_CR_REF_PIC1_LONG_TERM_REF 0x04000000 1392 #define SHIFT_TOPAZHP_CR_REF_PIC1_LONG_TERM_REF 26 1393 #define REGNUM_TOPAZHP_CR_REF_PIC1_LONG_TERM_REF 0x0154 1394 #define SIGNED_TOPAZHP_CR_REF_PIC1_LONG_TERM_REF 0 1395 1396 #define MASK_TOPAZHP_CR_LRITC_REF_PIC1_EQUAL_PIC0 0x08000000 1397 #define SHIFT_TOPAZHP_CR_LRITC_REF_PIC1_EQUAL_PIC0 27 1398 #define REGNUM_TOPAZHP_CR_LRITC_REF_PIC1_EQUAL_PIC0 0x0154 1399 #define SIGNED_TOPAZHP_CR_LRITC_REF_PIC1_EQUAL_PIC0 0 1400 1401 #define MASK_TOPAZHP_CR_BEST_MULTIPASS_OUT_VALID 0x10000000 1402 #define SHIFT_TOPAZHP_CR_BEST_MULTIPASS_OUT_VALID 28 1403 #define REGNUM_TOPAZHP_CR_BEST_MULTIPASS_OUT_VALID 0x0154 1404 #define SIGNED_TOPAZHP_CR_BEST_MULTIPASS_OUT_VALID 0 1405 1406 #define MASK_TOPAZHP_CR_LIMIT_VLC_LATENCY 0x20000000 1407 #define SHIFT_TOPAZHP_CR_LIMIT_VLC_LATENCY 29 1408 #define REGNUM_TOPAZHP_CR_LIMIT_VLC_LATENCY 0x0154 1409 #define SIGNED_TOPAZHP_CR_LIMIT_VLC_LATENCY 0 1410 1411 #define MASK_TOPAZHP_CR_BEST_MVS_OUT_DISABLE 0x40000000 1412 #define SHIFT_TOPAZHP_CR_BEST_MVS_OUT_DISABLE 30 1413 #define REGNUM_TOPAZHP_CR_BEST_MVS_OUT_DISABLE 0x0154 1414 #define SIGNED_TOPAZHP_CR_BEST_MVS_OUT_DISABLE 0 1415 1416 /* Register CR_SLICE_CONFIG */ 1417 #define TOPAZHP_CR_SLICE_CONFIG 0x0158 1418 #define MASK_TOPAZHP_CR_SLICE_START_MB_Y 0x0000FF00 1419 #define SHIFT_TOPAZHP_CR_SLICE_START_MB_Y 8 1420 #define REGNUM_TOPAZHP_CR_SLICE_START_MB_Y 0x0158 1421 #define SIGNED_TOPAZHP_CR_SLICE_START_MB_Y 0 1422 1423 #define MASK_TOPAZHP_CR_SLICE_TYPE 0x00030000 1424 #define SHIFT_TOPAZHP_CR_SLICE_TYPE 16 1425 #define REGNUM_TOPAZHP_CR_SLICE_TYPE 0x0158 1426 #define SIGNED_TOPAZHP_CR_SLICE_TYPE 0 1427 #define TOPAZHP_CR_SLICE_TYPE_B_SLICE 0x00000002 /* B-slice */ 1428 #define TOPAZHP_CR_SLICE_TYPE_P_SLICE 0x00000001 /* P-slice */ 1429 #define TOPAZHP_CR_SLICE_TYPE_I_SLICE 0x00000000 /* I-slice */ 1430 1431 /* Register CR_SLICE_QP_CONFIG */ 1432 #define TOPAZHP_CR_SLICE_QP_CONFIG 0x015C 1433 #define MASK_TOPAZHP_CR_SLICE_QPY 0x0000003F 1434 #define SHIFT_TOPAZHP_CR_SLICE_QPY 0 1435 #define REGNUM_TOPAZHP_CR_SLICE_QPY 0x015C 1436 #define SIGNED_TOPAZHP_CR_SLICE_QPY 0 1437 1438 #define MASK_TOPAZHP_CR_INTRA_DC_PRECISION 0x00000300 1439 #define SHIFT_TOPAZHP_CR_INTRA_DC_PRECISION 8 1440 #define REGNUM_TOPAZHP_CR_INTRA_DC_PRECISION 0x015C 1441 #define SIGNED_TOPAZHP_CR_INTRA_DC_PRECISION 0 1442 1443 /* Register CR_SEQUENCER_KICK */ 1444 #define TOPAZHP_CR_SEQUENCER_KICK 0x0160 1445 #define MASK_TOPAZHP_CR_START_MB_X 0x000000FF 1446 #define SHIFT_TOPAZHP_CR_START_MB_X 0 1447 #define REGNUM_TOPAZHP_CR_START_MB_X 0x0160 1448 #define SIGNED_TOPAZHP_CR_START_MB_X 0 1449 1450 #define MASK_TOPAZHP_CR_START_MB_Y 0x0000FF00 1451 #define SHIFT_TOPAZHP_CR_START_MB_Y 8 1452 #define REGNUM_TOPAZHP_CR_START_MB_Y 0x0160 1453 #define SIGNED_TOPAZHP_CR_START_MB_Y 0 1454 1455 #define MASK_TOPAZHP_CR_KICK_COUNT 0x00FF0000 1456 #define SHIFT_TOPAZHP_CR_KICK_COUNT 16 1457 #define REGNUM_TOPAZHP_CR_KICK_COUNT 0x0160 1458 #define SIGNED_TOPAZHP_CR_KICK_COUNT 0 1459 1460 #define MASK_TOPAZHP_CR_KICK_START_OF_SLICE 0x01000000 1461 #define SHIFT_TOPAZHP_CR_KICK_START_OF_SLICE 24 1462 #define REGNUM_TOPAZHP_CR_KICK_START_OF_SLICE 0x0160 1463 #define SIGNED_TOPAZHP_CR_KICK_START_OF_SLICE 0 1464 1465 #define MASK_TOPAZHP_CR_KICK_END_OF_SLICE 0x02000000 1466 #define SHIFT_TOPAZHP_CR_KICK_END_OF_SLICE 25 1467 #define REGNUM_TOPAZHP_CR_KICK_END_OF_SLICE 0x0160 1468 #define SIGNED_TOPAZHP_CR_KICK_END_OF_SLICE 0 1469 1470 #define MASK_TOPAZHP_CR_KICK_END_OF_PICTURE 0x04000000 1471 #define SHIFT_TOPAZHP_CR_KICK_END_OF_PICTURE 26 1472 #define REGNUM_TOPAZHP_CR_KICK_END_OF_PICTURE 0x0160 1473 #define SIGNED_TOPAZHP_CR_KICK_END_OF_PICTURE 0 1474 1475 #define MASK_TOPAZHP_CR_FORCE_SKIP 0x10000000 1476 #define SHIFT_TOPAZHP_CR_FORCE_SKIP 28 1477 #define REGNUM_TOPAZHP_CR_FORCE_SKIP 0x0160 1478 #define SIGNED_TOPAZHP_CR_FORCE_SKIP 0 1479 1480 #define MASK_TOPAZHP_CR_FORCE_INTRA 0x20000000 1481 #define SHIFT_TOPAZHP_CR_FORCE_INTRA 29 1482 #define REGNUM_TOPAZHP_CR_FORCE_INTRA 0x0160 1483 #define SIGNED_TOPAZHP_CR_FORCE_INTRA 0 1484 1485 /* Register CR_SEQUENCER_STATUS */ 1486 #define TOPAZHP_CR_SEQUENCER_STATUS 0x0164 1487 #define MASK_TOPAZHP_CR_CUR_MB_X_STATUS 0x000000FF 1488 #define SHIFT_TOPAZHP_CR_CUR_MB_X_STATUS 0 1489 #define REGNUM_TOPAZHP_CR_CUR_MB_X_STATUS 0x0164 1490 #define SIGNED_TOPAZHP_CR_CUR_MB_X_STATUS 0 1491 1492 #define MASK_TOPAZHP_CR_CUR_MB_Y_STATUS 0x0000FF00 1493 #define SHIFT_TOPAZHP_CR_CUR_MB_Y_STATUS 8 1494 #define REGNUM_TOPAZHP_CR_CUR_MB_Y_STATUS 0x0164 1495 #define SIGNED_TOPAZHP_CR_CUR_MB_Y_STATUS 0 1496 1497 #define MASK_TOPAZHP_CR_KICK_COUNT_STATUS 0x00FF0000 1498 #define SHIFT_TOPAZHP_CR_KICK_COUNT_STATUS 16 1499 #define REGNUM_TOPAZHP_CR_KICK_COUNT_STATUS 0x0164 1500 #define SIGNED_TOPAZHP_CR_KICK_COUNT_STATUS 0 1501 1502 #define MASK_TOPAZHP_CR_KICK_START_OF_SLICE_STATUS 0x01000000 1503 #define SHIFT_TOPAZHP_CR_KICK_START_OF_SLICE_STATUS 24 1504 #define REGNUM_TOPAZHP_CR_KICK_START_OF_SLICE_STATUS 0x0164 1505 #define SIGNED_TOPAZHP_CR_KICK_START_OF_SLICE_STATUS 0 1506 1507 #define MASK_TOPAZHP_CR_KICK_END_OF_SLICE_STATUS 0x02000000 1508 #define SHIFT_TOPAZHP_CR_KICK_END_OF_SLICE_STATUS 25 1509 #define REGNUM_TOPAZHP_CR_KICK_END_OF_SLICE_STATUS 0x0164 1510 #define SIGNED_TOPAZHP_CR_KICK_END_OF_SLICE_STATUS 0 1511 1512 #define MASK_TOPAZHP_CR_KICK_END_OF_PICTURE_STATUS 0x04000000 1513 #define SHIFT_TOPAZHP_CR_KICK_END_OF_PICTURE_STATUS 26 1514 #define REGNUM_TOPAZHP_CR_KICK_END_OF_PICTURE_STATUS 0x0164 1515 #define SIGNED_TOPAZHP_CR_KICK_END_OF_PICTURE_STATUS 0 1516 1517 #define MASK_TOPAZHP_CR_LRITC_CACHE_FLUSH_STATUS 0x08000000 1518 #define SHIFT_TOPAZHP_CR_LRITC_CACHE_FLUSH_STATUS 27 1519 #define REGNUM_TOPAZHP_CR_LRITC_CACHE_FLUSH_STATUS 0x0164 1520 #define SIGNED_TOPAZHP_CR_LRITC_CACHE_FLUSH_STATUS 0 1521 1522 #define MASK_TOPAZHP_CR_FORCE_SKIP_STATUS 0x10000000 1523 #define SHIFT_TOPAZHP_CR_FORCE_SKIP_STATUS 28 1524 #define REGNUM_TOPAZHP_CR_FORCE_SKIP_STATUS 0x0164 1525 #define SIGNED_TOPAZHP_CR_FORCE_SKIP_STATUS 0 1526 1527 #define MASK_TOPAZHP_CR_FORCE_INTRA_STATUS 0x20000000 1528 #define SHIFT_TOPAZHP_CR_FORCE_INTRA_STATUS 29 1529 #define REGNUM_TOPAZHP_CR_FORCE_INTRA_STATUS 0x0164 1530 #define SIGNED_TOPAZHP_CR_FORCE_INTRA_STATUS 0 1531 1532 /* Register CR_SEQ_BEST_MULTIPASS_OUT_ADDR */ 1533 #define TOPAZHP_CR_SEQ_BEST_MULTIPASS_OUT_ADDR 0x0168 1534 #define MASK_TOPAZHP_CR_BEST_MULTIPASS_OUT_ADDR 0xFFFFFFC0 1535 #define SHIFT_TOPAZHP_CR_BEST_MULTIPASS_OUT_ADDR 6 1536 #define REGNUM_TOPAZHP_CR_BEST_MULTIPASS_OUT_ADDR 0x0168 1537 #define SIGNED_TOPAZHP_CR_BEST_MULTIPASS_OUT_ADDR 0 1538 1539 /* Register CR_MVCLIP_CONFIG */ 1540 #define TOPAZHP_CR_MVCLIP_CONFIG 0x016C 1541 #define MASK_TOPAZHP_CR_SLICE_END_MB_Y 0x0000FF00 1542 #define SHIFT_TOPAZHP_CR_SLICE_END_MB_Y 8 1543 #define REGNUM_TOPAZHP_CR_SLICE_END_MB_Y 0x016C 1544 #define SIGNED_TOPAZHP_CR_SLICE_END_MB_Y 0 1545 1546 #define MASK_TOPAZHP_CR_MVCALC_RESTRICT_PICTURE 0x00010000 1547 #define SHIFT_TOPAZHP_CR_MVCALC_RESTRICT_PICTURE 16 1548 #define REGNUM_TOPAZHP_CR_MVCALC_RESTRICT_PICTURE 0x016C 1549 #define SIGNED_TOPAZHP_CR_MVCALC_RESTRICT_PICTURE 0 1550 1551 #define MASK_TOPAZHP_CR_MVCALC_RESTRICT_SLICE 0x00020000 1552 #define SHIFT_TOPAZHP_CR_MVCALC_RESTRICT_SLICE 17 1553 #define REGNUM_TOPAZHP_CR_MVCALC_RESTRICT_SLICE 0x016C 1554 #define SIGNED_TOPAZHP_CR_MVCALC_RESTRICT_SLICE 0 1555 1556 /* Register CR_MVCALC_CONFIG */ 1557 #define TOPAZHP_CR_MVCALC_CONFIG 0x0170 1558 #define MASK_TOPAZHP_CR_MVCALC_GRID_MB_X_STEP 0x0000000F 1559 #define SHIFT_TOPAZHP_CR_MVCALC_GRID_MB_X_STEP 0 1560 #define REGNUM_TOPAZHP_CR_MVCALC_GRID_MB_X_STEP 0x0170 1561 #define SIGNED_TOPAZHP_CR_MVCALC_GRID_MB_X_STEP 0 1562 1563 #define MASK_TOPAZHP_CR_MVCALC_GRID_MB_Y_STEP 0x00000F00 1564 #define SHIFT_TOPAZHP_CR_MVCALC_GRID_MB_Y_STEP 8 1565 #define REGNUM_TOPAZHP_CR_MVCALC_GRID_MB_Y_STEP 0x0170 1566 #define SIGNED_TOPAZHP_CR_MVCALC_GRID_MB_Y_STEP 0 1567 1568 #define MASK_TOPAZHP_CR_MVCALC_GRID_SUB_STEP 0x000F0000 1569 #define SHIFT_TOPAZHP_CR_MVCALC_GRID_SUB_STEP 16 1570 #define REGNUM_TOPAZHP_CR_MVCALC_GRID_SUB_STEP 0x0170 1571 #define SIGNED_TOPAZHP_CR_MVCALC_GRID_SUB_STEP 0 1572 1573 #define MASK_TOPAZHP_CR_MVCALC_GRID_DISABLE 0x00800000 1574 #define SHIFT_TOPAZHP_CR_MVCALC_GRID_DISABLE 23 1575 #define REGNUM_TOPAZHP_CR_MVCALC_GRID_DISABLE 0x0170 1576 #define SIGNED_TOPAZHP_CR_MVCALC_GRID_DISABLE 0 1577 1578 #define MASK_TOPAZHP_CR_MVCALC_IPE0_JITTER_FACTOR 0x03000000 1579 #define SHIFT_TOPAZHP_CR_MVCALC_IPE0_JITTER_FACTOR 24 1580 #define REGNUM_TOPAZHP_CR_MVCALC_IPE0_JITTER_FACTOR 0x0170 1581 #define SIGNED_TOPAZHP_CR_MVCALC_IPE0_JITTER_FACTOR 0 1582 1583 #define MASK_TOPAZHP_CR_MVCALC_IPE1_JITTER_FACTOR 0x0C000000 1584 #define SHIFT_TOPAZHP_CR_MVCALC_IPE1_JITTER_FACTOR 26 1585 #define REGNUM_TOPAZHP_CR_MVCALC_IPE1_JITTER_FACTOR 0x0170 1586 #define SIGNED_TOPAZHP_CR_MVCALC_IPE1_JITTER_FACTOR 0 1587 1588 #define MASK_TOPAZHP_CR_MVCALC_JITTER_POINTER_RST 0x10000000 1589 #define SHIFT_TOPAZHP_CR_MVCALC_JITTER_POINTER_RST 28 1590 #define REGNUM_TOPAZHP_CR_MVCALC_JITTER_POINTER_RST 0x0170 1591 #define SIGNED_TOPAZHP_CR_MVCALC_JITTER_POINTER_RST 0 1592 1593 #define MASK_TOPAZHP_CR_MVCALC_NO_PSEUDO_DUPLICATES 0x20000000 1594 #define SHIFT_TOPAZHP_CR_MVCALC_NO_PSEUDO_DUPLICATES 29 1595 #define REGNUM_TOPAZHP_CR_MVCALC_NO_PSEUDO_DUPLICATES 0x0170 1596 #define SIGNED_TOPAZHP_CR_MVCALC_NO_PSEUDO_DUPLICATES 0 1597 1598 #define MASK_TOPAZHP_CR_MVCALC_DUP_VEC_MARGIN 0xC0000000 1599 #define SHIFT_TOPAZHP_CR_MVCALC_DUP_VEC_MARGIN 30 1600 #define REGNUM_TOPAZHP_CR_MVCALC_DUP_VEC_MARGIN 0x0170 1601 #define SIGNED_TOPAZHP_CR_MVCALC_DUP_VEC_MARGIN 0 1602 1603 /* Register CR_MVCALC_COLOCATED */ 1604 #define TOPAZHP_CR_MVCALC_COLOCATED 0x0174 1605 #define MASK_TOPAZHP_CR_COL_DIST_SCALE_FACT 0x000007FF 1606 #define SHIFT_TOPAZHP_CR_COL_DIST_SCALE_FACT 0 1607 #define REGNUM_TOPAZHP_CR_COL_DIST_SCALE_FACT 0x0174 1608 #define SIGNED_TOPAZHP_CR_COL_DIST_SCALE_FACT 0 1609 1610 /* Register CR_MVCALC_BELOW */ 1611 #define TOPAZHP_CR_MVCALC_BELOW 0x0178 1612 #define MASK_TOPAZHP_CR_PIC0_DIST_SCALE_FACTOR 0x000007FF 1613 #define SHIFT_TOPAZHP_CR_PIC0_DIST_SCALE_FACTOR 0 1614 #define REGNUM_TOPAZHP_CR_PIC0_DIST_SCALE_FACTOR 0x0178 1615 #define SIGNED_TOPAZHP_CR_PIC0_DIST_SCALE_FACTOR 0 1616 1617 #define MASK_TOPAZHP_CR_PIC1_DIST_SCALE_FACTOR 0x07FF0000 1618 #define SHIFT_TOPAZHP_CR_PIC1_DIST_SCALE_FACTOR 16 1619 #define REGNUM_TOPAZHP_CR_PIC1_DIST_SCALE_FACTOR 0x0178 1620 #define SIGNED_TOPAZHP_CR_PIC1_DIST_SCALE_FACTOR 0 1621 1622 /* Register CR_PREFETCH_QP */ 1623 #define TOPAZHP_CR_PREFETCH_QP 0x017C 1624 #define MASK_TOPAZHP_CR_SKIPPED_CODED_SCALE_IDX 0x00007000 1625 #define SHIFT_TOPAZHP_CR_SKIPPED_CODED_SCALE_IDX 12 1626 #define REGNUM_TOPAZHP_CR_SKIPPED_CODED_SCALE_IDX 0x017C 1627 #define SIGNED_TOPAZHP_CR_SKIPPED_CODED_SCALE_IDX 0 1628 1629 #define MASK_TOPAZHP_CR_INTER_INTRA_SCALE_IDX 0x00000700 1630 #define SHIFT_TOPAZHP_CR_INTER_INTRA_SCALE_IDX 8 1631 #define REGNUM_TOPAZHP_CR_INTER_INTRA_SCALE_IDX 0x017C 1632 #define SIGNED_TOPAZHP_CR_INTER_INTRA_SCALE_IDX 0 1633 1634 #define MASK_TOPAZHP_CR_REQ_QPY 0x0000003F 1635 #define SHIFT_TOPAZHP_CR_REQ_QPY 0 1636 #define REGNUM_TOPAZHP_CR_REQ_QPY 0x017C 1637 #define SIGNED_TOPAZHP_CR_REQ_QPY 0 1638 1639 /* Register CR_MB_HOST_CONTROL */ 1640 #define TOPAZHP_CR_MB_HOST_CONTROL 0x0180 1641 #define MASK_TOPAZHP_CR_MB_HOST_QP 0x00000001 1642 #define SHIFT_TOPAZHP_CR_MB_HOST_QP 0 1643 #define REGNUM_TOPAZHP_CR_MB_HOST_QP 0x0180 1644 #define SIGNED_TOPAZHP_CR_MB_HOST_QP 0 1645 1646 #define MASK_TOPAZHP_CR_MB_HOST_SKIPPED_CODED_SCALE 0x00000002 1647 #define SHIFT_TOPAZHP_CR_MB_HOST_SKIPPED_CODED_SCALE 1 1648 #define REGNUM_TOPAZHP_CR_MB_HOST_SKIPPED_CODED_SCALE 0x0180 1649 #define SIGNED_TOPAZHP_CR_MB_HOST_SKIPPED_CODED_SCALE 0 1650 1651 #define MASK_TOPAZHP_CR_MB_HOST_INTER_INTRA_SCALE 0x00000004 1652 #define SHIFT_TOPAZHP_CR_MB_HOST_INTER_INTRA_SCALE 2 1653 #define REGNUM_TOPAZHP_CR_MB_HOST_INTER_INTRA_SCALE 0x0180 1654 #define SIGNED_TOPAZHP_CR_MB_HOST_INTER_INTRA_SCALE 0 1655 1656 /* Register CR_FIELD_PARITY */ 1657 #define TOPAZHP_CR_FIELD_PARITY 0x0188 1658 #define MASK_TOPAZHP_CR_CUR_PIC_PARITY 0x00000001 1659 #define SHIFT_TOPAZHP_CR_CUR_PIC_PARITY 0 1660 #define REGNUM_TOPAZHP_CR_CUR_PIC_PARITY 0x0188 1661 #define SIGNED_TOPAZHP_CR_CUR_PIC_PARITY 0 1662 1663 #define MASK_TOPAZHP_CR_REF_PIC0_PARITY 0x00000002 1664 #define SHIFT_TOPAZHP_CR_REF_PIC0_PARITY 1 1665 #define REGNUM_TOPAZHP_CR_REF_PIC0_PARITY 0x0188 1666 #define SIGNED_TOPAZHP_CR_REF_PIC0_PARITY 0 1667 1668 #define MASK_TOPAZHP_CR_REF_PIC1_PARITY 0x00000004 1669 #define SHIFT_TOPAZHP_CR_REF_PIC1_PARITY 2 1670 #define REGNUM_TOPAZHP_CR_REF_PIC1_PARITY 0x0188 1671 #define SIGNED_TOPAZHP_CR_REF_PIC1_PARITY 0 1672 1673 /* Register CR_H264COMP_CUSTOM_QUANT_SP */ 1674 #define TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP 0x01A0 1675 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_0 0x00003FFF 1676 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_0 0 1677 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_0 0x01A0 1678 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_0 0 1679 1680 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_1 0x3FFF0000 1681 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_1 16 1682 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_1 0x01A0 1683 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_SP_1 0 1684 1685 /* Register CR_H264COMP_CUSTOM_QUANT_Q */ 1686 #define TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q 0x01A4 1687 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_0 0x0000007F 1688 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_0 0 1689 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_0 0x01A4 1690 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_0 0 1691 1692 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_1 0x00007F00 1693 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_1 8 1694 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_1 0x01A4 1695 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_1 0 1696 1697 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_2 0x007F0000 1698 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_2 16 1699 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_2 0x01A4 1700 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_2 0 1701 1702 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_3 0x7F000000 1703 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_3 24 1704 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_3 0x01A4 1705 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_Q_3 0 1706 1707 /* Register CR_H264COMP_CONTROL */ 1708 #define TOPAZHP_CR_H264COMP_CONTROL 0x01A8 1709 #define MASK_TOPAZHP_CR_H264COMP_8X8_TRANSFORM 0x00000001 1710 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_TRANSFORM 0 1711 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_TRANSFORM 0x01A8 1712 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_TRANSFORM 0 1713 1714 #define MASK_TOPAZHP_CR_H264COMP_CONSTRAINED_INTRA 0x00000002 1715 #define SHIFT_TOPAZHP_CR_H264COMP_CONSTRAINED_INTRA 1 1716 #define REGNUM_TOPAZHP_CR_H264COMP_CONSTRAINED_INTRA 0x01A8 1717 #define SIGNED_TOPAZHP_CR_H264COMP_CONSTRAINED_INTRA 0 1718 1719 #define MASK_TOPAZHP_CR_H264COMP_8X8_CAVLC 0x00000004 1720 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_CAVLC 2 1721 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_CAVLC 0x01A8 1722 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_CAVLC 0 1723 1724 #define MASK_TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST 0x00000008 1725 #define SHIFT_TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST 3 1726 #define REGNUM_TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST 0x01A8 1727 #define SIGNED_TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST 0 1728 #define TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST_DEFAULT 0x00000001 /* Use the default scaling list */ 1729 #define TOPAZHP_CR_H264COMP_DEFAULT_SCALING_LIST_FLAT 0x00000000 /* Use the flat scaling list */ 1730 1731 #define MASK_TOPAZHP_CR_H264COMP_ADAPT_ROUND_ENABLE 0x00000010 1732 #define SHIFT_TOPAZHP_CR_H264COMP_ADAPT_ROUND_ENABLE 4 1733 #define REGNUM_TOPAZHP_CR_H264COMP_ADAPT_ROUND_ENABLE 0x01A8 1734 #define SIGNED_TOPAZHP_CR_H264COMP_ADAPT_ROUND_ENABLE 0 1735 1736 #define MASK_TOPAZHP_CR_H264COMP_VIDEO_CONF_ENABLE 0x00000020 1737 #define SHIFT_TOPAZHP_CR_H264COMP_VIDEO_CONF_ENABLE 5 1738 #define REGNUM_TOPAZHP_CR_H264COMP_VIDEO_CONF_ENABLE 0x01A8 1739 #define SIGNED_TOPAZHP_CR_H264COMP_VIDEO_CONF_ENABLE 0 1740 1741 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTER_LUMA_ENABLE 0x00000080 1742 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTER_LUMA_ENABLE 7 1743 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTER_LUMA_ENABLE 0x01A8 1744 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTER_LUMA_ENABLE 0 1745 1746 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CR_ENABLE 0x00000100 1747 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CR_ENABLE 8 1748 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CR_ENABLE 0x01A8 1749 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CR_ENABLE 0 1750 1751 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CB_ENABLE 0x00000200 1752 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CB_ENABLE 9 1753 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CB_ENABLE 0x01A8 1754 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_CB_ENABLE 0 1755 1756 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_LUMA_ENABLE 0x00000400 1757 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_LUMA_ENABLE 10 1758 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_LUMA_ENABLE 0x01A8 1759 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTER_LUMA_ENABLE 0 1760 1761 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTRA_LUMA_ENABLE 0x00000800 1762 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTRA_LUMA_ENABLE 11 1763 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTRA_LUMA_ENABLE 0x01A8 1764 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_8X8_INTRA_LUMA_ENABLE 0 1765 1766 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CR_ENABLE 0x00001000 1767 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CR_ENABLE 12 1768 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CR_ENABLE 0x01A8 1769 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CR_ENABLE 0 1770 1771 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CB_ENABLE 0x00002000 1772 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CB_ENABLE 13 1773 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CB_ENABLE 0x01A8 1774 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_CB_ENABLE 0 1775 1776 #define MASK_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_LUMA_ENABLE 0x00004000 1777 #define SHIFT_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_LUMA_ENABLE 14 1778 #define REGNUM_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_LUMA_ENABLE 0x01A8 1779 #define SIGNED_TOPAZHP_CR_H264COMP_CUSTOM_QUANT_4X4_INTRA_LUMA_ENABLE 0 1780 1781 /* Register CR_H264COMP_INTRA_PRED_MODES */ 1782 #define TOPAZHP_CR_H264COMP_INTRA_PRED_MODES 0x01AC 1783 #define MASK_TOPAZHP_CR_H264COMP_4X4_VERTICAL_ENABLE 0x00000001 1784 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_VERTICAL_ENABLE 0 1785 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_VERTICAL_ENABLE 0x01AC 1786 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_VERTICAL_ENABLE 0 1787 1788 #define MASK_TOPAZHP_CR_H264COMP_4X4_HORIZONTAL_ENABLE 0x00000002 1789 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_HORIZONTAL_ENABLE 1 1790 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_HORIZONTAL_ENABLE 0x01AC 1791 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_HORIZONTAL_ENABLE 0 1792 1793 #define MASK_TOPAZHP_CR_H264COMP_4X4_DDL_ENABLE 0x00000004 1794 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_DDL_ENABLE 2 1795 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_DDL_ENABLE 0x01AC 1796 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_DDL_ENABLE 0 1797 1798 #define MASK_TOPAZHP_CR_H264COMP_4X4_DDR_ENABLE 0x00000008 1799 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_DDR_ENABLE 3 1800 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_DDR_ENABLE 0x01AC 1801 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_DDR_ENABLE 0 1802 1803 #define MASK_TOPAZHP_CR_H264COMP_4X4_VRIGHT_ENABLE 0x00000010 1804 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_VRIGHT_ENABLE 4 1805 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_VRIGHT_ENABLE 0x01AC 1806 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_VRIGHT_ENABLE 0 1807 1808 #define MASK_TOPAZHP_CR_H264COMP_4X4_HDOWN_ENABLE 0x00000020 1809 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_HDOWN_ENABLE 5 1810 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_HDOWN_ENABLE 0x01AC 1811 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_HDOWN_ENABLE 0 1812 1813 #define MASK_TOPAZHP_CR_H264COMP_4X4_VLEFT_ENABLE 0x00000040 1814 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_VLEFT_ENABLE 6 1815 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_VLEFT_ENABLE 0x01AC 1816 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_VLEFT_ENABLE 0 1817 1818 #define MASK_TOPAZHP_CR_H264COMP_4X4_HUP_ENABLE 0x00000080 1819 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_HUP_ENABLE 7 1820 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_HUP_ENABLE 0x01AC 1821 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_HUP_ENABLE 0 1822 1823 #define MASK_TOPAZHP_CR_H264COMP_8X8_VERTICAL_ENABLE 0x00000100 1824 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_VERTICAL_ENABLE 8 1825 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_VERTICAL_ENABLE 0x01AC 1826 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_VERTICAL_ENABLE 0 1827 1828 #define MASK_TOPAZHP_CR_H264COMP_8X8_HORIZONTAL_ENABLE 0x00000200 1829 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_HORIZONTAL_ENABLE 9 1830 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_HORIZONTAL_ENABLE 0x01AC 1831 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_HORIZONTAL_ENABLE 0 1832 1833 #define MASK_TOPAZHP_CR_H264COMP_8X8_DDL_ENABLE 0x00000400 1834 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_DDL_ENABLE 10 1835 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_DDL_ENABLE 0x01AC 1836 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_DDL_ENABLE 0 1837 1838 #define MASK_TOPAZHP_CR_H264COMP_8X8_DDR_ENABLE 0x00000800 1839 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_DDR_ENABLE 11 1840 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_DDR_ENABLE 0x01AC 1841 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_DDR_ENABLE 0 1842 1843 #define MASK_TOPAZHP_CR_H264COMP_8X8_VRIGHT_ENABLE 0x00001000 1844 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_VRIGHT_ENABLE 12 1845 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_VRIGHT_ENABLE 0x01AC 1846 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_VRIGHT_ENABLE 0 1847 1848 #define MASK_TOPAZHP_CR_H264COMP_8X8_HDOWN_ENABLE 0x00002000 1849 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_HDOWN_ENABLE 13 1850 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_HDOWN_ENABLE 0x01AC 1851 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_HDOWN_ENABLE 0 1852 1853 #define MASK_TOPAZHP_CR_H264COMP_8X8_VLEFT_ENABLE 0x00004000 1854 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_VLEFT_ENABLE 14 1855 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_VLEFT_ENABLE 0x01AC 1856 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_VLEFT_ENABLE 0 1857 1858 #define MASK_TOPAZHP_CR_H264COMP_8X8_HUP_ENABLE 0x00008000 1859 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_HUP_ENABLE 15 1860 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_HUP_ENABLE 0x01AC 1861 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_HUP_ENABLE 0 1862 1863 #define MASK_TOPAZHP_CR_H264COMP_16X16_PLANE_ENABLE 0x00010000 1864 #define SHIFT_TOPAZHP_CR_H264COMP_16X16_PLANE_ENABLE 16 1865 #define REGNUM_TOPAZHP_CR_H264COMP_16X16_PLANE_ENABLE 0x01AC 1866 #define SIGNED_TOPAZHP_CR_H264COMP_16X16_PLANE_ENABLE 0 1867 1868 #define MASK_TOPAZHP_CR_H264COMP_CHROMA_PLANE_ENABLE 0x00020000 1869 #define SHIFT_TOPAZHP_CR_H264COMP_CHROMA_PLANE_ENABLE 17 1870 #define REGNUM_TOPAZHP_CR_H264COMP_CHROMA_PLANE_ENABLE 0x01AC 1871 #define SIGNED_TOPAZHP_CR_H264COMP_CHROMA_PLANE_ENABLE 0 1872 1873 /* Register CR_H264COMP_MAX_CYCLE_COUNT */ 1874 #define TOPAZHP_CR_H264COMP_MAX_CYCLE_COUNT 0x01B0 1875 #define MASK_TOPAZHP_CR_H264COMP_MAX_CYCLE_COUNT 0x0000FFFF 1876 #define SHIFT_TOPAZHP_CR_H264COMP_MAX_CYCLE_COUNT 0 1877 #define REGNUM_TOPAZHP_CR_H264COMP_MAX_CYCLE_COUNT 0x01B0 1878 #define SIGNED_TOPAZHP_CR_H264COMP_MAX_CYCLE_COUNT 0 1879 1880 /* Register CR_H264COMP_MAX_CYCLE_MB */ 1881 #define TOPAZHP_CR_H264COMP_MAX_CYCLE_MB 0x01B4 1882 #define MASK_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_NUM 0x0000FFFF 1883 #define SHIFT_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_NUM 0 1884 #define REGNUM_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_NUM 0x01B4 1885 #define SIGNED_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_NUM 0 1886 1887 #define MASK_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_TYPE 0x30000000 1888 #define SHIFT_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_TYPE 28 1889 #define REGNUM_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_TYPE 0x01B4 1890 #define SIGNED_TOPAZHP_CR_H264COMP_MAX_CYCLE_MB_TYPE 0 1891 1892 /* Register CR_H264COMP_MAX_CYCLE_RESET */ 1893 #define TOPAZHP_CR_H264COMP_MAX_CYCLE_RESET 0x01B8 1894 #define MASK_TOPAZHP_CR_H264COMP_MAX_CYCLE_RESET 0x00000001 1895 #define SHIFT_TOPAZHP_CR_H264COMP_MAX_CYCLE_RESET 0 1896 #define REGNUM_TOPAZHP_CR_H264COMP_MAX_CYCLE_RESET 0x01B8 1897 #define SIGNED_TOPAZHP_CR_H264COMP_MAX_CYCLE_RESET 0 1898 1899 #define MASK_TOPAZHP_CR_H264COMP_DISABLE_COUNTERS 0x00000002 1900 #define SHIFT_TOPAZHP_CR_H264COMP_DISABLE_COUNTERS 1 1901 #define REGNUM_TOPAZHP_CR_H264COMP_DISABLE_COUNTERS 0x01B8 1902 #define SIGNED_TOPAZHP_CR_H264COMP_DISABLE_COUNTERS 0 1903 1904 /* Register CR_H264COMP4X4_PRED_CRC */ 1905 #define TOPAZHP_CR_H264COMP4X4_PRED_CRC 0x01BC 1906 #define MASK_TOPAZHP_CR_H264COMP4X4_PRED_CRC 0xFFFFFFFF 1907 #define SHIFT_TOPAZHP_CR_H264COMP4X4_PRED_CRC 0 1908 #define REGNUM_TOPAZHP_CR_H264COMP4X4_PRED_CRC 0x01BC 1909 #define SIGNED_TOPAZHP_CR_H264COMP4X4_PRED_CRC 0 1910 1911 /* Register CR_H264COMP4X4_COEFFS_CRC */ 1912 #define TOPAZHP_CR_H264COMP4X4_COEFFS_CRC 0x01C0 1913 #define MASK_TOPAZHP_CR_H264COMP4X4_COEFFS_CRC 0xFFFFFFFF 1914 #define SHIFT_TOPAZHP_CR_H264COMP4X4_COEFFS_CRC 0 1915 #define REGNUM_TOPAZHP_CR_H264COMP4X4_COEFFS_CRC 0x01C0 1916 #define SIGNED_TOPAZHP_CR_H264COMP4X4_COEFFS_CRC 0 1917 1918 /* Register CR_H264COMP4X4_RECON_CRC */ 1919 #define TOPAZHP_CR_H264COMP4X4_RECON_CRC 0x01C4 1920 #define MASK_TOPAZHP_CR_H264COMP4X4_RECON_CRC 0xFFFFFFFF 1921 #define SHIFT_TOPAZHP_CR_H264COMP4X4_RECON_CRC 0 1922 #define REGNUM_TOPAZHP_CR_H264COMP4X4_RECON_CRC 0x01C4 1923 #define SIGNED_TOPAZHP_CR_H264COMP4X4_RECON_CRC 0 1924 1925 /* Register CR_H264COMP8X8_PRED_CRC */ 1926 #define TOPAZHP_CR_H264COMP8X8_PRED_CRC 0x01C8 1927 #define MASK_TOPAZHP_CR_H264COMP8X8_PRED_CRC 0xFFFFFFFF 1928 #define SHIFT_TOPAZHP_CR_H264COMP8X8_PRED_CRC 0 1929 #define REGNUM_TOPAZHP_CR_H264COMP8X8_PRED_CRC 0x01C8 1930 #define SIGNED_TOPAZHP_CR_H264COMP8X8_PRED_CRC 0 1931 1932 /* Register CR_H264COMP8X8_COEFFS_CRC */ 1933 #define TOPAZHP_CR_H264COMP8X8_COEFFS_CRC 0x01CC 1934 #define MASK_TOPAZHP_CR_H264COMP8X8_COEFFS_CRC 0xFFFFFFFF 1935 #define SHIFT_TOPAZHP_CR_H264COMP8X8_COEFFS_CRC 0 1936 #define REGNUM_TOPAZHP_CR_H264COMP8X8_COEFFS_CRC 0x01CC 1937 #define SIGNED_TOPAZHP_CR_H264COMP8X8_COEFFS_CRC 0 1938 1939 /* Register CR_H264COMP8X8_RECON_CRC */ 1940 #define TOPAZHP_CR_H264COMP8X8_RECON_CRC 0x01D0 1941 #define MASK_TOPAZHP_CR_H264COMP8X8_RECON_CRC 0xFFFFFFFF 1942 #define SHIFT_TOPAZHP_CR_H264COMP8X8_RECON_CRC 0 1943 #define REGNUM_TOPAZHP_CR_H264COMP8X8_RECON_CRC 0x01D0 1944 #define SIGNED_TOPAZHP_CR_H264COMP8X8_RECON_CRC 0 1945 1946 /* Register CR_H264COMP16X16_PRED_CRC */ 1947 #define TOPAZHP_CR_H264COMP16X16_PRED_CRC 0x01D4 1948 #define MASK_TOPAZHP_CR_H264COMP16X16_PRED_CRC 0xFFFFFFFF 1949 #define SHIFT_TOPAZHP_CR_H264COMP16X16_PRED_CRC 0 1950 #define REGNUM_TOPAZHP_CR_H264COMP16X16_PRED_CRC 0x01D4 1951 #define SIGNED_TOPAZHP_CR_H264COMP16X16_PRED_CRC 0 1952 1953 /* Register CR_H264COMP16X16_COEFFS_CRC */ 1954 #define TOPAZHP_CR_H264COMP16X16_COEFFS_CRC 0x01D8 1955 #define MASK_TOPAZHP_CR_H264COMP16X16_COEFFS_CRC 0xFFFFFFFF 1956 #define SHIFT_TOPAZHP_CR_H264COMP16X16_COEFFS_CRC 0 1957 #define REGNUM_TOPAZHP_CR_H264COMP16X16_COEFFS_CRC 0x01D8 1958 #define SIGNED_TOPAZHP_CR_H264COMP16X16_COEFFS_CRC 0 1959 1960 /* Register CR_H264COMP16X16_RECON_CRC */ 1961 #define TOPAZHP_CR_H264COMP16X16_RECON_CRC 0x01DC 1962 #define MASK_TOPAZHP_CR_H264COMP16X16_RECON_CRC 0xFFFFFFFF 1963 #define SHIFT_TOPAZHP_CR_H264COMP16X16_RECON_CRC 0 1964 #define REGNUM_TOPAZHP_CR_H264COMP16X16_RECON_CRC 0x01DC 1965 #define SIGNED_TOPAZHP_CR_H264COMP16X16_RECON_CRC 0 1966 1967 /* Register CR_H264COMP_ROUND_0 */ 1968 #define TOPAZHP_CR_H264COMP_ROUND_0 0x01E0 1969 #define MASK_TOPAZHP_CR_H264COMP_16X16_INTRA_LUMA_ROUNDOFFSET 0x000003FF 1970 #define SHIFT_TOPAZHP_CR_H264COMP_16X16_INTRA_LUMA_ROUNDOFFSET 0 1971 #define REGNUM_TOPAZHP_CR_H264COMP_16X16_INTRA_LUMA_ROUNDOFFSET 0x01E0 1972 #define SIGNED_TOPAZHP_CR_H264COMP_16X16_INTRA_LUMA_ROUNDOFFSET 0 1973 1974 #define MASK_TOPAZHP_CR_H264COMP_16X16_INTRA_CHROMA_ROUNDOFFSET 0x000FFC00 1975 #define SHIFT_TOPAZHP_CR_H264COMP_16X16_INTRA_CHROMA_ROUNDOFFSET 10 1976 #define REGNUM_TOPAZHP_CR_H264COMP_16X16_INTRA_CHROMA_ROUNDOFFSET 0x01E0 1977 #define SIGNED_TOPAZHP_CR_H264COMP_16X16_INTRA_CHROMA_ROUNDOFFSET 0 1978 1979 #define MASK_TOPAZHP_CR_H264COMP_16X16_INTER_CHROMA_ROUNDOFFSET 0x3FF00000 1980 #define SHIFT_TOPAZHP_CR_H264COMP_16X16_INTER_CHROMA_ROUNDOFFSET 20 1981 #define REGNUM_TOPAZHP_CR_H264COMP_16X16_INTER_CHROMA_ROUNDOFFSET 0x01E0 1982 #define SIGNED_TOPAZHP_CR_H264COMP_16X16_INTER_CHROMA_ROUNDOFFSET 0 1983 1984 /* Register CR_H264COMP_ROUND_1 */ 1985 #define TOPAZHP_CR_H264COMP_ROUND_1 0x01E4 1986 #define MASK_TOPAZHP_CR_H264COMP_4X4_INTRA_LUMA_ROUNDOFFSET 0x000003FF 1987 #define SHIFT_TOPAZHP_CR_H264COMP_4X4_INTRA_LUMA_ROUNDOFFSET 0 1988 #define REGNUM_TOPAZHP_CR_H264COMP_4X4_INTRA_LUMA_ROUNDOFFSET 0x01E4 1989 #define SIGNED_TOPAZHP_CR_H264COMP_4X4_INTRA_LUMA_ROUNDOFFSET 0 1990 1991 #define MASK_TOPAZHP_CR_H264COMP_8X8_INTRA_LUMA_ROUNDOFFSET 0x000FFC00 1992 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_INTRA_LUMA_ROUNDOFFSET 10 1993 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_INTRA_LUMA_ROUNDOFFSET 0x01E4 1994 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_INTRA_LUMA_ROUNDOFFSET 0 1995 1996 /* Register CR_H264COMP_ROUND_2 */ 1997 #define TOPAZHP_CR_H264COMP_ROUND_2 0x01E8 1998 #define MASK_TOPAZHP_CR_H264COMP_8X8_INTER_LUMA_ROUNDOFFSET 0x000003FF 1999 #define SHIFT_TOPAZHP_CR_H264COMP_8X8_INTER_LUMA_ROUNDOFFSET 0 2000 #define REGNUM_TOPAZHP_CR_H264COMP_8X8_INTER_LUMA_ROUNDOFFSET 0x01E8 2001 #define SIGNED_TOPAZHP_CR_H264COMP_8X8_INTER_LUMA_ROUNDOFFSET 0 2002 2003 #define MASK_TOPAZHP_CR_H264COMP_16X16_INTER_LUMA_ROUNDOFFSET 0x000FFC00 2004 #define SHIFT_TOPAZHP_CR_H264COMP_16X16_INTER_LUMA_ROUNDOFFSET 10 2005 #define REGNUM_TOPAZHP_CR_H264COMP_16X16_INTER_LUMA_ROUNDOFFSET 0x01E8 2006 #define SIGNED_TOPAZHP_CR_H264COMP_16X16_INTER_LUMA_ROUNDOFFSET 0 2007 2008 /* Register CR_H264COMP_ROUND_INIT */ 2009 #define TOPAZHP_CR_H264COMP_ROUND_INIT 0x01EC 2010 #define MASK_TOPAZHP_CR_H264COMP_ROUNDOFFSET_INITIALISE 0x00000001 2011 #define SHIFT_TOPAZHP_CR_H264COMP_ROUNDOFFSET_INITIALISE 0 2012 #define REGNUM_TOPAZHP_CR_H264COMP_ROUNDOFFSET_INITIALISE 0x01EC 2013 #define SIGNED_TOPAZHP_CR_H264COMP_ROUNDOFFSET_INITIALISE 0 2014 2015 /* Register CR_H264COMP_VIDEO_CONF_CONTROL_0 */ 2016 #define TOPAZHP_CR_H264COMP_VIDEO_CONF_CONTROL_0 0x01F0 2017 #define MASK_TOPAZHP_CR_H264COMP_SET_LEVEL_RANGE 0x00000001 2018 #define SHIFT_TOPAZHP_CR_H264COMP_SET_LEVEL_RANGE 0 2019 #define REGNUM_TOPAZHP_CR_H264COMP_SET_LEVEL_RANGE 0x01F0 2020 #define SIGNED_TOPAZHP_CR_H264COMP_SET_LEVEL_RANGE 0 2021 2022 #define MASK_TOPAZHP_CR_H264COMP_SET_START_LEVEL 0x00000002 2023 #define SHIFT_TOPAZHP_CR_H264COMP_SET_START_LEVEL 1 2024 #define REGNUM_TOPAZHP_CR_H264COMP_SET_START_LEVEL 0x01F0 2025 #define SIGNED_TOPAZHP_CR_H264COMP_SET_START_LEVEL 0 2026 2027 #define MASK_TOPAZHP_CR_H264COMP_FLUSH_BITCOUNTS 0x00000004 2028 #define SHIFT_TOPAZHP_CR_H264COMP_FLUSH_BITCOUNTS 2 2029 #define REGNUM_TOPAZHP_CR_H264COMP_FLUSH_BITCOUNTS 0x01F0 2030 #define SIGNED_TOPAZHP_CR_H264COMP_FLUSH_BITCOUNTS 0 2031 2032 #define MASK_TOPAZHP_CR_H264COMP_MIN_LIMIT_LEVEL 0x00000038 2033 #define SHIFT_TOPAZHP_CR_H264COMP_MIN_LIMIT_LEVEL 3 2034 #define REGNUM_TOPAZHP_CR_H264COMP_MIN_LIMIT_LEVEL 0x01F0 2035 #define SIGNED_TOPAZHP_CR_H264COMP_MIN_LIMIT_LEVEL 0 2036 2037 #define MASK_TOPAZHP_CR_H264COMP_MAX_LIMIT_LEVEL 0x000001C0 2038 #define SHIFT_TOPAZHP_CR_H264COMP_MAX_LIMIT_LEVEL 6 2039 #define REGNUM_TOPAZHP_CR_H264COMP_MAX_LIMIT_LEVEL 0x01F0 2040 #define SIGNED_TOPAZHP_CR_H264COMP_MAX_LIMIT_LEVEL 0 2041 2042 #define MASK_TOPAZHP_CR_H264COMP_START_LIMIT_LEVEL 0x00000E00 2043 #define SHIFT_TOPAZHP_CR_H264COMP_START_LIMIT_LEVEL 9 2044 #define REGNUM_TOPAZHP_CR_H264COMP_START_LIMIT_LEVEL 0x01F0 2045 #define SIGNED_TOPAZHP_CR_H264COMP_START_LIMIT_LEVEL 0 2046 2047 #define MASK_TOPAZHP_CR_H264COMP_TARGET_MB_SIZE 0x003FF000 2048 #define SHIFT_TOPAZHP_CR_H264COMP_TARGET_MB_SIZE 12 2049 #define REGNUM_TOPAZHP_CR_H264COMP_TARGET_MB_SIZE 0x01F0 2050 #define SIGNED_TOPAZHP_CR_H264COMP_TARGET_MB_SIZE 0 2051 2052 #define MASK_TOPAZHP_CR_H264COMP_TARGET_HYST 0xFFC00000 2053 #define SHIFT_TOPAZHP_CR_H264COMP_TARGET_HYST 22 2054 #define REGNUM_TOPAZHP_CR_H264COMP_TARGET_HYST 0x01F0 2055 #define SIGNED_TOPAZHP_CR_H264COMP_TARGET_HYST 0 2056 2057 /* Register CR_H264COMP_VIDEO_CONF_CONTROL_1 */ 2058 #define TOPAZHP_CR_H264COMP_VIDEO_CONF_CONTROL_1 0x01F4 2059 #define MASK_TOPAZHP_CR_H264COMP_INIT_TARGET 0x00000001 2060 #define SHIFT_TOPAZHP_CR_H264COMP_INIT_TARGET 0 2061 #define REGNUM_TOPAZHP_CR_H264COMP_INIT_TARGET 0x01F4 2062 #define SIGNED_TOPAZHP_CR_H264COMP_INIT_TARGET 0 2063 2064 #define MASK_TOPAZHP_CR_H264COMP_INIT_USED 0x00000002 2065 #define SHIFT_TOPAZHP_CR_H264COMP_INIT_USED 1 2066 #define REGNUM_TOPAZHP_CR_H264COMP_INIT_USED 0x01F4 2067 #define SIGNED_TOPAZHP_CR_H264COMP_INIT_USED 0 2068 2069 #define MASK_TOPAZHP_CR_H264COMP_TARGET_CONSTANT 0x0FFFFFF0 2070 #define SHIFT_TOPAZHP_CR_H264COMP_TARGET_CONSTANT 4 2071 #define REGNUM_TOPAZHP_CR_H264COMP_TARGET_CONSTANT 0x01F4 2072 #define SIGNED_TOPAZHP_CR_H264COMP_TARGET_CONSTANT 0 2073 2074 /* Register CR_H264COMP_VIDEO_CONF_STATUS_0 */ 2075 #define TOPAZHP_CR_H264COMP_VIDEO_CONF_STATUS_0 0x01F8 2076 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_0 0x000000FF 2077 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_0 0 2078 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_0 0x01F8 2079 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_0 0 2080 2081 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_1 0x0000FF00 2082 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_1 8 2083 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_1 0x01F8 2084 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_1 0 2085 2086 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_2 0x00FF0000 2087 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_2 16 2088 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_2 0x01F8 2089 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_2 0 2090 2091 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_3 0xFF000000 2092 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_3 24 2093 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_3 0x01F8 2094 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_3 0 2095 2096 /* Register CR_H264COMP_VIDEO_CONF_STATUS_1 */ 2097 #define TOPAZHP_CR_H264COMP_VIDEO_CONF_STATUS_1 0x01FC 2098 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_4 0x000000FF 2099 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_4 0 2100 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_4 0x01FC 2101 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_4 0 2102 2103 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_5 0x0000FF00 2104 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_5 8 2105 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_5 0x01FC 2106 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_5 0 2107 2108 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_6 0x00FF0000 2109 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_6 16 2110 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_6 0x01FC 2111 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_6 0 2112 2113 #define MASK_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_7 0xFF000000 2114 #define SHIFT_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_7 24 2115 #define REGNUM_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_7 0x01FC 2116 #define SIGNED_TOPAZHP_CR_H264COMP_MBS_LIMIT_LEVEL_7 0 2117 2118 /* Register CR_IPE_CONTROL */ 2119 #define TOPAZHP_CR_IPE_CONTROL 0x0200 2120 #define MASK_TOPAZHP_CR_IPE_BLOCKSIZE 0x00000003 2121 #define SHIFT_TOPAZHP_CR_IPE_BLOCKSIZE 0 2122 #define REGNUM_TOPAZHP_CR_IPE_BLOCKSIZE 0x0200 2123 #define SIGNED_TOPAZHP_CR_IPE_BLOCKSIZE 0 2124 2125 #define MASK_TOPAZHP_CR_IPE_16X8_ENABLE 0x00000004 2126 #define SHIFT_TOPAZHP_CR_IPE_16X8_ENABLE 2 2127 #define REGNUM_TOPAZHP_CR_IPE_16X8_ENABLE 0x0200 2128 #define SIGNED_TOPAZHP_CR_IPE_16X8_ENABLE 0 2129 2130 #define MASK_TOPAZHP_CR_IPE_8X16_ENABLE 0x00000008 2131 #define SHIFT_TOPAZHP_CR_IPE_8X16_ENABLE 3 2132 #define REGNUM_TOPAZHP_CR_IPE_8X16_ENABLE 0x0200 2133 #define SIGNED_TOPAZHP_CR_IPE_8X16_ENABLE 0 2134 2135 #define MASK_TOPAZHP_CR_IPE_Y_FINE_SEARCH 0x00000030 2136 #define SHIFT_TOPAZHP_CR_IPE_Y_FINE_SEARCH 4 2137 #define REGNUM_TOPAZHP_CR_IPE_Y_FINE_SEARCH 0x0200 2138 #define SIGNED_TOPAZHP_CR_IPE_Y_FINE_SEARCH 0 2139 2140 #define MASK_TOPAZHP_CR_IPE_4X4_SEARCH 0x00000040 2141 #define SHIFT_TOPAZHP_CR_IPE_4X4_SEARCH 6 2142 #define REGNUM_TOPAZHP_CR_IPE_4X4_SEARCH 0x0200 2143 #define SIGNED_TOPAZHP_CR_IPE_4X4_SEARCH 0 2144 2145 #define MASK_TOPAZHP_CR_IPE_LRITC_BOUNDARY 0x00000300 2146 #define SHIFT_TOPAZHP_CR_IPE_LRITC_BOUNDARY 8 2147 #define REGNUM_TOPAZHP_CR_IPE_LRITC_BOUNDARY 0x0200 2148 #define SIGNED_TOPAZHP_CR_IPE_LRITC_BOUNDARY 0 2149 2150 #define MASK_TOPAZHP_CR_IPE_HIGH_LATENCY 0x00001000 2151 #define SHIFT_TOPAZHP_CR_IPE_HIGH_LATENCY 12 2152 #define REGNUM_TOPAZHP_CR_IPE_HIGH_LATENCY 0x0200 2153 #define SIGNED_TOPAZHP_CR_IPE_HIGH_LATENCY 0 2154 2155 #define MASK_TOPAZHP_CR_IPE_MV_NUMBER_RESTRICTION 0x00004000 2156 #define SHIFT_TOPAZHP_CR_IPE_MV_NUMBER_RESTRICTION 14 2157 #define REGNUM_TOPAZHP_CR_IPE_MV_NUMBER_RESTRICTION 0x0200 2158 #define SIGNED_TOPAZHP_CR_IPE_MV_NUMBER_RESTRICTION 0 2159 2160 #define MASK_TOPAZHP_CR_IPE0_COSTS_CRC_SEL 0x00018000 2161 #define SHIFT_TOPAZHP_CR_IPE0_COSTS_CRC_SEL 15 2162 #define REGNUM_TOPAZHP_CR_IPE0_COSTS_CRC_SEL 0x0200 2163 #define SIGNED_TOPAZHP_CR_IPE0_COSTS_CRC_SEL 0 2164 #define TOPAZHP_CR_IPE0_COSTS_CRC_SEL_RESERVED 0x00000003 2165 #define TOPAZHP_CR_IPE0_COSTS_CRC_SEL_16X16_COSTS 0x00000002 /* cr_ipe0_costs_crc will output 16x16 crc value */ 2166 #define TOPAZHP_CR_IPE0_COSTS_CRC_SEL_8X8_COSTS 0x00000001 /* cr_ipe0_costs_crc will output 8x8 crc value */ 2167 #define TOPAZHP_CR_IPE0_COSTS_CRC_SEL_4X4_COSTS 0x00000000 /* cr_ipe0_costs_crc will output 4x4 crc value */ 2168 2169 #define MASK_TOPAZHP_CR_IPE1_COSTS_CRC_SEL 0x00060000 2170 #define SHIFT_TOPAZHP_CR_IPE1_COSTS_CRC_SEL 17 2171 #define REGNUM_TOPAZHP_CR_IPE1_COSTS_CRC_SEL 0x0200 2172 #define SIGNED_TOPAZHP_CR_IPE1_COSTS_CRC_SEL 0 2173 #define TOPAZHP_CR_IPE1_COSTS_CRC_SEL_RESERVED 0x00000003 2174 #define TOPAZHP_CR_IPE1_COSTS_CRC_SEL_16X16_COSTS 0x00000002 /* cr_ipe1_costs_crc will output 16x16 crc value */ 2175 #define TOPAZHP_CR_IPE1_COSTS_CRC_SEL_8X8_COSTS 0x00000001 /* cr_ipe1_costs_crc will output 8x8 crc value */ 2176 #define TOPAZHP_CR_IPE1_COSTS_CRC_SEL_4X4_COSTS 0x00000000 /* cr_ipe1_costs_crc will output 4x4 crc value */ 2177 2178 /* Register CR_IPE_SEARCH_STATUS */ 2179 #define TOPAZHP_CR_IPE_SEARCH_STATUS 0x0204 2180 #define MASK_TOPAZHP_CR_IPE0_SEARCH_STATUS 0x00000007 2181 #define SHIFT_TOPAZHP_CR_IPE0_SEARCH_STATUS 0 2182 #define REGNUM_TOPAZHP_CR_IPE0_SEARCH_STATUS 0x0204 2183 #define SIGNED_TOPAZHP_CR_IPE0_SEARCH_STATUS 0 2184 2185 #define MASK_TOPAZHP_CR_IPE1_SEARCH_STATUS 0x00070000 2186 #define SHIFT_TOPAZHP_CR_IPE1_SEARCH_STATUS 16 2187 #define REGNUM_TOPAZHP_CR_IPE1_SEARCH_STATUS 0x0204 2188 #define SIGNED_TOPAZHP_CR_IPE1_SEARCH_STATUS 0 2189 2190 /* Register CR_IPE0_MB_COST */ 2191 #define TOPAZHP_CR_IPE0_MB_COST 0x0208 2192 #define MASK_TOPAZHP_CR_IPE0_MB_SAD 0x0000FFFF 2193 #define SHIFT_TOPAZHP_CR_IPE0_MB_SAD 0 2194 #define REGNUM_TOPAZHP_CR_IPE0_MB_SAD 0x0208 2195 #define SIGNED_TOPAZHP_CR_IPE0_MB_SAD 0 2196 2197 #define MASK_TOPAZHP_CR_IPE0_INT_MVCOST 0xFFFF0000 2198 #define SHIFT_TOPAZHP_CR_IPE0_INT_MVCOST 16 2199 #define REGNUM_TOPAZHP_CR_IPE0_INT_MVCOST 0x0208 2200 #define SIGNED_TOPAZHP_CR_IPE0_INT_MVCOST 0 2201 2202 /* Register CR_IPE1_MB_COST */ 2203 #define TOPAZHP_CR_IPE1_MB_COST 0x020C 2204 #define MASK_TOPAZHP_CR_IPE1_MB_SAD 0x0000FFFF 2205 #define SHIFT_TOPAZHP_CR_IPE1_MB_SAD 0 2206 #define REGNUM_TOPAZHP_CR_IPE1_MB_SAD 0x020C 2207 #define SIGNED_TOPAZHP_CR_IPE1_MB_SAD 0 2208 2209 #define MASK_TOPAZHP_CR_IPE1_INT_MVCOST 0xFFFF0000 2210 #define SHIFT_TOPAZHP_CR_IPE1_INT_MVCOST 16 2211 #define REGNUM_TOPAZHP_CR_IPE1_INT_MVCOST 0x020C 2212 #define SIGNED_TOPAZHP_CR_IPE1_INT_MVCOST 0 2213 2214 /* Register CR_IPE0_BESTMV_CRC */ 2215 #define TOPAZHP_CR_IPE0_BESTMV_CRC 0x0240 2216 #define MASK_TOPAZHP_CR_IPE0_BESTMV_CRC 0xFFFFFFFF 2217 #define SHIFT_TOPAZHP_CR_IPE0_BESTMV_CRC 0 2218 #define REGNUM_TOPAZHP_CR_IPE0_BESTMV_CRC 0x0240 2219 #define SIGNED_TOPAZHP_CR_IPE0_BESTMV_CRC 0 2220 2221 /* Register CR_IPE1_BESTMV_CRC */ 2222 #define TOPAZHP_CR_IPE1_BESTMV_CRC 0x0244 2223 #define MASK_TOPAZHP_CR_IPE1_BESTMV_CRC 0xFFFFFFFF 2224 #define SHIFT_TOPAZHP_CR_IPE1_BESTMV_CRC 0 2225 #define REGNUM_TOPAZHP_CR_IPE1_BESTMV_CRC 0x0244 2226 #define SIGNED_TOPAZHP_CR_IPE1_BESTMV_CRC 0 2227 2228 /* Register CR_IPE0_COSTS_CRC */ 2229 #define TOPAZHP_CR_IPE0_COSTS_CRC 0x0248 2230 #define MASK_TOPAZHP_CR_IPE0_COSTS_CRC 0xFFFFFFFF 2231 #define SHIFT_TOPAZHP_CR_IPE0_COSTS_CRC 0 2232 #define REGNUM_TOPAZHP_CR_IPE0_COSTS_CRC 0x0248 2233 #define SIGNED_TOPAZHP_CR_IPE0_COSTS_CRC 0 2234 2235 /* Register CR_IPE1_COSTS_CRC */ 2236 #define TOPAZHP_CR_IPE1_COSTS_CRC 0x024C 2237 #define MASK_TOPAZHP_CR_IPE1_COSTS_CRC 0xFFFFFFFF 2238 #define SHIFT_TOPAZHP_CR_IPE1_COSTS_CRC 0 2239 #define REGNUM_TOPAZHP_CR_IPE1_COSTS_CRC 0x024C 2240 #define SIGNED_TOPAZHP_CR_IPE1_COSTS_CRC 0 2241 2242 /* Register CR_IPE_MB_PERFORMANCE_CLEAR */ 2243 #define TOPAZHP_CR_IPE_MB_PERFORMANCE_CLEAR 0x0250 2244 #define MASK_TOPAZHP_CR_IPE_MB_PERFORMANCE_CLEAR 0x00000001 2245 #define SHIFT_TOPAZHP_CR_IPE_MB_PERFORMANCE_CLEAR 0 2246 #define REGNUM_TOPAZHP_CR_IPE_MB_PERFORMANCE_CLEAR 0x0250 2247 #define SIGNED_TOPAZHP_CR_IPE_MB_PERFORMANCE_CLEAR 0 2248 2249 /* Register CR_IPE_MB_PERFORMANCE_RESULT */ 2250 #define TOPAZHP_CR_IPE_MB_PERFORMANCE_RESULT 0x0254 2251 #define MASK_TOPAZHP_CR_IPE_0_MB_PERFORMANCE_RESULT 0x0000FFFF 2252 #define SHIFT_TOPAZHP_CR_IPE_0_MB_PERFORMANCE_RESULT 0 2253 #define REGNUM_TOPAZHP_CR_IPE_0_MB_PERFORMANCE_RESULT 0x0254 2254 #define SIGNED_TOPAZHP_CR_IPE_0_MB_PERFORMANCE_RESULT 0 2255 2256 #define MASK_TOPAZHP_CR_IPE_1_MB_PERFORMANCE_RESULT 0xFFFF0000 2257 #define SHIFT_TOPAZHP_CR_IPE_1_MB_PERFORMANCE_RESULT 16 2258 #define REGNUM_TOPAZHP_CR_IPE_1_MB_PERFORMANCE_RESULT 0x0254 2259 #define SIGNED_TOPAZHP_CR_IPE_1_MB_PERFORMANCE_RESULT 0 2260 2261 /* Register CR_IPE_MB_PERFORMANCE_MB_NUMBER */ 2262 #define TOPAZHP_CR_IPE_MB_PERFORMANCE_MB_NUMBER 0x0258 2263 #define MASK_TOPAZHP_CR_IPE_0_MAX_CYCLE_MB_NUM 0x0000FFFF 2264 #define SHIFT_TOPAZHP_CR_IPE_0_MAX_CYCLE_MB_NUM 0 2265 #define REGNUM_TOPAZHP_CR_IPE_0_MAX_CYCLE_MB_NUM 0x0258 2266 #define SIGNED_TOPAZHP_CR_IPE_0_MAX_CYCLE_MB_NUM 0 2267 2268 #define MASK_TOPAZHP_CR_IPE_1_MAX_CYCLE_MB_NUM 0xFFFF0000 2269 #define SHIFT_TOPAZHP_CR_IPE_1_MAX_CYCLE_MB_NUM 16 2270 #define REGNUM_TOPAZHP_CR_IPE_1_MAX_CYCLE_MB_NUM 0x0258 2271 #define SIGNED_TOPAZHP_CR_IPE_1_MAX_CYCLE_MB_NUM 0 2272 2273 /* Register CR_IPE_VECTOR_CLIPPING */ 2274 #define TOPAZHP_CR_IPE_VECTOR_CLIPPING 0x0260 2275 #define MASK_TOPAZHP_CR_IPE_VECTOR_CLIPPING_X 0x000000FF 2276 #define SHIFT_TOPAZHP_CR_IPE_VECTOR_CLIPPING_X 0 2277 #define REGNUM_TOPAZHP_CR_IPE_VECTOR_CLIPPING_X 0x0260 2278 #define SIGNED_TOPAZHP_CR_IPE_VECTOR_CLIPPING_X 0 2279 2280 #define MASK_TOPAZHP_CR_IPE_VECTOR_CLIPPING_Y 0x0000FF00 2281 #define SHIFT_TOPAZHP_CR_IPE_VECTOR_CLIPPING_Y 8 2282 #define REGNUM_TOPAZHP_CR_IPE_VECTOR_CLIPPING_Y 0x0260 2283 #define SIGNED_TOPAZHP_CR_IPE_VECTOR_CLIPPING_Y 0 2284 2285 #define MASK_TOPAZHP_CR_IPE_VECTOR_CLIPPING_ENABLED 0x00010000 2286 #define SHIFT_TOPAZHP_CR_IPE_VECTOR_CLIPPING_ENABLED 16 2287 #define REGNUM_TOPAZHP_CR_IPE_VECTOR_CLIPPING_ENABLED 0x0260 2288 #define SIGNED_TOPAZHP_CR_IPE_VECTOR_CLIPPING_ENABLED 0 2289 2290 /* Register CR_JMCOMP_CONTROL */ 2291 #define TOPAZHP_CR_JMCOMP_CONTROL 0x0270 2292 #define MASK_TOPAZHP_CR_JMCOMP_AC_ENABLE 0x00008000 2293 #define SHIFT_TOPAZHP_CR_JMCOMP_AC_ENABLE 15 2294 #define REGNUM_TOPAZHP_CR_JMCOMP_AC_ENABLE 0x0270 2295 #define SIGNED_TOPAZHP_CR_JMCOMP_AC_ENABLE 0 2296 2297 /* Register CR_JMCOMP_JPEG_LUMA_PRED */ 2298 #define TOPAZHP_CR_JMCOMP_JPEG_LUMA_PRED 0x0278 2299 #define MASK_TOPAZHP_CR_JMCOMP_JPEG_DC_LUMA_PRED 0x00000FFF 2300 #define SHIFT_TOPAZHP_CR_JMCOMP_JPEG_DC_LUMA_PRED 0 2301 #define REGNUM_TOPAZHP_CR_JMCOMP_JPEG_DC_LUMA_PRED 0x0278 2302 #define SIGNED_TOPAZHP_CR_JMCOMP_JPEG_DC_LUMA_PRED 0 2303 2304 /* Register CR_JMCOMP_JPEG_CHROMA_PREDS */ 2305 #define TOPAZHP_CR_JMCOMP_JPEG_CHROMA_PREDS 0x027C 2306 #define MASK_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CB_PRED 0x00000FFF 2307 #define SHIFT_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CB_PRED 0 2308 #define REGNUM_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CB_PRED 0x027C 2309 #define SIGNED_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CB_PRED 0 2310 2311 #define MASK_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CR_PRED 0x0FFF0000 2312 #define SHIFT_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CR_PRED 16 2313 #define REGNUM_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CR_PRED 0x027C 2314 #define SIGNED_TOPAZHP_CR_JMCOMP_JPEG_DC_CHROMA_CR_PRED 0 2315 2316 /* Register CR_JMCOMP_LUMA_QUANTISER_0 */ 2317 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_0 0x0280 2318 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_00(i) (0x000000FF << (0 + ((i) * 8))) 2319 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_00(i) (0 + ((i) * 8)) 2320 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_00(i) 0x0280 2321 2322 /* Register CR_JMCOMP_LUMA_QUANTISER_1 */ 2323 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_1 0x0284 2324 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_01(i) (0x000000FF << (0 + ((i) * 8))) 2325 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_01(i) (0 + ((i) * 8)) 2326 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_01(i) 0x0284 2327 2328 /* Register CR_JMCOMP_LUMA_QUANTISER_2 */ 2329 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_2 0x0288 2330 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_02(i) (0x000000FF << (0 + ((i) * 8))) 2331 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_02(i) (0 + ((i) * 8)) 2332 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_02(i) 0x0288 2333 2334 /* Register CR_JMCOMP_LUMA_QUANTISER_3 */ 2335 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_3 0x028C 2336 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_03(i) (0x000000FF << (0 + ((i) * 8))) 2337 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_03(i) (0 + ((i) * 8)) 2338 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_03(i) 0x028C 2339 2340 /* Register CR_JMCOMP_LUMA_QUANTISER_4 */ 2341 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_4 0x0290 2342 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_04(i) (0x000000FF << (0 + ((i) * 8))) 2343 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_04(i) (0 + ((i) * 8)) 2344 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_04(i) 0x0290 2345 2346 /* Register CR_JMCOMP_LUMA_QUANTISER_5 */ 2347 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_5 0x0294 2348 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_05(i) (0x000000FF << (0 + ((i) * 8))) 2349 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_05(i) (0 + ((i) * 8)) 2350 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_05(i) 0x0294 2351 2352 /* Register CR_JMCOMP_LUMA_QUANTISER_6 */ 2353 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_6 0x0298 2354 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_06(i) (0x000000FF << (0 + ((i) * 8))) 2355 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_06(i) (0 + ((i) * 8)) 2356 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_06(i) 0x0298 2357 2358 /* Register CR_JMCOMP_LUMA_QUANTISER_7 */ 2359 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_7 0x029C 2360 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_07(i) (0x000000FF << (0 + ((i) * 8))) 2361 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_07(i) (0 + ((i) * 8)) 2362 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_07(i) 0x029C 2363 2364 /* Register CR_JMCOMP_LUMA_QUANTISER_8 */ 2365 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_8 0x02A0 2366 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_08(i) (0x000000FF << (0 + ((i) * 8))) 2367 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_08(i) (0 + ((i) * 8)) 2368 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_08(i) 0x02A0 2369 2370 /* Register CR_JMCOMP_LUMA_QUANTISER_9 */ 2371 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_9 0x02A4 2372 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_09(i) (0x000000FF << (0 + ((i) * 8))) 2373 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_09(i) (0 + ((i) * 8)) 2374 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_09(i) 0x02A4 2375 2376 /* Register CR_JMCOMP_LUMA_QUANTISER_10 */ 2377 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_10 0x02A8 2378 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_10(i) (0x000000FF << (0 + ((i) * 8))) 2379 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_10(i) (0 + ((i) * 8)) 2380 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_10(i) 0x02A8 2381 2382 /* Register CR_JMCOMP_LUMA_QUANTISER_11 */ 2383 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_11 0x02AC 2384 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_11(i) (0x000000FF << (0 + ((i) * 8))) 2385 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_11(i) (0 + ((i) * 8)) 2386 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_11(i) 0x02AC 2387 2388 /* Register CR_JMCOMP_LUMA_QUANTISER_12 */ 2389 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_12 0x02B0 2390 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_12(i) (0x000000FF << (0 + ((i) * 8))) 2391 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_12(i) (0 + ((i) * 8)) 2392 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_12(i) 0x02B0 2393 2394 /* Register CR_JMCOMP_LUMA_QUANTISER_13 */ 2395 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_13 0x02B4 2396 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_13(i) (0x000000FF << (0 + ((i) * 8))) 2397 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_13(i) (0 + ((i) * 8)) 2398 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_13(i) 0x02B4 2399 2400 /* Register CR_JMCOMP_LUMA_QUANTISER_14 */ 2401 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_14 0x02B8 2402 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_14(i) (0x000000FF << (0 + ((i) * 8))) 2403 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_14(i) (0 + ((i) * 8)) 2404 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_14(i) 0x02B8 2405 2406 /* Register CR_JMCOMP_LUMA_QUANTISER_15 */ 2407 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_15 0x02BC 2408 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT_15(i) (0x000000FF << (0 + ((i) * 8))) 2409 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT_15(i) (0 + ((i) * 8)) 2410 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT_15(i) 0x02BC 2411 2412 /* Register CR_JMCOMP_CHROMA_QUANTISER_0 */ 2413 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_0 0x02C0 2414 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_00(i) (0x000000FF << (0 + ((i) * 8))) 2415 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_00(i) (0 + ((i) * 8)) 2416 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_00(i) 0x02C0 2417 2418 /* Register CR_JMCOMP_CHROMA_QUANTISER_1 */ 2419 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_1 0x02C4 2420 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_01(i) (0x000000FF << (0 + ((i) * 8))) 2421 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_01(i) (0 + ((i) * 8)) 2422 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_01(i) 0x02C4 2423 2424 /* Register CR_JMCOMP_CHROMA_QUANTISER_2 */ 2425 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_2 0x02C8 2426 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_02(i) (0x000000FF << (0 + ((i) * 8))) 2427 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_02(i) (0 + ((i) * 8)) 2428 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_02(i) 0x02C8 2429 2430 /* Register CR_JMCOMP_CHROMA_QUANTISER_3 */ 2431 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_3 0x02CC 2432 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_03(i) (0x000000FF << (0 + ((i) * 8))) 2433 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_03(i) (0 + ((i) * 8)) 2434 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_03(i) 0x02CC 2435 2436 /* Register CR_JMCOMP_CHROMA_QUANTISER_4 */ 2437 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_4 0x02D0 2438 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_04(i) (0x000000FF << (0 + ((i) * 8))) 2439 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_04(i) (0 + ((i) * 8)) 2440 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_04(i) 0x02D0 2441 2442 /* Register CR_JMCOMP_CHROMA_QUANTISER_5 */ 2443 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_5 0x02D4 2444 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_05(i) (0x000000FF << (0 + ((i) * 8))) 2445 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_05(i) (0 + ((i) * 8)) 2446 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_05(i) 0x02D4 2447 2448 /* Register CR_JMCOMP_CHROMA_QUANTISER_6 */ 2449 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_6 0x02D8 2450 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_06(i) (0x000000FF << (0 + ((i) * 8))) 2451 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_06(i) (0 + ((i) * 8)) 2452 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_06(i) 0x02D8 2453 2454 /* Register CR_JMCOMP_CHROMA_QUANTISER_7 */ 2455 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_7 0x02DC 2456 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_07(i) (0x000000FF << (0 + ((i) * 8))) 2457 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_07(i) (0 + ((i) * 8)) 2458 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_07(i) 0x02DC 2459 2460 /* Register CR_JMCOMP_CHROMA_QUANTISER_8 */ 2461 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_8 0x02E0 2462 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_08(i) (0x000000FF << (0 + ((i) * 8))) 2463 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_08(i) (0 + ((i) * 8)) 2464 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_08(i) 0x02E0 2465 2466 /* Register CR_JMCOMP_CHROMA_QUANTISER_9 */ 2467 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_9 0x02E4 2468 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_09(i) (0x000000FF << (0 + ((i) * 8))) 2469 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_09(i) (0 + ((i) * 8)) 2470 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_09(i) 0x02E4 2471 2472 /* Register CR_JMCOMP_CHROMA_QUANTISER_10 */ 2473 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_10 0x02E8 2474 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_10(i) (0x000000FF << (0 + ((i) * 8))) 2475 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_10(i) (0 + ((i) * 8)) 2476 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_10(i) 0x02E8 2477 2478 /* Register CR_JMCOMP_CHROMA_QUANTISER_11 */ 2479 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_11 0x02EC 2480 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_11(i) (0x000000FF << (0 + ((i) * 8))) 2481 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_11(i) (0 + ((i) * 8)) 2482 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_11(i) 0x02EC 2483 2484 /* Register CR_JMCOMP_CHROMA_QUANTISER_12 */ 2485 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_12 0x02F0 2486 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_12(i) (0x000000FF << (0 + ((i) * 8))) 2487 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_12(i) (0 + ((i) * 8)) 2488 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_12(i) 0x02F0 2489 2490 /* Register CR_JMCOMP_CHROMA_QUANTISER_13 */ 2491 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_13 0x02F4 2492 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_13(i) (0x000000FF << (0 + ((i) * 8))) 2493 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_13(i) (0 + ((i) * 8)) 2494 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_13(i) 0x02F4 2495 2496 /* Register CR_JMCOMP_CHROMA_QUANTISER_14 */ 2497 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_14 0x02F8 2498 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_14(i) (0x000000FF << (0 + ((i) * 8))) 2499 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_14(i) (0 + ((i) * 8)) 2500 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_14(i) 0x02F8 2501 2502 /* Register CR_JMCOMP_CHROMA_QUANTISER_15 */ 2503 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_15 0x02FC 2504 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_15(i) (0x000000FF << (0 + ((i) * 8))) 2505 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_15(i) (0 + ((i) * 8)) 2506 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT_15(i) 0x02FC 2507 2508 /* Register CR_JMCOMP_CRC */ 2509 #define TOPAZHP_CR_JMCOMP_CRC 0x0300 2510 #define MASK_TOPAZHP_CR_JMCOMP_CRC_OUT 0xFFFFFFFF 2511 #define SHIFT_TOPAZHP_CR_JMCOMP_CRC_OUT 0 2512 #define REGNUM_TOPAZHP_CR_JMCOMP_CRC_OUT 0x0300 2513 #define SIGNED_TOPAZHP_CR_JMCOMP_CRC_OUT 0 2514 2515 /* Register CR_JMCOMP_VLC_CRC */ 2516 #define TOPAZHP_CR_JMCOMP_VLC_CRC 0x0304 2517 #define MASK_TOPAZHP_CR_JMCOMP_VLC_IF_CRC 0xFFFFFFFF 2518 #define SHIFT_TOPAZHP_CR_JMCOMP_VLC_IF_CRC 0 2519 #define REGNUM_TOPAZHP_CR_JMCOMP_VLC_IF_CRC 0x0304 2520 #define SIGNED_TOPAZHP_CR_JMCOMP_VLC_IF_CRC 0 2521 2522 /* Register CR_JMCOMP_PERFORMANCE_0 */ 2523 #define TOPAZHP_CR_JMCOMP_PERFORMANCE_0 0x0308 2524 #define MASK_TOPAZHP_CR_JMCOMP_WORST_MB_CYCLES 0x0000FFFF 2525 #define SHIFT_TOPAZHP_CR_JMCOMP_WORST_MB_CYCLES 0 2526 #define REGNUM_TOPAZHP_CR_JMCOMP_WORST_MB_CYCLES 0x0308 2527 #define SIGNED_TOPAZHP_CR_JMCOMP_WORST_MB_CYCLES 0 2528 2529 #define MASK_TOPAZHP_CR_JMCOMP_WORST_MB_TYPE 0x00030000 2530 #define SHIFT_TOPAZHP_CR_JMCOMP_WORST_MB_TYPE 16 2531 #define REGNUM_TOPAZHP_CR_JMCOMP_WORST_MB_TYPE 0x0308 2532 #define SIGNED_TOPAZHP_CR_JMCOMP_WORST_MB_TYPE 0 2533 2534 /* Register CR_JMCOMP_CRC_RDATA */ 2535 #define TOPAZHP_CR_JMCOMP_CRC_RDATA 0x030C 2536 #define MASK_TOPAZHP_CR_JMCOMP_CRC_RDATA_OUT 0xFFFFFFFF 2537 #define SHIFT_TOPAZHP_CR_JMCOMP_CRC_RDATA_OUT 0 2538 #define REGNUM_TOPAZHP_CR_JMCOMP_CRC_RDATA_OUT 0x030C 2539 #define SIGNED_TOPAZHP_CR_JMCOMP_CRC_RDATA_OUT 0 2540 2541 /* Register CR_JMCOMP_CRC_CARC */ 2542 #define TOPAZHP_CR_JMCOMP_CRC_CARC 0x0310 2543 #define MASK_TOPAZHP_CR_JMCOMP_CRC_CARC_OUT 0xFFFFFFFF 2544 #define SHIFT_TOPAZHP_CR_JMCOMP_CRC_CARC_OUT 0 2545 #define REGNUM_TOPAZHP_CR_JMCOMP_CRC_CARC_OUT 0x0310 2546 #define SIGNED_TOPAZHP_CR_JMCOMP_CRC_CARC_OUT 0 2547 2548 /* Register CR_JMCOMP_PERFORMANCE_1 */ 2549 #define TOPAZHP_CR_JMCOMP_PERFORMANCE_1 0x0320 2550 #define MASK_TOPAZHP_CR_JMCOMP_WORST_MB_NUM 0x0000FFFF 2551 #define SHIFT_TOPAZHP_CR_JMCOMP_WORST_MB_NUM 0 2552 #define REGNUM_TOPAZHP_CR_JMCOMP_WORST_MB_NUM 0x0320 2553 #define SIGNED_TOPAZHP_CR_JMCOMP_WORST_MB_NUM 0 2554 2555 /* Register CR_JMCOMP_PERFORMANCE_2 */ 2556 #define TOPAZHP_CR_JMCOMP_PERFORMANCE_2 0x0324 2557 #define MASK_TOPAZHP_CR_JMCOMP_WORST_MB_CLEAR 0x00000001 2558 #define SHIFT_TOPAZHP_CR_JMCOMP_WORST_MB_CLEAR 0 2559 #define REGNUM_TOPAZHP_CR_JMCOMP_WORST_MB_CLEAR 0x0324 2560 #define SIGNED_TOPAZHP_CR_JMCOMP_WORST_MB_CLEAR 0 2561 2562 #define MASK_TOPAZHP_CR_JMCOMP_DISABLE_COUNTERS 0x00000002 2563 #define SHIFT_TOPAZHP_CR_JMCOMP_DISABLE_COUNTERS 1 2564 #define REGNUM_TOPAZHP_CR_JMCOMP_DISABLE_COUNTERS 0x0324 2565 #define SIGNED_TOPAZHP_CR_JMCOMP_DISABLE_COUNTERS 0 2566 2567 /* Register CR_JMCOMP_QP_VALUE */ 2568 #define TOPAZHP_CR_JMCOMP_QP_VALUE 0x0330 2569 #define MASK_TOPAZHP_CR_JMCOMP_REAL_QP_LUMA 0x0000003F 2570 #define SHIFT_TOPAZHP_CR_JMCOMP_REAL_QP_LUMA 0 2571 #define REGNUM_TOPAZHP_CR_JMCOMP_REAL_QP_LUMA 0x0330 2572 #define SIGNED_TOPAZHP_CR_JMCOMP_REAL_QP_LUMA 0 2573 2574 #define MASK_TOPAZHP_CR_JMCOMP_REQ_QP 0x003F0000 2575 #define SHIFT_TOPAZHP_CR_JMCOMP_REQ_QP 16 2576 #define REGNUM_TOPAZHP_CR_JMCOMP_REQ_QP 0x0330 2577 #define SIGNED_TOPAZHP_CR_JMCOMP_REQ_QP 0 2578 2579 #define MASK_TOPAZHP_CR_QSCALE_CHANGE_DELAY 0x0F000000 2580 #define SHIFT_TOPAZHP_CR_QSCALE_CHANGE_DELAY 24 2581 #define REGNUM_TOPAZHP_CR_QSCALE_CHANGE_DELAY 0x0330 2582 #define SIGNED_TOPAZHP_CR_QSCALE_CHANGE_DELAY 0 2583 2584 /* Register CR_JMCOMP_QSCALE_CHANGE */ 2585 #define TOPAZHP_CR_JMCOMP_QSCALE_CHANGE 0x0334 2586 #define MASK_TOPAZHP_CR_QSCALE_CHANGE_THRESHOLD 0x0000000F 2587 #define SHIFT_TOPAZHP_CR_QSCALE_CHANGE_THRESHOLD 0 2588 #define REGNUM_TOPAZHP_CR_QSCALE_CHANGE_THRESHOLD 0x0334 2589 #define SIGNED_TOPAZHP_CR_QSCALE_CHANGE_THRESHOLD 0 2590 2591 /* Register CR_SPE0_BEST_SAD_SIGNATURE */ 2592 #define TOPAZHP_CR_SPE0_BEST_SAD_SIGNATURE 0x0348 2593 #define MASK_TOPAZHP_CR_SPE0_BEST_SAD_SIGNATURE 0xFFFFFFFF 2594 #define SHIFT_TOPAZHP_CR_SPE0_BEST_SAD_SIGNATURE 0 2595 #define REGNUM_TOPAZHP_CR_SPE0_BEST_SAD_SIGNATURE 0x0348 2596 #define SIGNED_TOPAZHP_CR_SPE0_BEST_SAD_SIGNATURE 0 2597 2598 /* Register CR_SPE1_BEST_SAD_SIGNATURE */ 2599 #define TOPAZHP_CR_SPE1_BEST_SAD_SIGNATURE 0x034C 2600 #define MASK_TOPAZHP_CR_SPE1_BEST_SAD_SIGNATURE 0xFFFFFFFF 2601 #define SHIFT_TOPAZHP_CR_SPE1_BEST_SAD_SIGNATURE 0 2602 #define REGNUM_TOPAZHP_CR_SPE1_BEST_SAD_SIGNATURE 0x034C 2603 #define SIGNED_TOPAZHP_CR_SPE1_BEST_SAD_SIGNATURE 0 2604 2605 /* Register CR_SPE0_BEST_INDEX_SIGNATURE */ 2606 #define TOPAZHP_CR_SPE0_BEST_INDEX_SIGNATURE 0x0350 2607 #define MASK_TOPAZHP_CR_SPE0_BEST_INDEX_SIGNATURE 0xFFFFFFFF 2608 #define SHIFT_TOPAZHP_CR_SPE0_BEST_INDEX_SIGNATURE 0 2609 #define REGNUM_TOPAZHP_CR_SPE0_BEST_INDEX_SIGNATURE 0x0350 2610 #define SIGNED_TOPAZHP_CR_SPE0_BEST_INDEX_SIGNATURE 0 2611 2612 /* Register CR_SPE1_BEST_INDEX_SIGNATURE */ 2613 #define TOPAZHP_CR_SPE1_BEST_INDEX_SIGNATURE 0x0354 2614 #define MASK_TOPAZHP_CR_SPE1_BEST_INDEX_SIGNATURE 0xFFFFFFFF 2615 #define SHIFT_TOPAZHP_CR_SPE1_BEST_INDEX_SIGNATURE 0 2616 #define REGNUM_TOPAZHP_CR_SPE1_BEST_INDEX_SIGNATURE 0x0354 2617 #define SIGNED_TOPAZHP_CR_SPE1_BEST_INDEX_SIGNATURE 0 2618 2619 /* Register CR_SPE_INTRA_COST_SIGNATURE */ 2620 #define TOPAZHP_CR_SPE_INTRA_COST_SIGNATURE 0x0358 2621 #define MASK_TOPAZHP_CR_SPE_INTRA_COST_SIGNATURE 0xFFFFFFFF 2622 #define SHIFT_TOPAZHP_CR_SPE_INTRA_COST_SIGNATURE 0 2623 #define REGNUM_TOPAZHP_CR_SPE_INTRA_COST_SIGNATURE 0x0358 2624 #define SIGNED_TOPAZHP_CR_SPE_INTRA_COST_SIGNATURE 0 2625 2626 /* Register CR_SPE_MVD_CLIP_RANGE */ 2627 #define TOPAZHP_CR_SPE_MVD_CLIP_RANGE 0x0360 2628 #define MASK_TOPAZHP_CR_SPE_MVD_NEG_CLIP 0x00000FFF 2629 #define SHIFT_TOPAZHP_CR_SPE_MVD_NEG_CLIP 0 2630 #define REGNUM_TOPAZHP_CR_SPE_MVD_NEG_CLIP 0x0360 2631 #define SIGNED_TOPAZHP_CR_SPE_MVD_NEG_CLIP 0 2632 2633 #define MASK_TOPAZHP_CR_SPE_MVD_POS_CLIP 0x00FFF000 2634 #define SHIFT_TOPAZHP_CR_SPE_MVD_POS_CLIP 12 2635 #define REGNUM_TOPAZHP_CR_SPE_MVD_POS_CLIP 0x0360 2636 #define SIGNED_TOPAZHP_CR_SPE_MVD_POS_CLIP 0 2637 2638 #define MASK_TOPAZHP_CR_SPE_MVD_CLIP_ENABLE 0x80000000 2639 #define SHIFT_TOPAZHP_CR_SPE_MVD_CLIP_ENABLE 31 2640 #define REGNUM_TOPAZHP_CR_SPE_MVD_CLIP_ENABLE 0x0360 2641 #define SIGNED_TOPAZHP_CR_SPE_MVD_CLIP_ENABLE 0 2642 2643 /* Register CR_SPE_SUBPEL_RESOLUTION */ 2644 #define TOPAZHP_CR_SPE_SUBPEL_RESOLUTION 0x0364 2645 #define MASK_TOPAZHP_CR_SPE_SUBPEL_RESOLUTION 0x00000003 2646 #define SHIFT_TOPAZHP_CR_SPE_SUBPEL_RESOLUTION 0 2647 #define REGNUM_TOPAZHP_CR_SPE_SUBPEL_RESOLUTION 0x0364 2648 #define SIGNED_TOPAZHP_CR_SPE_SUBPEL_RESOLUTION 0 2649 2650 /* Register CR_SPE0_MV_SIZE_SIGNATURE */ 2651 #define TOPAZHP_CR_SPE0_MV_SIZE_SIGNATURE 0x0368 2652 #define MASK_TOPAZHP_CR_SPE0_MV_SIZE_SIGNATURE 0xFFFFFFFF 2653 #define SHIFT_TOPAZHP_CR_SPE0_MV_SIZE_SIGNATURE 0 2654 #define REGNUM_TOPAZHP_CR_SPE0_MV_SIZE_SIGNATURE 0x0368 2655 #define SIGNED_TOPAZHP_CR_SPE0_MV_SIZE_SIGNATURE 0 2656 2657 /* Register CR_SPE1_MV_SIZE_SIGNATURE */ 2658 #define TOPAZHP_CR_SPE1_MV_SIZE_SIGNATURE 0x036C 2659 #define MASK_TOPAZHP_CR_SPE1_MV_SIZE_SIGNATURE 0xFFFFFFFF 2660 #define SHIFT_TOPAZHP_CR_SPE1_MV_SIZE_SIGNATURE 0 2661 #define REGNUM_TOPAZHP_CR_SPE1_MV_SIZE_SIGNATURE 0x036C 2662 #define SIGNED_TOPAZHP_CR_SPE1_MV_SIZE_SIGNATURE 0 2663 2664 /* Register CR_SPE_MB_PERFORMANCE_RESULT */ 2665 #define TOPAZHP_CR_SPE_MB_PERFORMANCE_RESULT 0x0370 2666 #define MASK_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_RESULT 0x0000FFFF 2667 #define SHIFT_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_RESULT 0 2668 #define REGNUM_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_RESULT 0x0370 2669 #define SIGNED_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_RESULT 0 2670 2671 #define MASK_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_RESULT 0xFFFF0000 2672 #define SHIFT_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_RESULT 16 2673 #define REGNUM_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_RESULT 0x0370 2674 #define SIGNED_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_RESULT 0 2675 2676 /* Register CR_SPE_MB_PERFORMANCE_MB_NUMBER */ 2677 #define TOPAZHP_CR_SPE_MB_PERFORMANCE_MB_NUMBER 0x0374 2678 #define MASK_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_MB_NUMBER 0x0000FFFF 2679 #define SHIFT_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_MB_NUMBER 0 2680 #define REGNUM_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_MB_NUMBER 0x0374 2681 #define SIGNED_TOPAZHP_CR_SPE_0_MB_PERFORMANCE_MB_NUMBER 0 2682 2683 #define MASK_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_MB_NUMBER 0xFFFF0000 2684 #define SHIFT_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_MB_NUMBER 16 2685 #define REGNUM_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_MB_NUMBER 0x0374 2686 #define SIGNED_TOPAZHP_CR_SPE_1_MB_PERFORMANCE_MB_NUMBER 0 2687 2688 /* Register CR_SPE_MB_PERFORMANCE_CLEAR */ 2689 #define TOPAZHP_CR_SPE_MB_PERFORMANCE_CLEAR 0x0378 2690 #define MASK_TOPAZHP_CR_SPE_MB_PERFORMANCE_CLEAR 0x00000001 2691 #define SHIFT_TOPAZHP_CR_SPE_MB_PERFORMANCE_CLEAR 0 2692 #define REGNUM_TOPAZHP_CR_SPE_MB_PERFORMANCE_CLEAR 0x0378 2693 #define SIGNED_TOPAZHP_CR_SPE_MB_PERFORMANCE_CLEAR 0 2694 2695 /* Register CR_PC_TOTAL_COSTS_SIGNATURE */ 2696 #define TOPAZHP_CR_PC_TOTAL_COSTS_SIGNATURE 0x037C 2697 #define MASK_TOPAZHP_CR_PC_TOTAL_COSTS_SIGNATURE 0xFFFFFFFF 2698 #define SHIFT_TOPAZHP_CR_PC_TOTAL_COSTS_SIGNATURE 0 2699 #define REGNUM_TOPAZHP_CR_PC_TOTAL_COSTS_SIGNATURE 0x037C 2700 #define SIGNED_TOPAZHP_CR_PC_TOTAL_COSTS_SIGNATURE 0 2701 2702 /* Register CR_PC_INTER_REGS_SIGNATURE */ 2703 #define TOPAZHP_CR_PC_INTER_REGS_SIGNATURE 0x0380 2704 #define MASK_TOPAZHP_CR_PC_INTER_REGS_SIGNATURE 0xFFFFFFFF 2705 #define SHIFT_TOPAZHP_CR_PC_INTER_REGS_SIGNATURE 0 2706 #define REGNUM_TOPAZHP_CR_PC_INTER_REGS_SIGNATURE 0x0380 2707 #define SIGNED_TOPAZHP_CR_PC_INTER_REGS_SIGNATURE 0 2708 2709 /* Register CR_PC_INTRA_REGS_SIGNATURE */ 2710 #define TOPAZHP_CR_PC_INTRA_REGS_SIGNATURE 0x0384 2711 #define MASK_TOPAZHP_CR_PC_INTRA_REGS_SIGNATURE 0xFFFFFFFF 2712 #define SHIFT_TOPAZHP_CR_PC_INTRA_REGS_SIGNATURE 0 2713 #define REGNUM_TOPAZHP_CR_PC_INTRA_REGS_SIGNATURE 0x0384 2714 #define SIGNED_TOPAZHP_CR_PC_INTRA_REGS_SIGNATURE 0 2715 2716 /* Register CR_PC_HW_OUTPUT_SIGNATURE */ 2717 #define TOPAZHP_CR_PC_HW_OUTPUT_SIGNATURE 0x0388 2718 #define MASK_TOPAZHP_CR_PC_HW_OUTPUT_SIGNATURE 0xFFFFFFFF 2719 #define SHIFT_TOPAZHP_CR_PC_HW_OUTPUT_SIGNATURE 0 2720 #define REGNUM_TOPAZHP_CR_PC_HW_OUTPUT_SIGNATURE 0x0388 2721 #define SIGNED_TOPAZHP_CR_PC_HW_OUTPUT_SIGNATURE 0 2722 2723 /* Register CR_PC_COSTS_16X8_SIGNATURE */ 2724 #define TOPAZHP_CR_PC_COSTS_16X8_SIGNATURE 0x038C 2725 #define MASK_TOPAZHP_CR_PC_COSTS_16X8_SIGNATURE 0xFFFFFFFF 2726 #define SHIFT_TOPAZHP_CR_PC_COSTS_16X8_SIGNATURE 0 2727 #define REGNUM_TOPAZHP_CR_PC_COSTS_16X8_SIGNATURE 0x038C 2728 #define SIGNED_TOPAZHP_CR_PC_COSTS_16X8_SIGNATURE 0 2729 2730 /* Register CR_PRED_COMB_CONTROL */ 2731 #define TOPAZHP_CR_PRED_COMB_CONTROL 0x0390 2732 #define MASK_TOPAZHP_CR_INTRA4X4_DISABLE 0x00000001 2733 #define SHIFT_TOPAZHP_CR_INTRA4X4_DISABLE 0 2734 #define REGNUM_TOPAZHP_CR_INTRA4X4_DISABLE 0x0390 2735 #define SIGNED_TOPAZHP_CR_INTRA4X4_DISABLE 0 2736 2737 #define MASK_TOPAZHP_CR_INTRA8X8_DISABLE 0x00000002 2738 #define SHIFT_TOPAZHP_CR_INTRA8X8_DISABLE 1 2739 #define REGNUM_TOPAZHP_CR_INTRA8X8_DISABLE 0x0390 2740 #define SIGNED_TOPAZHP_CR_INTRA8X8_DISABLE 0 2741 2742 #define MASK_TOPAZHP_CR_INTRA16X16_DISABLE 0x00000004 2743 #define SHIFT_TOPAZHP_CR_INTRA16X16_DISABLE 2 2744 #define REGNUM_TOPAZHP_CR_INTRA16X16_DISABLE 0x0390 2745 #define SIGNED_TOPAZHP_CR_INTRA16X16_DISABLE 0 2746 2747 #define MASK_TOPAZHP_CR_INTER8X8_DISABLE 0x00000010 2748 #define SHIFT_TOPAZHP_CR_INTER8X8_DISABLE 4 2749 #define REGNUM_TOPAZHP_CR_INTER8X8_DISABLE 0x0390 2750 #define SIGNED_TOPAZHP_CR_INTER8X8_DISABLE 0 2751 2752 #define MASK_TOPAZHP_CR_B_PIC0_DISABLE 0x00000100 2753 #define SHIFT_TOPAZHP_CR_B_PIC0_DISABLE 8 2754 #define REGNUM_TOPAZHP_CR_B_PIC0_DISABLE 0x0390 2755 #define SIGNED_TOPAZHP_CR_B_PIC0_DISABLE 0 2756 2757 #define MASK_TOPAZHP_CR_B_PIC1_DISABLE 0x00000200 2758 #define SHIFT_TOPAZHP_CR_B_PIC1_DISABLE 9 2759 #define REGNUM_TOPAZHP_CR_B_PIC1_DISABLE 0x0390 2760 #define SIGNED_TOPAZHP_CR_B_PIC1_DISABLE 0 2761 2762 #define MASK_TOPAZHP_CR_INTER_INTRA_SCALE_ENABLE 0x00001000 2763 #define SHIFT_TOPAZHP_CR_INTER_INTRA_SCALE_ENABLE 12 2764 #define REGNUM_TOPAZHP_CR_INTER_INTRA_SCALE_ENABLE 0x0390 2765 #define SIGNED_TOPAZHP_CR_INTER_INTRA_SCALE_ENABLE 0 2766 2767 #define MASK_TOPAZHP_CR_CUMULATIVE_BIASES_ENABLE 0x00000800 2768 #define SHIFT_TOPAZHP_CR_CUMULATIVE_BIASES_ENABLE 11 2769 #define REGNUM_TOPAZHP_CR_CUMULATIVE_BIASES_ENABLE 0x0390 2770 #define SIGNED_TOPAZHP_CR_CUMULATIVE_BIASES_ENABLE 0 2771 2772 #define MASK_TOPAZHP_CR_SKIPPED_CODED_SCALE_ENABLE 0x00002000 2773 #define SHIFT_TOPAZHP_CR_SKIPPED_CODED_SCALE_ENABLE 13 2774 #define REGNUM_TOPAZHP_CR_SKIPPED_CODED_SCALE_ENABLE 0x0390 2775 #define SIGNED_TOPAZHP_CR_SKIPPED_CODED_SCALE_ENABLE 0 2776 2777 #define MASK_TOPAZHP_CR_INTER_INTRA_HYSTERESIS 0xFFFF0000 2778 #define SHIFT_TOPAZHP_CR_INTER_INTRA_HYSTERESIS 16 2779 #define REGNUM_TOPAZHP_CR_INTER_INTRA_HYSTERESIS 0x0390 2780 #define SIGNED_TOPAZHP_CR_INTER_INTRA_HYSTERESIS 0 2781 2782 /* Register CR_PC_COSTS_8X16_SIGNATURE */ 2783 #define TOPAZHP_CR_PC_COSTS_8X16_SIGNATURE 0x0394 2784 #define MASK_TOPAZHP_CR_PC_COSTS_8X16_SIGNATURE 0xFFFFFFFF 2785 #define SHIFT_TOPAZHP_CR_PC_COSTS_8X16_SIGNATURE 0 2786 #define REGNUM_TOPAZHP_CR_PC_COSTS_8X16_SIGNATURE 0x0394 2787 #define SIGNED_TOPAZHP_CR_PC_COSTS_8X16_SIGNATURE 0 2788 2789 /* Register CR_PC_COSTS_8X8_SIGNATURE */ 2790 #define TOPAZHP_CR_PC_COSTS_8X8_SIGNATURE 0x0398 2791 #define MASK_TOPAZHP_CR_PC_COSTS_8X8_SIGNATURE 0xFFFFFFFF 2792 #define SHIFT_TOPAZHP_CR_PC_COSTS_8X8_SIGNATURE 0 2793 #define REGNUM_TOPAZHP_CR_PC_COSTS_8X8_SIGNATURE 0x0398 2794 #define SIGNED_TOPAZHP_CR_PC_COSTS_8X8_SIGNATURE 0 2795 2796 /* Register CR_PRED_BU_STAT_UPDATE */ 2797 #define TOPAZHP_CR_PRED_BU_STAT_UPDATE 0x039C 2798 #define MASK_TOPAZHP_CR_FORCE_BU_STAT_UPDATE 0x00000001 2799 #define SHIFT_TOPAZHP_CR_FORCE_BU_STAT_UPDATE 0 2800 #define REGNUM_TOPAZHP_CR_FORCE_BU_STAT_UPDATE 0x039C 2801 #define SIGNED_TOPAZHP_CR_FORCE_BU_STAT_UPDATE 0 2802 2803 /* Register CR_BEST_INTER_BU_SAD */ 2804 #define TOPAZHP_CR_BEST_INTER_BU_SAD 0x03A0 2805 #define MASK_TOPAZHP_CR_BEST_INTER_BU_SAD 0x7FFFFFFF 2806 #define SHIFT_TOPAZHP_CR_BEST_INTER_BU_SAD 0 2807 #define REGNUM_TOPAZHP_CR_BEST_INTER_BU_SAD 0x03A0 2808 #define SIGNED_TOPAZHP_CR_BEST_INTER_BU_SAD 0 2809 2810 /* Register CR_BEST_INTER_BU_COST */ 2811 #define TOPAZHP_CR_BEST_INTER_BU_COST 0x03A4 2812 #define MASK_TOPAZHP_CR_BEST_INTER_BU_COST 0xFFFFFFFF 2813 #define SHIFT_TOPAZHP_CR_BEST_INTER_BU_COST 0 2814 #define REGNUM_TOPAZHP_CR_BEST_INTER_BU_COST 0x03A4 2815 #define SIGNED_TOPAZHP_CR_BEST_INTER_BU_COST 0 2816 2817 /* Register CR_BEST_INTRA_BU_SAD */ 2818 #define TOPAZHP_CR_BEST_INTRA_BU_SAD 0x03A8 2819 #define MASK_TOPAZHP_CR_BEST_INTRA_BU_SAD 0x7FFFFFFF 2820 #define SHIFT_TOPAZHP_CR_BEST_INTRA_BU_SAD 0 2821 #define REGNUM_TOPAZHP_CR_BEST_INTRA_BU_SAD 0x03A8 2822 #define SIGNED_TOPAZHP_CR_BEST_INTRA_BU_SAD 0 2823 2824 /* Register CR_BEST_INTRA_BU_COST */ 2825 #define TOPAZHP_CR_BEST_INTRA_BU_COST 0x03AC 2826 #define MASK_TOPAZHP_CR_BEST_INTRA_BU_COST 0xFFFFFFFF 2827 #define SHIFT_TOPAZHP_CR_BEST_INTRA_BU_COST 0 2828 #define REGNUM_TOPAZHP_CR_BEST_INTRA_BU_COST 0x03AC 2829 #define SIGNED_TOPAZHP_CR_BEST_INTRA_BU_COST 0 2830 2831 /* Register CR_PRED_COMB_DMS_SIGNATURE */ 2832 #define TOPAZHP_CR_PRED_COMB_DMS_SIGNATURE 0x03B0 2833 #define MASK_TOPAZHP_CR_PRED_COMB_DMS_SIGNATURE 0xFFFFFFFF 2834 #define SHIFT_TOPAZHP_CR_PRED_COMB_DMS_SIGNATURE 0 2835 #define REGNUM_TOPAZHP_CR_PRED_COMB_DMS_SIGNATURE 0x03B0 2836 #define SIGNED_TOPAZHP_CR_PRED_COMB_DMS_SIGNATURE 0 2837 2838 /* Register CR_PC_DMS_PERFORMANCE_CYCLES */ 2839 #define TOPAZHP_CR_PC_DMS_PERFORMANCE_CYCLES 0x03B4 2840 #define MASK_TOPAZHP_CR_PC_DMS_WORST_MB_CYCLES 0x0000FFFF 2841 #define SHIFT_TOPAZHP_CR_PC_DMS_WORST_MB_CYCLES 0 2842 #define REGNUM_TOPAZHP_CR_PC_DMS_WORST_MB_CYCLES 0x03B4 2843 #define SIGNED_TOPAZHP_CR_PC_DMS_WORST_MB_CYCLES 0 2844 2845 /* Register CR_PC_DMS_PERFORMANCE_MB_NUM */ 2846 #define TOPAZHP_CR_PC_DMS_PERFORMANCE_MB_NUM 0x03B8 2847 #define MASK_TOPAZHP_CR_PC_DMS_WORST_MB_NUM 0x0000FFFF 2848 #define SHIFT_TOPAZHP_CR_PC_DMS_WORST_MB_NUM 0 2849 #define REGNUM_TOPAZHP_CR_PC_DMS_WORST_MB_NUM 0x03B8 2850 #define SIGNED_TOPAZHP_CR_PC_DMS_WORST_MB_NUM 0 2851 2852 /* Register CR_PC_DMS_PERFORMANCE_CTRL */ 2853 #define TOPAZHP_CR_PC_DMS_PERFORMANCE_CTRL 0x03BC 2854 #define MASK_TOPAZHP_CR_PC_DMS_WORST_MB_CLEAR 0x00000001 2855 #define SHIFT_TOPAZHP_CR_PC_DMS_WORST_MB_CLEAR 0 2856 #define REGNUM_TOPAZHP_CR_PC_DMS_WORST_MB_CLEAR 0x03BC 2857 #define SIGNED_TOPAZHP_CR_PC_DMS_WORST_MB_CLEAR 0 2858 2859 #define MASK_TOPAZHP_CR_PC_DMS_DISABLE_COUNTERS 0x00000002 2860 #define SHIFT_TOPAZHP_CR_PC_DMS_DISABLE_COUNTERS 1 2861 #define REGNUM_TOPAZHP_CR_PC_DMS_DISABLE_COUNTERS 0x03BC 2862 #define SIGNED_TOPAZHP_CR_PC_DMS_DISABLE_COUNTERS 0 2863 2864 /* Register CR_PC_DM_PERFORMANCE_CYCLES */ 2865 #define TOPAZHP_CR_PC_DM_PERFORMANCE_CYCLES 0x03C0 2866 #define MASK_TOPAZHP_CR_PC_DM_WORST_MB_CYCLES 0x0000FFFF 2867 #define SHIFT_TOPAZHP_CR_PC_DM_WORST_MB_CYCLES 0 2868 #define REGNUM_TOPAZHP_CR_PC_DM_WORST_MB_CYCLES 0x03C0 2869 #define SIGNED_TOPAZHP_CR_PC_DM_WORST_MB_CYCLES 0 2870 2871 /* Register CR_PC_DM_PERFORMANCE_MB_NUM */ 2872 #define TOPAZHP_CR_PC_DM_PERFORMANCE_MB_NUM 0x03C4 2873 #define MASK_TOPAZHP_CR_PC_DM_WORST_MB_NUM 0x0000FFFF 2874 #define SHIFT_TOPAZHP_CR_PC_DM_WORST_MB_NUM 0 2875 #define REGNUM_TOPAZHP_CR_PC_DM_WORST_MB_NUM 0x03C4 2876 #define SIGNED_TOPAZHP_CR_PC_DM_WORST_MB_NUM 0 2877 2878 /* Register CR_PC_DM_PERFORMANCE_CTRL */ 2879 #define TOPAZHP_CR_PC_DM_PERFORMANCE_CTRL 0x03C8 2880 #define MASK_TOPAZHP_CR_PC_DM_WORST_MB_CLEAR 0x00000001 2881 #define SHIFT_TOPAZHP_CR_PC_DM_WORST_MB_CLEAR 0 2882 #define REGNUM_TOPAZHP_CR_PC_DM_WORST_MB_CLEAR 0x03C8 2883 #define SIGNED_TOPAZHP_CR_PC_DM_WORST_MB_CLEAR 0 2884 2885 #define MASK_TOPAZHP_CR_PC_DM_DISABLE_COUNTERS 0x00000002 2886 #define SHIFT_TOPAZHP_CR_PC_DM_DISABLE_COUNTERS 1 2887 #define REGNUM_TOPAZHP_CR_PC_DM_DISABLE_COUNTERS 0x03C8 2888 #define SIGNED_TOPAZHP_CR_PC_DM_DISABLE_COUNTERS 0 2889 2890 /* Register CR_BEST_INTER_INTRA_COUNTS */ 2891 #define TOPAZHP_CR_BEST_INTER_INTRA_COUNTS 0x03CC 2892 #define MASK_TOPAZHP_CR_BEST_INTRA_BU_COUNT 0x000000FF 2893 #define SHIFT_TOPAZHP_CR_BEST_INTRA_BU_COUNT 0 2894 #define REGNUM_TOPAZHP_CR_BEST_INTRA_BU_COUNT 0x03CC 2895 #define SIGNED_TOPAZHP_CR_BEST_INTRA_BU_COUNT 0 2896 2897 #define MASK_TOPAZHP_CR_BEST_INTER_BU_COUNT 0x0000FF00 2898 #define SHIFT_TOPAZHP_CR_BEST_INTER_BU_COUNT 8 2899 #define REGNUM_TOPAZHP_CR_BEST_INTER_BU_COUNT 0x03CC 2900 #define SIGNED_TOPAZHP_CR_BEST_INTER_BU_COUNT 0 2901 2902 /* Register CR_WEIGHTED_PRED_CONTROL */ 2903 #define TOPAZHP_CR_WEIGHTED_PRED_CONTROL 0x03D0 2904 #define MASK_TOPAZHP_CR_LOG_WD_LUMA 0x00000007 2905 #define SHIFT_TOPAZHP_CR_LOG_WD_LUMA 0 2906 #define REGNUM_TOPAZHP_CR_LOG_WD_LUMA 0x03D0 2907 #define SIGNED_TOPAZHP_CR_LOG_WD_LUMA 0 2908 2909 #define MASK_TOPAZHP_CR_LOG_WD_CHROMA 0x00000070 2910 #define SHIFT_TOPAZHP_CR_LOG_WD_CHROMA 4 2911 #define REGNUM_TOPAZHP_CR_LOG_WD_CHROMA 0x03D0 2912 #define SIGNED_TOPAZHP_CR_LOG_WD_CHROMA 0 2913 2914 #define MASK_TOPAZHP_CR_IMPLICIT_BIPRED 0x40000000 2915 #define SHIFT_TOPAZHP_CR_IMPLICIT_BIPRED 30 2916 #define REGNUM_TOPAZHP_CR_IMPLICIT_BIPRED 0x03D0 2917 #define SIGNED_TOPAZHP_CR_IMPLICIT_BIPRED 0 2918 2919 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_ENABLE 0x80000000 2920 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_ENABLE 31 2921 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_ENABLE 0x03D0 2922 #define SIGNED_TOPAZHP_CR_WEIGHTED_PRED_ENABLE 0 2923 #define TOPAZHP_CR_WEIGHTED_PRED_ENABLE_ENABLED 0x00000001 /* Weighted Prediction is enabled */ 2924 #define TOPAZHP_CR_WEIGHTED_PRED_ENABLE_DISABLED 0x00000000 /* Weighted Prediction is not enabled */ 2925 2926 /* Register CR_WEIGHTED_PRED_COEFFS_0 */ 2927 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS_0 0x03D4 2928 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_00(i) (0x000000FF << (16 + ((i) * 8))) 2929 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_00(i) (16 + ((i) * 8)) 2930 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_00(i) 0x03D4 2931 2932 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_00(i) (0x000000FF << (0 + ((i) * 8))) 2933 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_00(i) (0 + ((i) * 8)) 2934 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_00(i) 0x03D4 2935 2936 /* Register CR_WEIGHTED_PRED_COEFFS_1 */ 2937 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS_1 0x03D8 2938 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_01(i) (0x000000FF << (16 + ((i) * 8))) 2939 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_01(i) (16 + ((i) * 8)) 2940 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_01(i) 0x03D8 2941 2942 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_01(i) (0x000000FF << (0 + ((i) * 8))) 2943 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_01(i) (0 + ((i) * 8)) 2944 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_01(i) 0x03D8 2945 2946 /* Register CR_WEIGHTED_PRED_COEFFS_2 */ 2947 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS_2 0x03DC 2948 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_02(i) (0x000000FF << (16 + ((i) * 8))) 2949 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_02(i) (16 + ((i) * 8)) 2950 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_OFFSET_02(i) 0x03DC 2951 2952 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_02(i) (0x000000FF << (0 + ((i) * 8))) 2953 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_02(i) (0 + ((i) * 8)) 2954 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT_02(i) 0x03DC 2955 2956 /* Register CR_WEIGHTED_PRED_INV_WEIGHT */ 2957 #define TOPAZHP_CR_WEIGHTED_PRED_INV_WEIGHT 0x03E0 2958 #define MASK_TOPAZHP_CR_INV_LOG_WD(i) (0x00000007 << (16 + ((i) * 3))) 2959 #define SHIFT_TOPAZHP_CR_INV_LOG_WD(i) (16 + ((i) * 3)) 2960 #define REGNUM_TOPAZHP_CR_INV_LOG_WD(i) 0x03E0 2961 2962 #define MASK_TOPAZHP_CR_INV_WEIGHT(i) (0x000000FF << (0 + ((i) * 8))) 2963 #define SHIFT_TOPAZHP_CR_INV_WEIGHT(i) (0 + ((i) * 8)) 2964 #define REGNUM_TOPAZHP_CR_INV_WEIGHT(i) 0x03E0 2965 2966 /* Register CR_TOPAZHP_RSVD0 */ 2967 #define TOPAZHP_CR_TOPAZHP_RSVD0 0x03F0 2968 #define MASK_TOPAZHP_CR_TOPAZHP_RESERVED0 0xFFFFFFFF 2969 #define SHIFT_TOPAZHP_CR_TOPAZHP_RESERVED0 0 2970 #define REGNUM_TOPAZHP_CR_TOPAZHP_RESERVED0 0x03F0 2971 #define SIGNED_TOPAZHP_CR_TOPAZHP_RESERVED0 0 2972 2973 /* Register CR_TOPAZHP_CRC_CLEAR */ 2974 #define TOPAZHP_CR_TOPAZHP_CRC_CLEAR 0x03F4 2975 #define MASK_TOPAZHP_CR_IPE_CRC_CLEAR 0x00000001 2976 #define SHIFT_TOPAZHP_CR_IPE_CRC_CLEAR 0 2977 #define REGNUM_TOPAZHP_CR_IPE_CRC_CLEAR 0x03F4 2978 #define SIGNED_TOPAZHP_CR_IPE_CRC_CLEAR 0 2979 2980 #define MASK_TOPAZHP_CR_SPE_CRC_CLEAR 0x00000002 2981 #define SHIFT_TOPAZHP_CR_SPE_CRC_CLEAR 1 2982 #define REGNUM_TOPAZHP_CR_SPE_CRC_CLEAR 0x03F4 2983 #define SIGNED_TOPAZHP_CR_SPE_CRC_CLEAR 0 2984 2985 #define MASK_TOPAZHP_CR_JMCOMP_CRC_CLEAR 0x00000008 2986 #define SHIFT_TOPAZHP_CR_JMCOMP_CRC_CLEAR 3 2987 #define REGNUM_TOPAZHP_CR_JMCOMP_CRC_CLEAR 0x03F4 2988 #define SIGNED_TOPAZHP_CR_JMCOMP_CRC_CLEAR 0 2989 2990 #define MASK_TOPAZHP_CR_H264COMP_CRC_CLEAR 0x00000010 2991 #define SHIFT_TOPAZHP_CR_H264COMP_CRC_CLEAR 4 2992 #define REGNUM_TOPAZHP_CR_H264COMP_CRC_CLEAR 0x03F4 2993 #define SIGNED_TOPAZHP_CR_H264COMP_CRC_CLEAR 0 2994 2995 #define MASK_TOPAZHP_CR_DB_CRC_CLEAR 0x00000020 2996 #define SHIFT_TOPAZHP_CR_DB_CRC_CLEAR 5 2997 #define REGNUM_TOPAZHP_CR_DB_CRC_CLEAR 0x03F4 2998 #define SIGNED_TOPAZHP_CR_DB_CRC_CLEAR 0 2999 3000 #define MASK_TOPAZHP_CR_VLC_CRC_CLEAR 0x00000040 3001 #define SHIFT_TOPAZHP_CR_VLC_CRC_CLEAR 6 3002 #define REGNUM_TOPAZHP_CR_VLC_CRC_CLEAR 0x03F4 3003 #define SIGNED_TOPAZHP_CR_VLC_CRC_CLEAR 0 3004 3005 #define MASK_TOPAZHP_CR_PC_CRC_CLEAR 0x00000080 3006 #define SHIFT_TOPAZHP_CR_PC_CRC_CLEAR 7 3007 #define REGNUM_TOPAZHP_CR_PC_CRC_CLEAR 0x03F4 3008 #define SIGNED_TOPAZHP_CR_PC_CRC_CLEAR 0 3009 3010 #define MASK_TOPAZHP_CR_LRITC_CRC_CLEAR 0x00000100 3011 #define SHIFT_TOPAZHP_CR_LRITC_CRC_CLEAR 8 3012 #define REGNUM_TOPAZHP_CR_LRITC_CRC_CLEAR 0x03F4 3013 #define SIGNED_TOPAZHP_CR_LRITC_CRC_CLEAR 0 3014 3015 3016 /* Table CR_JMCOMP_LUMA_QUANTISER_TABLE */ 3017 3018 /* Register CR_JMCOMP_LUMA_QUANTISER */ 3019 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER(X) (0x0280 + (4 * (X))) 3020 #define MASK_TOPAZHP_CR_JMCOMP_LUMA_QUANT(i) (0x000000FF << (0 + ((i) * 8))) 3021 #define SHIFT_TOPAZHP_CR_JMCOMP_LUMA_QUANT(i) (0 + ((i) * 8)) 3022 #define REGNUM_TOPAZHP_CR_JMCOMP_LUMA_QUANT(X,i) (0x0280 + (4 * (X))) 3023 3024 /* Number of entries in table CR_JMCOMP_LUMA_QUANTISER_TABLE */ 3025 3026 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_TABLE_SIZE_UINT32 16 3027 #define TOPAZHP_CR_JMCOMP_LUMA_QUANTISER_TABLE_NUM_ENTRIES 16 3028 3029 3030 /* Table CR_JMCOMP_CHROMA_QUANTISER_TABLE */ 3031 3032 /* Register CR_JMCOMP_CHROMA_QUANTISER */ 3033 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER(X) (0x02C0 + (4 * (X))) 3034 #define MASK_TOPAZHP_CR_JMCOMP_CHROMA_QUANT(i) (0x000000FF << (0 + ((i) * 8))) 3035 #define SHIFT_TOPAZHP_CR_JMCOMP_CHROMA_QUANT(i) (0 + ((i) * 8)) 3036 #define REGNUM_TOPAZHP_CR_JMCOMP_CHROMA_QUANT(X,i) (0x02C0 + (4 * (X))) 3037 3038 /* Number of entries in table CR_JMCOMP_CHROMA_QUANTISER_TABLE */ 3039 3040 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_TABLE_SIZE_UINT32 16 3041 #define TOPAZHP_CR_JMCOMP_CHROMA_QUANTISER_TABLE_NUM_ENTRIES 16 3042 3043 3044 /* Table CR_WEIGHTED_PRED_COEFFS */ 3045 3046 /* Register CR_WEIGHTED_PRED_COEFFS */ 3047 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS(X) (0x03D4 + (4 * (X))) 3048 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_OFFSET(i) (0x000000FF << (16 + ((i) * 8))) 3049 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_OFFSET(i) (16 + ((i) * 8)) 3050 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_OFFSET(X,i) (0x03D4 + (4 * (X))) 3051 3052 #define MASK_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT(i) (0x000000FF << (0 + ((i) * 8))) 3053 #define SHIFT_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT(i) (0 + ((i) * 8)) 3054 #define REGNUM_TOPAZHP_CR_WEIGHTED_PRED_WEIGHT(X,i) (0x03D4 + (4 * (X))) 3055 3056 /* Number of entries in table CR_WEIGHTED_PRED_COEFFS */ 3057 3058 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS_SIZE_UINT32 3 3059 #define TOPAZHP_CR_WEIGHTED_PRED_COEFFS_NUM_ENTRIES 3 3060 3061 /* 3062 Byte range covering the group TOPAZHP_CORE file 3063 */ 3064 3065 #define TOPAZHP_TOPAZHP_CORE_REGISTERS_START 0x00000000 3066 #define TOPAZHP_TOPAZHP_CORE_REGISTERS_END 0x000003F7 3067 3068 /* 3069 Byte range covering the whole register file 3070 */ 3071 3072 #define TOPAZHP_REGISTERS_START 0x00000000 3073 #define TOPAZHP_REGISTERS_END 0x000003F7 3074 3075 #endif 3076