Common PSI tools. More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_psi_section_s |
PSI section structure. More... | |
Functions | |
dvbpsi_psi_section_t * | dvbpsi_NewPSISection (int i_max_size) |
Creation of a new dvbpsi_psi_section_t structure. | |
void | dvbpsi_DeletePSISections (dvbpsi_psi_section_t *p_section) |
Destruction of a dvbpsi_psi_section_t structure. | |
int | dvbpsi_ValidPSISection (dvbpsi_psi_section_t *p_section) |
Validity check of a PSI section. | |
void | dvbpsi_BuildPSISection (dvbpsi_psi_section_t *p_section) |
Build a valid section based on the information in the structure. |
Common PSI tools.
>
void dvbpsi_BuildPSISection | ( | dvbpsi_psi_section_t * | p_section | ) |
Build a valid section based on the information in the structure.
p_section | pointer to the PSI section structure |
void dvbpsi_DeletePSISections | ( | dvbpsi_psi_section_t * | p_section | ) |
Destruction of a dvbpsi_psi_section_t structure.
p_section | pointer to the first PSI section structure |
dvbpsi_psi_section_t * dvbpsi_NewPSISection | ( | int | i_max_size | ) |
Creation of a new dvbpsi_psi_section_t structure.
i_max_size | max size in bytes of the section |
int dvbpsi_ValidPSISection | ( | dvbpsi_psi_section_t * | p_section | ) |
Validity check of a PSI section.
p_section | pointer to the PSI section structure |
Check the CRC_32 if the section has b_syntax_indicator set.