⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compat.h

📁 mstar 776 开发的车载dvd
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _CHIP_COMPAT_H_
#define _CHIP_COMPAT_H_

// For source level compatibility

#include "datatype.h"
//#include "bond.h"
#include "board.h"  // kevin 071023_3
#include "hwreg.h"

#define DEVICE_ID_MAJOR             XBYTE[REG_DEVICE_ID_MAJOR]
#define DEVICE_ID_MINOR             XBYTE[REG_DEVICE_ID_MINOR]
#define CHIP_VERSION                XBYTE[REG_CHIP_VERSION]
#define CHIP_REVISION               XBYTE[REG_CHIP_REVISION]

//----------------------------------------------------------------------------
// DMA CRC16
//----------------------------------------------------------------------------
#define CHIP_HAS_DMA_CRC16      0

//----------------------------------------------------------------------------
// Scalar line buffer size
//----------------------------------------------------------------------------
    #define SC_LINE_BUFFER_SIZE 1440UL

//----------------------------------------------------------------------------
// Scalar DNR write limit type
//----------------------------------------------------------------------------

#define SC_W_LIMIT_NONE         0
#define SC_W_LIMIT_UNIT_16BYTE  1   // unit: 16byte
#define SC_W_LIMIT_UNIT_64BYTE  2   // unit: 64byte and one unit overrun

#define SC_W_LIMIT_TYPE     SC_W_LIMIT_UNIT_64BYTE

//----------------------------------------------------------------------------
// Scalar VOP gamma table (LUT RAM) bits
//----------------------------------------------------------------------------

#define SC_GAMMA_LUT_10BIT      0
#define SC_GAMMA_LUT_12BIT      1

#define SC_GAMMA_LUT_TYPE   SC_GAMMA_LUT_10BIT

#endif /* _CHIP_COMPAT_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -