[−][src]Module mpeg2ts_reader::psi
Types for processing tables of Program Specific Information in a transport stream.
Concepts
- There are multiple standard types of Program Specific Information, like the Program Association Table and Program Map Table. Standards derived from mpegts may define their own table types.
- A PSI Table can split into Sections
- A Section can be split across a small number of individual transport stream Packets
- A Section may use a syntax common across a number of the standard table types, or may be an opaque bag of bytes within the transport stream whose interpretation is defined within a derived standard (and therefore not in this library).
Core types
SectionPacketConsumer
converts Packets into Sections
Note that the specific types of table such as Program Association Table are defined elsewhere with only the generic functionality in this module.
Modules
pat | Types related to the Program Association Table |
pmt | Types related to the Program Map Table |
Structs
BufferSectionSyntaxParser | Implements |
CrcCheckWholeSectionSyntaxPayloadParser | An implementation of |
DedupSectionSyntaxPayloadParser | A wrapper around some other implementation of |
SectionCommonHeader | Header common to all PSI sections, whether they then use 'section syntax' or 'compact syntax'. |
SectionPacketConsumer | A type for locating the headers of PSI sections, which may be split across multiple TS packets,
and passing each piece to the given |
SectionSyntaxSectionProcessor | An implementation of |
TableSyntaxHeader | Represents the fields that appear within table sections that use the common 'section syntax'. |
Enums
CurrentNext | Represents the value of the Transport Stream |
Traits
SectionProcessor | Trait for types which process the data within a PSI section following the 12-byte
|
SectionSyntaxPayloadParser | Trait for types that will handle MPEGTS PSI table sections with 'section syntax'. |
WholeSectionSyntaxPayloadParser | Trait for types that parse fully reconstructed PSI table sections (which requires the caller to have buffered section data if it spanned multiple TS packets. |