nt9856x/code/application/source/cardv/SrcCode/UIApp/Play/UIPlayComm.h
2023-03-28 15:07:53 +08:00

58 lines
2.1 KiB
C
Executable File

//This source code is generated by UI Designer Studio.
#ifndef UIPLAYCOMM_H
#define UIPLAYCOMM_H
#include "PlaybackTsk.h"
typedef struct {
NVT_KEY_EVENT NaviKey; // Navigation key only. NVTEVT_KEY_UP,NVTEVT_KEY_DOWN,NVTEVT_KEY_LEFT,NVTEVT_KEY_RIGHT,
UINT8 HorNums; // How many images in horizontal direction, HorNums * VerNums must <=25
UINT8 VerNums; // How many images in vertical direction, HorNums * VerNums must <=25
} BROWSE_NAVI_INFO, *PBROWSE_NAVI_INFO;
typedef enum {
PLAY_PROTECT_ONE = 0x01,
PLAY_PROTECT_ALL = 0x02,
PLAY_UNPROTECT_ONE = 0x04,
PLAY_UNPROTECT_ALL = 0x08
} PLAY_PROTECT_CMD;
#define PB_DELETE_ONE 0x01
#define PB_DELETE_ALL 0x02
#define MAX_THUMB_RECT_NUM 25
#define MAX_PLAY_BY_DATE_FILE_NUM 5000
extern URECT g_ThumbRectVideoComm[MAX_THUMB_RECT_NUM];
//#NT#2012/11/27#Scottie -begin
//#NT#Support Dual Display for PB
extern URECT g_ThumbRectVideoComm2[MAX_THUMB_RECT_NUM];
//#NT#2012/11/27#Scottie -end
extern void BrowseThumbUpdateLayout(URECT *pOSDRect, UINT32 uiThumbNum);
extern void BrowseThumbNaviKey(PBROWSE_NAVI_INFO pBrowseNavi);
extern void CloseAutoHideTimer(void);
extern void StopAutoHideTimer(void);
extern void ResetAutoHideTimer(void);
extern BOOL IsAutoHideTimer(void); //#NT#2015/08/25#KCHong
extern void ResetPlayKeySound(void);
//#NT#2011/03/30#Ben Wang -begin
//#NT#Add common key sound setting
extern void UIWndBackupKeySound(void);
extern void UIWndRestoreKeySound(void);
extern void UIWndSetActiveKeySound(UINT32 uiPressKeySound, UINT32 uiContKeySound);
//#NT#2011/03/30#Ben Wang -end
extern void ChkKeySoundComm(void);
extern void UIPlay_Protect(PLAY_PROTECT_CMD Command);
extern void UIPlay_Delete(UINT32 Command);
extern INT32 UIPlay_PlaySingle(UINT32 Command);
extern BOOL IsFileError(void);
extern BOOL IsHDMIPlugIn(void);
extern BOOL ExceedMaxPlayByDateFileNum(void);
//#NT#2011/01/31#Ben Wang -begin
//#NT#Add screen control to sync display with OSD
extern void SetVdoWinSizeForPB(UINT32 uiStartX, UINT32 uiStartY, UINT32 uiWidth, UINT32 uiHeight);
extern void UpdateVdoWinForPB(void);
//#NT#2011/01/31#Ben Wang -end
#endif