32 #ifndef _DVBPSI_PSI_H_
33 #define _DVBPSI_PSI_H_
136 const uint8_t table_id,
const char *psz_table_name);
190 if ((p_section->
i_table_id == (uint8_t) 0x70) ||
204 #error "Multiple inclusions of psi.h"
void dvbpsi_CalculateCRC32(dvbpsi_psi_section_t *p_section)
Calculate the CRC32 field accourding to ISO/IEC 13818-1, ITU-T Rec H.222.0 or ETSI EN 300 468 v1....
void dvbpsi_DeletePSISections(dvbpsi_psi_section_t *p_section)
Destruction of a dvbpsi_psi_section_t structure.
dvbpsi_psi_section_t * dvbpsi_NewPSISection(int i_max_size)
Creation of a new dvbpsi_psi_section_t structure.
bool dvbpsi_ValidPSISection(dvbpsi_psi_section_t *p_section)
Validity check of a PSI section, make sure to call this function on tables that have a CRC32 (.
bool dvbpsi_CheckPSISection(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section, const uint8_t table_id, const char *psz_table_name)
Check if PSI section has the expected table_id. Call this function only for PSI sections that have a ...
PSI section structure.
Definition: psi.h:69
uint8_t * p_payload_end
Definition: psi.h:89
uint16_t i_extension
Definition: psi.h:77
uint8_t i_last_number
Definition: psi.h:83
uint8_t * p_data
Definition: psi.h:87
bool b_syntax_indicator
Definition: psi.h:72
uint8_t i_number
Definition: psi.h:82
struct dvbpsi_psi_section_s * p_next
Definition: psi.h:95
uint16_t i_length
Definition: psi.h:74
uint8_t i_table_id
Definition: psi.h:71
uint8_t i_version
Definition: psi.h:80
uint32_t i_crc
Definition: psi.h:92
uint8_t * p_payload_start
Definition: psi.h:88
bool b_current_next
Definition: psi.h:81
bool b_private_indicator
Definition: psi.h:73
DVBPSI handle structure.
Definition: dvbpsi.h:143