📄 drvmvd_cc.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 DRV_MVD_CC_H
#define DRV_MVD_CC_H
#include "DataType.h"
#ifdef DRV_MVD_CC_C
#define INTERFACE
#else
#define INTERFACE extern
#endif
/******************************************************************************/
/* Define List */
/******************************************************************************/
//----------------------------------------------------------------------------
/* MVD Command register - Command Definitions */
//----------------------------------------------------------------------------
#define CMD_SET_CCBUF_STARTHWADDR 0x20
#define CMD_SET_CCBUF_TOTALSIZE 0x21
#define CMD_SET_CCTYPE_PARSING 0x21
#define CMD_GET_CCBUF_HWADDR 0x22
#define CMD_GET_CCBUF_WRAPCOUNT 0x22
#define CMD_SET_CCBUF_SWADDR 0x23
#define CMD_GET_CCBUF_PACKETCOUNT 0x24
#define CMD_GET_OVERFLOW_STATUS 0x25
INTERFACE U32 CCMVD_RINGBUFFER_START_ADR[2];
INTERFACE U32 CCMVD_RINGBUFFER_LEN[2];
/******************************************************************************/
/* Function List */
/******************************************************************************/
INTERFACE void MDrv_CC_Init(void);
INTERFACE void MDrv_CC_CM_SetMVDRB_HWAddr(U32 u32StartAddress, BOOLEAN u8CC608);
INTERFACE void MDrv_CC_CM_SetParsingType(U8 u8Operation, U16 u16BufferSize, BOOLEAN u8CC608);
INTERFACE void MDrv_CC_CM_DisableParsing(BOOLEAN u8CC608);
INTERFACE U32 MDrv_CC_CM_GetMVDRB_HWAddr(BOOLEAN u8CC608);
//INTERFACE void MDrv_CC_CM_ResumeParsingType(void);
//INTERFACE U8 MDrv_CC_CM_GetMVDRB_WrapCount(BOOLEAN u8CC608);
INTERFACE void MDrv_CC_CM_SyncMVDRB_SWAddr2HWAddr(BOOLEAN u8CC608);
/* Polling Mode */
INTERFACE U8 MDrv_CC_CM_GetOverflowStatus(BOOLEAN u8CC608);
INTERFACE void MDrv_CC_CM_SetMVDRB_SWAddr(U32 u32ReadAddress, BOOLEAN u8CC608);
INTERFACE U32 MDrv_CC_PM_GetMVDRB_WriteAddr(BOOLEAN u8CC608);
INTERFACE U32 MDrv_CC_PM_GetMVDRB_ReadAddr(BOOLEAN u8CC608);
INTERFACE void MDrv_CC_PM_SetMVDRB_ReadAddr(U32 u32EachPacketSize, BOOLEAN u8CC608);
INTERFACE BOOLEAN MDrv_CC_CM_GetMVDDecodeStatus(void);
#undef INTERFACE
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -