| 1 | #if !defined (_DDDISP_H_) |
|---|
| 2 | #define _DDDISP_H_ |
|---|
| 3 | |
|---|
| 4 | #if defined __cplusplus |
|---|
| 5 | extern "C" { |
|---|
| 6 | #endif |
|---|
| 7 | |
|---|
| 8 | ////////////////////////////////////////////////////////////////////////////////////// |
|---|
| 9 | // General Parameter Functions |
|---|
| 10 | ////////////////////////////////////////////////////////////////////////////////////// |
|---|
| 11 | DHL_RESULT DD_DISP_ChangeVideoFormat(DHL_VIDEO_FORMAT UserVidFormat); |
|---|
| 12 | |
|---|
| 13 | #if !MUTE_DEBUG |
|---|
| 14 | DHL_RESULT DD_DISP_VideoMute(DS_BOOL uMute); |
|---|
| 15 | #else |
|---|
| 16 | DHL_RESULT DD_DISP_VideoMute_Internal(DS_BOOL uMute, const char *fname, int line); |
|---|
| 17 | #define DD_DISP_VideoMute(x) DD_DISP_VideoMute_Internal((x),__FUNCTION__,__LINE__) |
|---|
| 18 | #endif |
|---|
| 19 | DHL_RESULT DD_DISP_SetVideoMuteColor(DS_U8 Red, DS_U8 Green, DS_U8 Blue); |
|---|
| 20 | DHL_RESULT DD_DISP_VideoMutePIP(DS_BOOL uMute); |
|---|
| 21 | DHL_RESULT DD_DISP_VideoMuteCVBS(DS_BOOL uMute); |
|---|
| 22 | |
|---|
| 23 | DHL_RESULT DD_DISP_InitAuxCC(void); |
|---|
| 24 | DHL_RESULT DD_DISP_EnableAuxCC(int Enable); |
|---|
| 25 | DHL_RESULT DD_DISP_EmbedCC(int nField, DS_U32 data0, DS_U32 data1); |
|---|
| 26 | |
|---|
| 27 | DHL_RESULT DD_DISP_GetPanelPowerStatus(void); |
|---|
| 28 | DHL_RESULT DD_DISP_GetBacklightOnOffStatus(void); |
|---|
| 29 | DHL_RESULT DD_DISP_GetDimmingDelay(DS_BOOL onoff,DS_S32 *Delay,DS_S32 *Delay2); |
|---|
| 30 | |
|---|
| 31 | DHL_RESULT DD_DISP_SetLCDBacklight(DS_U16 uiDeg); |
|---|
| 32 | DHL_RESULT DD_DISP_SetPanelPower( DS_BOOL OnOff ); |
|---|
| 33 | |
|---|
| 34 | void DD_DISP_SetLVDSClockFreq(int Offset); |
|---|
| 35 | void DD_DISP_SetLVDSClockPhase(int Offset); |
|---|
| 36 | int DD_DISP_GetLVDSClockFreq(void); |
|---|
| 37 | int DD_DISP_GetLVDSClockPhase(void); |
|---|
| 38 | |
|---|
| 39 | DHL_RESULT DD_DISP_SetPIPStyle(DHL_PIPMode_t PipMode, DHL_PIP_t PipLocation); |
|---|
| 40 | DHL_RESULT DD_DISP_SetPIPLocation(DHL_PIP_t PipLocation); |
|---|
| 41 | DHL_RESULT DD_DISP_SetAspectRatio(int Aspect); |
|---|
| 42 | |
|---|
| 43 | DHL_RESULT DD_DISP_SetSideColorEnable(int En); |
|---|
| 44 | DHL_RESULT DD_DISP_GetSideColorEnable(int *pEn); |
|---|
| 45 | DHL_RESULT DD_DISP_SetSideColor(DS_U8 R, DS_U8 G, DS_U8 B); |
|---|
| 46 | DHL_RESULT DD_DISP_GetSideColor(DS_U8 *pR, DS_U8 *pG, DS_U8 *pB); |
|---|
| 47 | |
|---|
| 48 | #if defined __cplusplus |
|---|
| 49 | } |
|---|
| 50 | #endif |
|---|
| 51 | |
|---|
| 52 | #endif |
|---|