msdlc.h

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

H
55
字号

#ifndef __MSDLC_H
#define __MSDLC_H



#ifdef DRV_DLC_C
#define INTERFACE
#else
#define INTERFACE extern 
#endif
#include "board.h"


#if( ENABLE_DLC )

//------------------------------------------------------------------------
// Input:
//      wWidth: Output image Width
//      wHeight: Output iamge Height
//------------------------------------------------------------------------
INTERFACE void msDlcInit(U16 data wWidth, U16 data  wHeight);

//------------------------------------------------------------------------
// The value of Strength is small, and the effect is strong!
// Lstrength :  50(strong)   <------------>   170 (weak) ; default = 120
// Hstrength:   50(strong)   <------------>   200 (weak) ; default = 100
// **This function must called after msDlcInit()
//------------------------------------------------------------------------
INTERFACE void msSetDlcStrength(U8 data  ucLowStrength, U8 data ucHighStrenght);

//------------------------------------------------------------------------
// Put this function at main loop
// This function will use 33ms for 5xxx/6xxx version chip
// This function will use 22ms for 5xxxA/6xxxA version chip
//------------------------------------------------------------------------
INTERFACE void msDlcHandler(void);

//------------------------------------------------------------------------
// Input:
//      bWindow: 0 main window, 1 sub window
//      bSwitch: 0 is OFF, 1 is ON
//------------------------------------------------------------------------
INTERFACE void msDlcOnOff(BOOLEAN  data    bSwitch);

// Default luma curve
INTERFACE  U8 data g_ucLumaCurve[16];

#endif // End of ENABLE_DLC

#undef INTERFACE


#endif

⌨️ 快捷键说明

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