libdvbpsi
2.0.0-git
MPEG Transport Stream PSI table parser
|
PSI section structure. More...
Data Fields | |
uint8_t | i_table_id |
bool | b_syntax_indicator |
bool | b_private_indicator |
uint16_t | i_length |
uint16_t | i_extension |
uint8_t | i_version |
bool | b_current_next |
uint8_t | i_number |
uint8_t | i_last_number |
uint8_t * | p_data |
uint8_t * | p_payload_start |
uint8_t * | p_payload_end |
uint32_t | i_crc |
struct dvbpsi_psi_section_s * | p_next |
PSI section structure.
This structure is used to store a PSI section. The common information are decoded (ISO/IEC 13818-1 section 2.4.4.10).
dvbpsi_psi_section_s::p_data stores the complete section including the header.
When dvbpsi_psi_section_s::b_syntax_indicator == false, dvbpsi_psi_section_s::p_payload_start points immediately after the section_length field and dvbpsi_psi_section_s::p_payload_end points immediately after the end of the section (don't try to access this byte).
When dvbpsi_psi_section_s::b_syntax_indicator != false, dvbpsi_psi_section_s::p_payload_start points immediately after the last_section_number field and dvbpsi_psi_section_s::p_payload_end points to the first byte of the CRC_32 field.
When dvbpsi_psi_section_s::b_syntax_indicator == false dvbpsi_psi_section_s::i_extension, dvbpsi_psi_section_s::i_version, dvbpsi_psi_section_s::b_current_next, dvbpsi_psi_section_s::i_number, dvbpsi_psi_section_s::i_last_number, and dvbpsi_psi_section_s::i_crc are undefined.
bool dvbpsi_psi_section_s::b_current_next |
current_next_indicator
bool dvbpsi_psi_section_s::b_private_indicator |
private_indicator
bool dvbpsi_psi_section_s::b_syntax_indicator |
section_syntax_indicator
uint32_t dvbpsi_psi_section_s::i_crc |
CRC_32
uint16_t dvbpsi_psi_section_s::i_extension |
table_id_extension transport_stream_id for a PAT section
uint8_t dvbpsi_psi_section_s::i_last_number |
last_section_number
uint16_t dvbpsi_psi_section_s::i_length |
section_length
uint8_t dvbpsi_psi_section_s::i_number |
section_number
uint8_t dvbpsi_psi_section_s::i_table_id |
table_id
uint8_t dvbpsi_psi_section_s::i_version |
version_number
uint8_t* dvbpsi_psi_section_s::p_data |
complete section
struct dvbpsi_psi_section_s* dvbpsi_psi_section_s::p_next |
next element of the list
uint8_t* dvbpsi_psi_section_s::p_payload_end |
payload end
uint8_t* dvbpsi_psi_section_s::p_payload_start |
payload start