framesync.h

来自「realtek LCD monitor, TV开发源代码」· C头文件 代码 · 共 64 行

H
64
字号
//**********************************************************************************************************
//  The  Software  is  proprietary,  confidential,  and  valuable to Realtek Semiconductor
//  Corporation  ("Realtek").  All  rights, including but not limited  to  copyrights,
//  patents,  trademarks, trade secrets, mask work rights, and other similar rights and interests,
//  are reserved to Realtek. Without  prior  written  consent  from  Realtek,  copying, reproduction,
//  modification,  distribution,  or  otherwise  is strictly prohibited. The Software  shall  be
//  kept  strictly  in  confidence,  and  shall  not be  disclosed to or otherwise accessed by
//  any third party. @ <2003> - <2008>   The Software is provided "AS IS" without any warranty of any kind,
//  express, implied, statutory or otherwise.
//**********************************************************************************************************
//----------------------------------------------------------------------------------------------------
// ID Code      : FrameSync.h No.0000
// Update Note  :
//----------------------------------------------------------------------------------------------------

//--------------------------------------------------
// Offset_Step is the DCLK frequency step for searching frame-sync.
//--------------------------------------------------
#define _OFFSET_STEP    24
#define _SEARCH_TIME    24


//----------------------------------------------------------------------------------------------------

#ifdef __FRAMESYNC__

//--------------------------------------------------
// Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Function Prototypes
//--------------------------------------------------
bit CFrameSyncDetect(void);
bit CFrameSyncLastLineFinetune(WORD *pDelta);
BYTE CFrameSyncSpreadSpectrumFinetune(WORD *pDelta);
WORD CFrameSyncFastDo(void);
bit CFrameSyncTestSync(WORD usOffset);
BYTE CFrameSyncDo(void);
void CFrameSyncModifyDVStartPos(bit enable);
void CFrameSyncFineTune(bit field);

#else

//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Extern Function Prototypes
//--------------------------------------------------
extern bit CFrameSyncDetect(void);
extern BYTE CFrameSyncDo(void);
extern void CFrameSyncModifyDVStartPos(bit enable);
extern void CFrameSyncFineTune(bit field);

#endif // End of #ifdef __FRAMESYNC__



//----------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

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