drvdlc.h

来自「mstar 776 开发的车载dvd」· C头文件 代码 · 共 64 行

H
64
字号
////////////////////////////////////////////////////////////////////////////////
//
// 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_DLC_H
#define DRV_DLC_H


#include "DataType.h"
#include "Analog_Reg.h"
#include "drvGlobal.h"

#ifdef DRV_DLC_C
#define INTERFACE
#else
#define INTERFACE extern
#endif

INTERFACE U8 g_ucLumaCurve[16];

INTERFACE U8 g_u8_L_L_U;
INTERFACE U8 g_u8_L_L_D;
INTERFACE U8 g_u8_L_H_U;
INTERFACE U8 g_u8_L_H_D;

INTERFACE U8 g_u8_S_L_U;
INTERFACE U8 g_u8_S_L_D;
INTERFACE U8 g_u8_S_H_U;
INTERFACE U8 g_u8_S_H_D;

INTERFACE U8 MDrv_DLC_GetVersion();
INTERFACE void MDrv_DLC_Init (U16 wWidth, U16 wHeight, U8* pInitLumaCurve);
INTERFACE void MDrv_DLC_SetOnOff(BOOLEAN bSwitch);
INTERFACE void MDrv_DLC_Handler(void);
INTERFACE void MDrv_DLC_SetDlcStrength(U8 u8LowStrength, U8 u8HighStrenght);
INTERFACE U16 MDrv_DLC_GetHistogram(U8 u8Index);
INTERFACE void MDrv_DLC_GetHistogramEx(U16* pu16Histogram);
INTERFACE BOOLEAN MDrv_DLC_DataReady(void);
INTERFACE void MDrv_DLC_DataRequest(void);
INTERFACE void MDrv_DLC_SetLumaCurve(U8* pInitLumaCurve);
INTERFACE U8 MDrv_DLC_GetMinimumValue(void);
INTERFACE U8 MDrv_DLC_GetMaximumValue(void);
INTERFACE U8 MDrv_DLC_GetAverageValue(void);
INTERFACE void MDrv_DLC_SetVarHistogramRange(U8* pRangeArray);
INTERFACE void MDrv_DLC_EnableVariableRange(BOOLEAN bEnable);

#undef INTERFACE

#endif // DRV_DLC_H

⌨️ 快捷键说明

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