1 /* 2 * Copyright (c) 2011 Intel Corporation. All Rights Reserved. 3 * Copyright (c) Imagination Technologies Limited, UK 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation the rights to use, copy, modify, merge, publish, 9 * distribute, sub license, and/or sell copies of the Software, and to 10 * permit persons to whom the Software is furnished to do so, subject to 11 * the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the 14 * next paragraph) shall be included in all copies or substantial portions 15 * of the Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 20 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 */ 25 26 27 /****************************************************************************** 28 29 @File msvdx_rendec_mtx_slice_cntrl_reg_io2.h 30 31 @Title MSVDX Offsets 32 33 @Platform </b>\n 34 35 @Description </b>\n This file contains the 36 MSVDX_RENDEC_MTX_SLICE_CNTRL_REG_IO2_H Defintions. 37 38 ******************************************************************************/ 39 #if !defined (__MSVDX_RENDEC_MTX_SLICE_CNTRL_REG_IO2_H__) 40 #define __MSVDX_RENDEC_MTX_SLICE_CNTRL_REG_IO2_H__ 41 42 #ifdef __cplusplus 43 extern "C" { 44 #endif 45 46 47 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_OFFSET (0x0000) 48 49 // RENDEC_SLICE_INFO SL_HDR_CK_START SL_NUM_SYMBOLS_LESS1 50 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_NUM_SYMBOLS_LESS1_MASK (0x07FF0000) 51 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_NUM_SYMBOLS_LESS1_LSBMASK (0x000007FF) 52 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_NUM_SYMBOLS_LESS1_SHIFT (16) 53 54 // RENDEC_SLICE_INFO SL_HDR_CK_START SL_ROUTING_INFO 55 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ROUTING_INFO_MASK (0x00000018) 56 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ROUTING_INFO_LSBMASK (0x00000003) 57 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ROUTING_INFO_SHIFT (3) 58 59 // RENDEC_SLICE_INFO SL_HDR_CK_START SL_ENCODING_METHOD 60 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ENCODING_METHOD_MASK (0x00000007) 61 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ENCODING_METHOD_LSBMASK (0x00000007) 62 #define RENDEC_SLICE_INFO_SL_HDR_CK_START_SL_ENCODING_METHOD_SHIFT (0) 63 64 #define RENDEC_SLICE_INFO_SL_HDR_CK_PARAMS_OFFSET (0x0004) 65 66 // RENDEC_SLICE_INFO SL_HDR_CK_PARAMS SL_DATA 67 #define RENDEC_SLICE_INFO_SL_HDR_CK_PARAMS_SL_DATA_MASK (0xFFFFFFFF) 68 #define RENDEC_SLICE_INFO_SL_HDR_CK_PARAMS_SL_DATA_LSBMASK (0xFFFFFFFF) 69 #define RENDEC_SLICE_INFO_SL_HDR_CK_PARAMS_SL_DATA_SHIFT (0) 70 71 #define RENDEC_SLICE_INFO_CK_HDR_OFFSET (0x0008) 72 73 // RENDEC_SLICE_INFO CK_HDR CK_NUM_SYMBOLS_LESS1 74 #define RENDEC_SLICE_INFO_CK_HDR_CK_NUM_SYMBOLS_LESS1_MASK (0x07FF0000) 75 #define RENDEC_SLICE_INFO_CK_HDR_CK_NUM_SYMBOLS_LESS1_LSBMASK (0x000007FF) 76 #define RENDEC_SLICE_INFO_CK_HDR_CK_NUM_SYMBOLS_LESS1_SHIFT (16) 77 78 // RENDEC_SLICE_INFO CK_HDR CK_START_ADDRESS 79 #define RENDEC_SLICE_INFO_CK_HDR_CK_START_ADDRESS_MASK (0x0000FFF0) 80 #define RENDEC_SLICE_INFO_CK_HDR_CK_START_ADDRESS_LSBMASK (0x00000FFF) 81 #define RENDEC_SLICE_INFO_CK_HDR_CK_START_ADDRESS_SHIFT (4) 82 83 // RENDEC_SLICE_INFO CK_HDR CK_ENCODING_METHOD 84 #define RENDEC_SLICE_INFO_CK_HDR_CK_ENCODING_METHOD_MASK (0x00000007) 85 #define RENDEC_SLICE_INFO_CK_HDR_CK_ENCODING_METHOD_LSBMASK (0x00000007) 86 #define RENDEC_SLICE_INFO_CK_HDR_CK_ENCODING_METHOD_SHIFT (0) 87 88 #define RENDEC_SLICE_INFO_SLICE_SEPARATOR_OFFSET (0x000C) 89 90 // RENDEC_SLICE_INFO SLICE_SEPARATOR SL_SEP_SUFFIX 91 #define RENDEC_SLICE_INFO_SLICE_SEPARATOR_SL_SEP_SUFFIX_MASK (0x00000007) 92 #define RENDEC_SLICE_INFO_SLICE_SEPARATOR_SL_SEP_SUFFIX_LSBMASK (0x00000007) 93 #define RENDEC_SLICE_INFO_SLICE_SEPARATOR_SL_SEP_SUFFIX_SHIFT (0) 94 95 #define RENDEC_SLICE_INFO_CK_GENERIC_OFFSET (0x0010) 96 97 // RENDEC_SLICE_INFO CK_GENERIC CK_HW_CODE 98 #define RENDEC_SLICE_INFO_CK_GENERIC_CK_HW_CODE_MASK (0x0000FFFF) 99 #define RENDEC_SLICE_INFO_CK_GENERIC_CK_HW_CODE_LSBMASK (0x0000FFFF) 100 #define RENDEC_SLICE_INFO_CK_GENERIC_CK_HW_CODE_SHIFT (0) 101 102 103 104 #ifdef __cplusplus 105 } 106 #endif 107 108 #endif /* __MSVDX_RENDEC_MTX_SLICE_CNTRL_REG_IO2_H__ */ 109