TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Common definitions for MPEG PSI (Program Specific Information) layer. More...
Namespaces | |
namespace | ts |
TSDuck namespace, containing all TSDuck classes and functions. | |
Variables | |
constexpr uint16_t | ts::INVALID_NETWORK_ID = 0xFFFF |
A placeholder for "invalid network id" value. | |
constexpr uint16_t | ts::INVALID_SERVICE_ID = 0xFFFF |
A placeholder for "invalid service id" value. | |
constexpr uint16_t | ts::INVALID_TS_ID = 0xFFFF |
A placeholder for "invalid transport stream id" value. | |
constexpr size_t | ts::LONG_SECTION_HEADER_SIZE = 8 |
Header size of a long section. | |
constexpr size_t | ts::MAX_DESCRIPTOR_SIZE = 257 |
Maximum size of a descriptor (255 + 2-byte header). | |
constexpr size_t | ts::MAX_PRIVATE_LONG_SECTION_PAYLOAD_SIZE = MAX_PRIVATE_SECTION_SIZE - LONG_SECTION_HEADER_SIZE - SECTION_CRC32_SIZE |
Maximum size of the payload of a private long section. | |
constexpr size_t | ts::MAX_PRIVATE_SECTION_SIZE = 4096 |
Maximum size of a private section (including DVB-defined sections). | |
constexpr size_t | ts::MAX_PRIVATE_SHORT_SECTION_PAYLOAD_SIZE = MAX_PRIVATE_SECTION_SIZE - SHORT_SECTION_HEADER_SIZE |
Maximum size of the payload of a private short section. | |
constexpr size_t | ts::MAX_PSI_LONG_SECTION_PAYLOAD_SIZE = MAX_PSI_SECTION_SIZE - LONG_SECTION_HEADER_SIZE - SECTION_CRC32_SIZE |
Maximum size of the payload of a PSI long section. | |
constexpr size_t | ts::MAX_PSI_SECTION_SIZE = 1024 |
Maximum size of a PSI section (MPEG-defined). | |
constexpr size_t | ts::MAX_PSI_SHORT_SECTION_PAYLOAD_SIZE = MAX_PSI_SECTION_SIZE - SHORT_SECTION_HEADER_SIZE |
Maximum size of the payload of a short section. | |
constexpr size_t | ts::MIN_LONG_SECTION_SIZE = LONG_SECTION_HEADER_SIZE + SECTION_CRC32_SIZE |
Minimum size of a long section. | |
constexpr size_t | ts::MIN_SHORT_SECTION_SIZE = SHORT_SECTION_HEADER_SIZE |
Minimum size of a short section. | |
constexpr uint32_t | ts::MJD_EPOCH = 40587 |
Origin of Modified Julian Dates (MJD). | |
constexpr size_t | ts::SECTION_CRC32_SIZE = 4 |
Size of the CRC32 field in a long section. | |
constexpr size_t | ts::SHORT_SECTION_HEADER_SIZE = 3 |
Header size of a short section. | |
constexpr size_t | ts::SVERSION_BITS = 5 |
Size (in bits) of a section version field. | |
constexpr uint8_t | ts::SVERSION_MASK = 0x1F |
Mask to wrap a section version value. | |
constexpr uint8_t | ts::SVERSION_MAX = 1 << SVERSION_BITS |
Maximum value of a section version. | |
Common definitions for MPEG PSI (Program Specific Information) layer.
Also contains definitions for DVB SI (Service Information) and ATSC.