psi.h File Reference

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_tdvbpsi_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.

Detailed Description

Common PSI tools.

>

Author:
Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> PSI section structure and its Manipulation tools.

Function Documentation

void dvbpsi_BuildPSISection ( dvbpsi_psi_section_t p_section  ) 

Build a valid section based on the information in the structure.

Parameters:
p_section pointer to the PSI section structure
Returns:
nothing.
void dvbpsi_DeletePSISections ( dvbpsi_psi_section_t p_section  ) 

Destruction of a dvbpsi_psi_section_t structure.

Parameters:
p_section pointer to the first PSI section structure
Returns:
nothing.
dvbpsi_psi_section_t * dvbpsi_NewPSISection ( int  i_max_size  ) 

Creation of a new dvbpsi_psi_section_t structure.

Parameters:
i_max_size max size in bytes of the section
Returns:
a pointer to the new PSI section structure.
int dvbpsi_ValidPSISection ( dvbpsi_psi_section_t p_section  ) 

Validity check of a PSI section.

Parameters:
p_section pointer to the PSI section structure
Returns:
boolean value (0 if the section is not valid).

Check the CRC_32 if the section has b_syntax_indicator set.


Generated on 16 Oct 2009 for libdvbpsi by  doxygen 1.6.1