libdvbpsi  1.2.0
Data Structures | Typedefs | Functions
dr_04.h File Reference

Application interface for the MPEG 2 "hierarchy" descriptor decoder and generator. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dvbpsi_hierarchy_dr_s
 "hierarchy" descriptor structure. More...

Typedefs

typedef struct
dvbpsi_hierarchy_dr_s 
dvbpsi_hierarchy_dr_t
 dvbpsi_hierarchy_dr_t type definition.

Functions

dvbpsi_hierarchy_dr_tdvbpsi_DecodeHierarchyDr (dvbpsi_descriptor_t *p_descriptor)
 "hierarchy" descriptor decoder.
dvbpsi_descriptor_tdvbpsi_GenHierarchyDr (dvbpsi_hierarchy_dr_t *p_decoded, bool b_duplicate)
 "hierarchy" descriptor generator.

Detailed Description

Application interface for the MPEG 2 "hierarchy" descriptor decoder and generator.

>

Author
Arnaud de Bossoreille de Ribou bozo@.nosp@m.via..nosp@m.ecp.f.nosp@m.r Application interface for the MPEG 2 "hierarchy" descriptor decoder and generator. This descriptor's definition can be found in ISO/IEC 13818-1 section 2.6.6.

Function Documentation

dvbpsi_hierarchy_dr_t * dvbpsi_DecodeHierarchyDr ( dvbpsi_descriptor_t p_descriptor)

"hierarchy" descriptor decoder.

Parameters
p_descriptorpointer to the descriptor structure
Returns
a pointer to a new "hierarchy" descriptor structure which contains the decoded data.
dvbpsi_descriptor_t * dvbpsi_GenHierarchyDr ( dvbpsi_hierarchy_dr_t p_decoded,
bool  b_duplicate 
)

"hierarchy" descriptor generator.

Parameters
p_decodedpointer to a decoded "hierarchy" descriptor structure
b_duplicateif true then duplicate the p_decoded structure into the descriptor
Returns
a pointer to a new descriptor structure which contains encoded data.