libdvbpsi  2.0.0-git
MPEG Transport Stream PSI table parser
Data Fields
dvbpsi_psi_section_s Struct Reference

PSI section structure. More...

Collaboration diagram for dvbpsi_psi_section_s:
Collaboration graph
[legend]

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_sp_next
 

Detailed Description

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.

Field Documentation

◆ b_current_next

bool dvbpsi_psi_section_s::b_current_next

current_next_indicator

◆ b_private_indicator

bool dvbpsi_psi_section_s::b_private_indicator

private_indicator

◆ b_syntax_indicator

bool dvbpsi_psi_section_s::b_syntax_indicator

section_syntax_indicator

◆ i_crc

uint32_t dvbpsi_psi_section_s::i_crc

CRC_32

◆ i_extension

uint16_t dvbpsi_psi_section_s::i_extension

table_id_extension transport_stream_id for a PAT section

◆ i_last_number

uint8_t dvbpsi_psi_section_s::i_last_number

last_section_number

◆ i_length

uint16_t dvbpsi_psi_section_s::i_length

section_length

◆ i_number

uint8_t dvbpsi_psi_section_s::i_number

section_number

◆ i_table_id

uint8_t dvbpsi_psi_section_s::i_table_id

table_id

◆ i_version

uint8_t dvbpsi_psi_section_s::i_version

version_number

◆ p_data

uint8_t* dvbpsi_psi_section_s::p_data

complete section

◆ p_next

struct dvbpsi_psi_section_s* dvbpsi_psi_section_s::p_next

next element of the list

◆ p_payload_end

uint8_t* dvbpsi_psi_section_s::p_payload_end

payload end

◆ p_payload_start

uint8_t* dvbpsi_psi_section_s::p_payload_start

payload start


The documentation for this struct was generated from the following file: