www.pudn.com > tvctrl.rar > dtvtuner.h
#ifndef _DTVTUNER_H_
#define _DTVTUNER_H_
#define FI1256_BAND_VHFL 1
#define FI1256_BAND_VHFH 2
#define FI1256_BAND_UHF 3
#define DTV_QAM_16 1
#define DTV_QAM_32 2
#define DTV_QAM_64 4
#define DTV_QAM_128 8
#define DTV_QAM_256 16
#define DTV_DVB_START_FREQ_KHZ 40000
#define DTV_DVB_END_FREQ_KHZ 900000
#define DTV_DVB_STAND_SYMBRATE 6875000
#define DTV_DVB_COMMUSE_QAM DTV_QAM_64
#define DTV_AUDIOTYPE_MPEG1 0x0001
#define DTV_AUDIOTYPE_MPEG2 0x0002
#define DTV_AUDIOTYPE_AC3 0x0003
#define DTV_AUDIOTYPE_PCM 0x0004
typedef struct tagDTVSpecial
{
int freq; //频率
int modulType; //调制类型(QAM、RTSK...)
int modulParm; //调制相关参数(AUTO、QAM16、QAM32、QAM64...)
int symbRate; //符号率
int otherParm; //其它相关参数
}DTVSpecial,*PDTVSpecial;
typedef struct tagDTVChannelInfo
{
int tvid; //频道名称索引
int freq; //频率
int modulType; //调制类型
int modulParm; //调制相关参数
int symbRate; //符号率
int otherParm; //其它相关参数
int PCR_PID; //PCR相关的PID
int videoPid; //视频PID
int audioPid1; //音频PID
int audioType1; //音频类型
int audioPid2; //音频PID
int audioType2; //音频类型
}DTVChannelInfo, *PDTVChannelInfo;
#endif /* end #ifndef _ATVTUNER_H_ */