#include <mpegtables.h>
This is used by the Program Map Table (PMT), and often used by other tables, such as the DVB SDT table.
Definition at line 91 of file mpegtables.h.
Public Types | |
| enum | { MPEG1Video = 0x01, MPEG2Video = 0x02, MPEG4Video = 0x10, H264Video = 0x1b, OpenCableVideo = 0x80, MPEG1Audio = 0x03, MPEG2Audio = 0x04, MPEG2AudioAmd1 = 0x11, AACAudio = 0x0f, AC3Audio = 0x81, DTSAudio = 0x8a, DSMCC = 0x08, DSMCC_A = 0x0a, DSMCC_B = 0x0b, DSMCC_C = 0x0c, DSMCC_D = 0x0d, DSMCC_DL = 0x14, MetaDataPES = 0x15, MetaDataSec = 0x16, MetaDataDC = 0x17, MetaDataOC = 0x18, MetaDataDL = 0x19, PrivSec = 0x05, PrivData = 0x06, MHEG = 0x07, H222_1 = 0x09, MPEG2Aux = 0x0e, FlexMuxPES = 0x12, FlexMuxSec = 0x13, MPEG2IPMP = 0x1a, MPEG2IPMP2 = 0x7f, AnyMask = 0xFFFF0000, AnyVideo = 0xFFFF0001, AnyAudio = 0xFFFF0002 } |
Static Public Member Functions | |
| static bool | IsVideo (uint type) |
| Returns true iff video is an MPEG1/2/3, H264 or open cable video stream. | |
| static bool | IsAudio (uint type) |
| Returns true iff audio is MPEG1/2, AAC, AC3 or DTS audio stream. | |
| static bool | IsObjectCarousel (uint type) |
| Returns true iff stream contains DSMCC Object Carousel. | |
| static uint | Normalize (uint stream_id, const desc_list_t &desc, const QString &sistandard) |
| static const char * | toString (uint streamID) |
| anonymous enum |
| MPEG1Video | ISO 11172-2 (aka MPEG-1). |
| MPEG2Video | ISO 13818-2 & ITU H.262 (aka MPEG-2). |
| MPEG4Video | ISO 14492-2 (aka MPEG-4). |
| H264Video | ISO 14492-10 & ITU H.264 (aka MPEG-4-AVC). |
| OpenCableVideo | |
| MPEG1Audio | ISO 11172-3. |
| MPEG2Audio | ISO 13818-3. |
| MPEG2AudioAmd1 | ISO 13818-3/AMD-1 Audio using LATM syntax. |
| AACAudio | ISO 13818-7 Audio w/ADTS syntax. |
| AC3Audio | |
| DTSAudio | |
| DSMCC | ISO 13818-1 Annex A DSM-CC & ITU H.222.0. |
| DSMCC_A | ISO 13818-6 type A Multi-protocol Encap. |
| DSMCC_B | ISO 13818-6 type B Std DSMCC Data. |
| DSMCC_C | ISO 13818-6 type C NPT DSMCC Data. |
| DSMCC_D | ISO 13818-6 type D Any DSMCC Data. |
| DSMCC_DL | ISO 13818-6 Download Protocol. |
| MetaDataPES | Meta data in PES packets. |
| MetaDataSec | Meta data in metadata_section's. |
| MetaDataDC | ISO 13818-6 Metadata in Data Carousel. |
| MetaDataOC | ISO 13818-6 Metadata in Object Carousel. |
| MetaDataDL | ISO 13818-6 Metadata in Download Protocol. |
| PrivSec | ISO 13818-1 private tables & ITU H.222.0. |
| PrivData | ISO 13818-1 PES private data & ITU H.222.0. |
| MHEG | ISO 13522 MHEG. |
| H222_1 | ITU H.222.1. |
| MPEG2Aux | ISO 13818-1 auxiliary & ITU H.222.0. |
| FlexMuxPES | ISO 14496-1 SL/FlexMux in PES packets. |
| FlexMuxSec | ISO 14496-1 SL/FlexMux in 14496_sections. |
| MPEG2IPMP | ISO 13818-10 Digital Restrictions Mangment. |
| MPEG2IPMP2 | ISO 13818-10 Digital Restrictions Mangment. |
| AnyMask | |
| AnyVideo | |
| AnyAudio |
Definition at line 94 of file mpegtables.h.
Returns true iff video is an MPEG1/2/3, H264 or open cable video stream.
Definition at line 145 of file mpegtables.h.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), ProgramMapTable::IsVideo(), IPTVRecorder::ProcessTSPacket(), and HDHRRecorder::ProcessTSPacket().
Returns true iff audio is MPEG1/2, AAC, AC3 or DTS audio stream.
Definition at line 154 of file mpegtables.h.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), and ProgramMapTable::IsAudio().
Returns true iff stream contains DSMCC Object Carousel.
Definition at line 163 of file mpegtables.h.
Referenced by AvFormatDecoder::ScanDSMCCStreams().
| uint StreamID::Normalize | ( | uint | stream_id, | |
| const desc_list_t & | desc, | |||
| const QString & | sistandard | |||
| ) | [static] |
Definition at line 42 of file mpegtables.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), ProgramMapTable::FindPIDs(), ProgramMapTable::IsAudio(), ProgramMapTable::IsVideo(), and ProgramMapTable::StreamDescription().
| const char * StreamID::toString | ( | uint | streamID | ) | [static] |
Definition at line 751 of file mpegtables.cpp.
Referenced by ProgramMapTable::StreamDescription(), and ProgramMapTable::StreamTypeString().
1.5.5