nt9856x/code/application/source/cardv/SrcCode/UIWnd/ALEXA/UIInfo/UIMovieMapping.h
2023-03-28 15:07:53 +08:00

50 lines
2.4 KiB
C
Executable File

#ifndef MOVIE_MAPPING_H
#define MOVIE_MAPPING_H
typedef enum _MOVIE_REC_TYPE {
MOVIE_REC_TYPE_UNKNOWN,
MOVIE_REC_TYPE_FRONT,
MOVIE_REC_TYPE_BEHIND,
MOVIE_REC_TYPE_DUAL,
MOVIE_REC_TYPE_CLONE,
} MOVIE_REC_TYPE;
extern UINT32 GetMovieFrameRate(UINT32 uiIndex);
extern void SetMovieTargetBitrate(UINT32 uiType, UINT32 uiSize, UINT32 uiBitRate);
extern UINT32 GetMovieSizeRatio(UINT32 ubIndex);
extern UINT32 GetMovieAudioVolumeValue(UINT32 uiIndex);
extern UINT32 Get_MovieTimeLapseValue(UINT32 uhIndex);
extern UINT32 GetMovieSizeWidth_2p(UINT32 uiPath, UINT32 uiIndex);
extern UINT32 GetMovieSizeHeight_2p(UINT32 uiPath, UINT32 uiIndex);
extern UINT32 GetMovieFrameRate_2p(UINT32 uiPath, UINT32 uiIndex);
extern UINT32 GetMovieTargetBitrate_2p(UINT32 uiPath, UINT32 uiIndex);
extern UINT32 GetMovieDispAspectRatio_2p(UINT32 uiPath, UINT32 uiIndex);
extern MOVIE_REC_TYPE GetMovieRecType_2p(UINT32 uiIndex);
extern UINT32 GetMovieVidEncFmt_2p(UINT32 uiPath);
extern UINT32 CheckWiFiMapTbl(void);
// main movie
extern UINT32 MovieMapping_GetRecType(UINT32 uiSizeIdx);
extern UINT32 MovieMapping_GetWidth(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetHeight(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetFrameRate(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetTargetBitrate(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetDispAspectRatio(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetImageRatio(UINT32 uiSizeIdx, UINT32 uiIplId);
extern void MovieMapping_GetAqInfo(UINT32 uiSizeIdx, UINT32 uiIplId, UINT32 Value);
extern void MovieMapping_GetCbrInfo(UINT32 uiSizeIdx, UINT32 uiIplId, UINT32 Value);
// clone movie
extern UINT32 MovieMapping_GetCloneWidth(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetCloneHeight(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetCloneFrameRate(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetCloneTargetBitrate(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetCloneDispAspectRatio(UINT32 uiSizeIdx, UINT32 uiIplId);
extern UINT32 MovieMapping_GetCloneImageRatio(UINT32 uiSizeIdx, UINT32 uiIplId);
extern void MovieMapping_GetCloneAqInfo(UINT32 uiSizeIdx, UINT32 uiIplId, UINT32 Value);
extern void MovieMapping_GetCloneCbrInfo(UINT32 uiSizeIdx, UINT32 uiIplId, UINT32 Value);
// WiFi/UVC streaming
extern void MovieMapping_GetStreamInfo(UINT32 uiSizeIdx, UINT32 Value);
#endif