/***************************************************************************
 *     Copyright (c) 1999-2009, Broadcom Corporation
 *
 **********************************************************************
 * This file is part of the crystalhd device driver.
 *
 * This driver is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 2 of the License.
 *
 * This driver is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
 **********************************************************************
 *
 * $brcm_Workfile: bchp_decode_xfrm_0.h $
 * $brcm_Revision: Hydra_Software_Devel/1 $
 * $brcm_Date: 7/17/09 8:06p $
 *
 * Module Description:
 *                     DO NOT EDIT THIS FILE DIRECTLY
 *
 * This module was generated magically with RDB from a source description
 * file. You must edit the source file for changes to be made to this file.
 *
 *
 * Date:           Generated on         Fri Jul 17 19:42:16 2009
 *                 MD5 Checksum         2914699efc3fb3edefca5cb4f4f38b34
 *
 * Compiled with:  RDB Utility          combo_header.pl
 *                 RDB Parser           3.0
 *                 unknown              unknown
 *                 Perl Interpreter     5.008008
 *                 Operating System     linux
 *
 * Revision History:
 *
 * $brcm_Log: /magnum/basemodules/chp/70015/rdb/a0/bchp_decode_xfrm_0.h $
 * 
 * Hydra_Software_Devel/1   7/17/09 8:06p albertl
 * PR56880: Initial revision.
 *
 ***************************************************************************/

#ifndef BCHP_DECODE_XFRM_0_H__
#define BCHP_DECODE_XFRM_0_H__

/***************************************************************************
 *DECODE_XFRM_0
 ***************************************************************************/
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL          0x00800700 /* Inverse Transform Control */
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF         0x00800704 /* Inverse Transform Coefficients */
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT          0x00800708 /* Residual buffer IDs */
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM          0x0080070c /* PCM Pixel data */
#define BCHP_DECODE_XFRM_0_REG_IXFM_264_COEF_NORUN 0x00800710 /* REG_IXFM_264_COEF_NORUN */
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE     0x00800714 /* REG_IXFM_BLK_SIZE */
#define BCHP_DECODE_XFRM_0_REG_IXFM_SLICE        0x00800718 /* Slice ID */
#define BCHP_DECODE_XFRM_0_REG_IXFM_END          0x0080071c /* REG_IXFM_END */

/***************************************************************************
 *REG_IXFM_CTL - Inverse Transform Control
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_CTL :: Xfm [31:30] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Xfm_MASK                   0xc0000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Xfm_SHIFT                  30

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: Scan [29:29] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Scan_MASK                  0x20000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Scan_SHIFT                 29

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: USE_QS_TAB [28:28] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_USE_QS_TAB_MASK            0x10000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_USE_QS_TAB_SHIFT           28

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: CoefOrder_8x8 [27:27] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_CoefOrder_8x8_MASK         0x08000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_CoefOrder_8x8_SHIFT        27

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: Fld [26:26] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Fld_MASK                   0x04000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Fld_SHIFT                  26

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: Odd_ [25:25] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Odd__MASK                  0x02000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Odd__SHIFT                 25

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: Type [24:24] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Type_MASK                  0x01000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_Type_SHIFT                 24

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: reserved0 [23:23] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved0_MASK             0x00800000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved0_SHIFT            23

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: QpY [22:16] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_QpY_MASK                   0x007f0000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_QpY_SHIFT                  16

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: reserved1 [15:13] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved1_MASK             0x0000e000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved1_SHIFT            13

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: OVERLAPTXM_BIT_SHIFT [12:12] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_OVERLAPTXM_BIT_SHIFT_MASK  0x00001000
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_OVERLAPTXM_BIT_SHIFT_SHIFT 12

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: NonUniform [11:11] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_NonUniform_MASK            0x00000800
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_NonUniform_SHIFT           11

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: ACPred [10:10] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_ACPred_MASK                0x00000400
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_ACPred_SHIFT               10

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: HalfQP [09:09] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_HalfQP_MASK                0x00000200
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_HalfQP_SHIFT               9

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: TopAvail [08:08] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_TopAvail_MASK              0x00000100
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_TopAvail_SHIFT             8

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: reserved2 [07:05] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved2_MASK             0x000000e0
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_reserved2_SHIFT            5

/* DECODE_XFRM_0 :: REG_IXFM_CTL :: CBP [04:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_CBP_MASK                   0x0000001f
#define BCHP_DECODE_XFRM_0_REG_IXFM_CTL_CBP_SHIFT                  0

/***************************************************************************
 *REG_IXFM_COEF - Inverse Transform Coefficients
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_COEF :: Run0 [31:28] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Run0_MASK                 0xf0000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Run0_SHIFT                28

/* DECODE_XFRM_0 :: REG_IXFM_COEF :: Coef0 [27:16] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Coef0_MASK                0x0fff0000
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Coef0_SHIFT               16

/* DECODE_XFRM_0 :: REG_IXFM_COEF :: Run1 [15:12] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Run1_MASK                 0x0000f000
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Run1_SHIFT                12

/* DECODE_XFRM_0 :: REG_IXFM_COEF :: Coef1 [11:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Coef1_MASK                0x00000fff
#define BCHP_DECODE_XFRM_0_REG_IXFM_COEF_Coef1_SHIFT               0

/***************************************************************************
 *REG_IXFM_OUT - Residual buffer IDs
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_OUT :: reserved0 [31:16] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_reserved0_MASK             0xffff0000
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_reserved0_SHIFT            16

/* DECODE_XFRM_0 :: REG_IXFM_OUT :: Pict1 [15:08] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_Pict1_MASK                 0x0000ff00
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_Pict1_SHIFT                8

/* DECODE_XFRM_0 :: REG_IXFM_OUT :: Pict0 [07:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_Pict0_MASK                 0x000000ff
#define BCHP_DECODE_XFRM_0_REG_IXFM_OUT_Pict0_SHIFT                0

/***************************************************************************
 *REG_IXFM_PCM - PCM Pixel data
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_PCM :: Pixel0 [31:24] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel0_MASK                0xff000000
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel0_SHIFT               24

/* DECODE_XFRM_0 :: REG_IXFM_PCM :: Pixel1 [23:16] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel1_MASK                0x00ff0000
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel1_SHIFT               16

/* DECODE_XFRM_0 :: REG_IXFM_PCM :: Pixel2 [15:08] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel2_MASK                0x0000ff00
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel2_SHIFT               8

/* DECODE_XFRM_0 :: REG_IXFM_PCM :: Pixel3 [07:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel3_MASK                0x000000ff
#define BCHP_DECODE_XFRM_0_REG_IXFM_PCM_Pixel3_SHIFT               0

/***************************************************************************
 *REG_IXFM_264_COEF_NORUN - REG_IXFM_264_COEF_NORUN
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_264_COEF_NORUN :: coef1 [31:16] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_264_COEF_NORUN_coef1_MASK      0xffff0000
#define BCHP_DECODE_XFRM_0_REG_IXFM_264_COEF_NORUN_coef1_SHIFT     16

/* DECODE_XFRM_0 :: REG_IXFM_264_COEF_NORUN :: coef0 [15:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_264_COEF_NORUN_coef0_MASK      0x0000ffff
#define BCHP_DECODE_XFRM_0_REG_IXFM_264_COEF_NORUN_coef0_SHIFT     0

/***************************************************************************
 *REG_IXFM_BLK_SIZE - REG_IXFM_BLK_SIZE
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_BLK_SIZE :: reserved0 [31:03] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_reserved0_MASK        0xfffffff8
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_reserved0_SHIFT       3

/* DECODE_XFRM_0 :: REG_IXFM_BLK_SIZE :: Intra [02:02] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_Intra_MASK            0x00000004
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_Intra_SHIFT           2

/* DECODE_XFRM_0 :: REG_IXFM_BLK_SIZE :: SIZE [01:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_SIZE_MASK             0x00000003
#define BCHP_DECODE_XFRM_0_REG_IXFM_BLK_SIZE_SIZE_SHIFT            0

/***************************************************************************
 *REG_IXFM_SLICE - Slice ID
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_SLICE :: reserved0 [31:07] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_SLICE_reserved0_MASK           0xffffff80
#define BCHP_DECODE_XFRM_0_REG_IXFM_SLICE_reserved0_SHIFT          7

/* DECODE_XFRM_0 :: REG_IXFM_SLICE :: Slice_ID [06:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_SLICE_Slice_ID_MASK            0x0000007f
#define BCHP_DECODE_XFRM_0_REG_IXFM_SLICE_Slice_ID_SHIFT           0

/***************************************************************************
 *REG_IXFM_END - REG_IXFM_END
 ***************************************************************************/
/* DECODE_XFRM_0 :: REG_IXFM_END :: reserved0 [31:00] */
#define BCHP_DECODE_XFRM_0_REG_IXFM_END_reserved0_MASK             0xffffffff
#define BCHP_DECODE_XFRM_0_REG_IXFM_END_reserved0_SHIFT            0

#endif /* #ifndef BCHP_DECODE_XFRM_0_H__ */

/* End of File */
