📄 tidtv_avinput.h
字号:
/*******************************************************************************
* @ModuleName :: TiDTV_AvInput.h
*
* @Copyright :: Copyright 2005- Texas Instruments, Inc.
*
* @Description :: Constants and definitions for AV Input Handling Task
*
* @History ::
*---------------------------------------
* 03-15-2005 W.Shi Created
*******************************************************************************/
#ifndef _TI_DTV_AV_INPUT_H_
#define _TI_DTV_AV_INPUT_H_
// the incoming video stream information
typedef struct _TI_DTV_PICTURE_INF_ {
ULONG Width; // # of pixels width of incoming video
ULONG Height; // # of lines height of incoming video
ULONG AspectRatio; // Aspect ratio of incoming video
ULONG ProgressiveFlag; // Progressive (1) or Interlaced video
ULONG FrameRate; // Frame Rate of incoming video
} TI_DTV_PICTURE_INF;
// the Display (output video) information
typedef struct _TI_DTV_DISPLAY_INF_ {
UCHAR PanelSize; // the flag of Panel Size: 480i/480p/720p/1080i/WVGA/WXGA/1080p
USHORT Width; // # of pixels width of the Display
USHORT Height; // # of lines height of the Display
UCHAR AspectRatio; // Aspect ratio of the Display
UCHAR ProgressiveFlag; // Progressive (1) or Interlaced of the Display
} TI_DTV_DISPLAY_INF;
//------------------------------------------------------------
// Defined in "TiDTV_AvInit.c"
//
extern TI_DTV_PICTURE_INF TiDTV_PictureInf;
extern TI_DTV_DISPLAY_INF TiDTV_DisplayInf;
void TiDTV_InitTPP(void);
void TiDTV_InitAudio(void);
void TiDTV_InitVideo(void);
void TiDTV_VideoConfig(void);
int TiDTV_EnableVideoAudio(USHORT VideoPID, USHORT AudioPID, USHORT PcrPID);
int TiDTV_DisableCurVideoAudio(void);
//------------------------------------------------------------
// Defined in "TiDTV_AvInput.c"
//
void TiDTV_AutoTvChanScanTask(void *pArg);
void TiDTV_AutoTvChanScanTaskStartup(int ScanFlag);
void TiDTV_AutoTvChanScanTaskCleanup(void);
int TiDTV_CheckAutoTvChanScanTaskStatus(void);
void TiDTV_TvChanUp(void);
void TiDTV_TvChanDown(void);
int TiDTV_GetProgIndexViaMajorChanNo(UINT16 MajorChanNo);
#endif /* _TI_DTV_AV_INPUT_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -