📄 disp_api.h
字号:
#ifndef _DISP_API_H_
#define _DISP_API_H_
#define PTM_V_SYNC_60 1500 /* 90000/60 */
#define PTM_V_SYNC_5994 1501 /* 90000/(60*1000/1001) */
#define PTM_V_SYNC_50 1800 /* 90000/50 */
/* AV sync threshold offset
If it gets larger, video will be displayed earlier than audio */
#if _USE_DYNAMIC_AV_SYNC
#define DEFAULT_DISP_AV_SYNC_OFFSET 9000
#define DEFAULT_DISP_AV_SYNC_STEP 900
#define MAX_DISP_AV_SYNC_OFFSET 19000
#define MIN_DISP_AV_SYNC_OFFSET 1000
extern SINT gDisp_AVSyncOffset;
#define DISP_AV_SYNC_OFFSET gDisp_AVSyncOffset
#else
#define DISP_AV_SYNC_OFFSET 9000
#endif
typedef enum {
PLAY_PREINIT,
PLAY_PRESTOP,
PLAY_STOP,
PLAY_PREPARE,
PLAY_FIRST, /* First video available, wait for field ID matching */
PLAY_NORMAL,
PLAY_END /* After last video is ordered, before stop is called */
} DISP_PlayState_et;
VOID iDISP_PreInit(VOID);
VOID iDISP_DeInit(VOID);
VOID iDISP_Play(VOID);
VOID iDISP_PlayMem(VOID);
VOID iDISP_Stop(VOID);
VOID iDISP_SetStartPts(GenPtm_st *pStart_pts);
VOID iDISP_SetCurrentPtm(GenPtm_st *pPtm);
BOOL iDISP_GetCurrentPtm(GenPtm_st *pPtm);
BOOL iDISP_GetRefVideoPtm(GenPtm_st *pPtm);
BOOL iDISP_extAudioBufferUnderrun(VOID);
BM_FILLEDLIST * iDISP_GetInputFilledList(VOID);
DISP_PlayState_et iDISP_GetPlayState(VOID);
BM_NODE * iDISP_GetCurVideoFrame(VOID);
VOID iDISP_FreeCurVideoFrame(VOID);
#if _3FRAME_ON
VOID iDISP_RequestBpicRelease(VOID);
#endif
S5H_VideoInputStreamFormat_t iDISP_GetInputStreamFormat(VOID);
VOID iDISP_StartTrickPlay(VOID);
SSHORT iDISP_GetPsOffsetFromStream(VOID);
BOOL iDISP_IsProgFrame(VOID);
UINT iDISP_GetCurrentVideoLba(VOID);
VOID iDISP_SetCurrentVideoLba(UINT offset); /*Jiangshanbin 060104*/
VOID iDISP_SetAudioReady(VOID);
FieldRateConv_t iDISP_GetFieldRateConvInfo(VOID);
VOID iDISP_ClearLogoDisplayed(VOID);
BOOL iDISP_IsLogoDisplayed(VOID);
BOOL iDISP_GetCurVideoStill(VOID);
VOID iDISP_SetAudioOnlyStream(VOID);
VOID iDISP_StartAudioStreamChange(VOID);
BOOL iDISP_AudioChangeAllowed(VOID);
VOID iDISP_ResetPtmIncrease(VOID);
#if _USE_REAL_INTERLACE
VOID iDISP_SwitchVpModeInZoom(UINT src_vert_size);
#endif
#if _USE_REAL_INTERLACE
BOOL iDISP_NeedSwitchToBob(UINT src_vert_size);
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -