📄 msapi_dlc.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.
//
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
/// @file msAPI_DLC.h
/// @brief API for DLC control
/// @author MStar Semiconductor, Inc.
//
////////////////////////////////////////////////////////////////////////////////
#ifndef MSAPI_DLC_H
#define MSAPI_DLC_H
#include "DataType.h"
/******************************************************************************/
/* Macro */
/* ****************************************************************************/
//*************************************************************************
// Enums
//*************************************************************************
//*************************************************************************
// Structures
//*************************************************************************
#ifdef MSAPI_DLC_C
#define INTERFACE
#else
#define INTERFACE extern
#endif
/********************************************************************************/
/* Function Prototypes */
/********************************************************************************/
/******************************************************************************/
///-This function will turn on/off DLC
///@param bSwitch:
///- 1: turn on DLC
///- 0: turn off DLCl
/******************************************************************************/
INTERFACE void msAPI_DLC_SetOnOff ( BOOLEAN bSwitch );
/******************************************************************************/
///-This function will calculate the handle of DLC
/******************************************************************************/
INTERFACE void msAPI_DLC_Handler ( void );
/******************************************************************************/
///-Get the histogram
///@param u8Index: index of histogram array
/******************************************************************************/
INTERFACE U16 msAPI_DLC_GetHistogram(U8 u8Index);
/******************************************************************************/
///-Calculate the average of histogram
///@return
///- average of histogram
/******************************************************************************/
INTERFACE U8 msAPI_DLC_CalArvHistogram( void );
#undef INTERFACE
#endif /* MSAPI_DLC_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -