#ifndef _DTV_COMMON_H_ #define _DTV_COMMON_H_ /*************Deumx Type********************/ #define TS_DEMUX_TYPE_NONE 0 #define TS_DEMUX_TYPE_PES_VIDEO 1 #define TS_DEMUX_TYPE_PES_AUDIO 2 #define TS_DEMUX_TYPE_PES_SP 3 #define TS_DEMUX_TYPE_PES_TT 4 #define TS_DEMUX_TYPE_ERROR 5 #define TS_DEMUX_TYPE_DVB_EIT 6 #define TS_DEMUX_TYPE_DVB_SDT 7 #define TS_DEMUX_TYPE_PSIP_MGT 8 #define TS_DEMUX_TYPE_PSIP_STT 9 #define TS_DEMUX_TYPE_PSIP_EAM 10 #define TS_DEMUX_TYPE_PSI_TDT 11 #define TS_DEMUX_TYPE_PSI_TOT 12 #define TS_DEMUX_TYPE_PSI_MULTI_PMT 13 #define TS_DEMUX_TYPE_OB_SI 14 // only for OceanBlue #define TS_DEMUX_TYPE_PES_DATA 15 #define TS_DEMUX_TYPE_PES_ADAUDIO 16 #define TS_DEMUX_TYPE_TS_RECORD 17 #define TS_DEMUX_TYPE_TS_PLAY 18 #define TS_DEMUX_TYPE_DVB_NIT 19 #define TS_DEMUX_TYPE_PSI_EIT26 20 #define TS_DEMUX_TYPE_PSI_EIT27 21 #define TS_DEMUX_TYPE_SSU 22 #define TS_DEMUX_TYPE_SSU2 23 #define TS_DEMUX_TYPE_PSI 24 #define TS_DEMUX_TYPE_EWS_AUDIO 25 /*************Stream Type********************/ //==========Video Stream Type==========// #define Video_MPEG1 0x01 #define Video_MPEG2 0x02 #define Video_DCII 0x80 #define Video_AVS 0x42 #define Video_H264 0x1B #define Video_HEVC 0x24 //==========Audio Stream Type==========// typedef enum _DTV_AUDIO_TYPE { Audio_MPEG1, //stream type 0x03 Audio_MPEG2, //stream type 0x04 Audio_MPEG2_AAC, //stream type 0x0f AAC ADTS format Audio_MPEG4, //stream type 0x11, AAC LATM format Audio_AC3, //stream type 0x81 or stream type 0x06 with AC3 descriptor Audio_EAC3, //stream type 0x87 or stream type 0x06 with EAC3 descriptor Audio_DRA, //stream type 0x06 with dra descriptor or the format_identifier in Rrgistration descriptor is 0x44524131("DRA1") }DTV_AUDIO_TYPE; #define Audio_LPCM 0x00 #define PrivateData 0x06 #define DTV_Subtitle 0xF1 #define DTV_TeleText 0xF2 #define DTV_SI 0xFF /***********Picture Type***********************/ #define I_TYPE 0x1 #define P_TYPE 0x2 #define B_TYPE 0x3 #define S_TYPE 0x4 #endif /* _DTV_COMMON_H_ */