libdvbpsi 1.3.2
dr_83.h File Reference

Decode Logical Channel Number Descriptor. More...

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

Go to the source code of this file.

Data Structures

struct  dvbpsi_lcn_entry_s
 Logical Channel Number Entry. More...
 
struct  dvbpsi_lcn_dr_s
 Logical Channel Number Descriptor. More...
 

Typedefs

typedef struct dvbpsi_lcn_entry_s dvbpsi_lcn_entry_t
 dvbpsi_lcn_entry_t type definition.
 
typedef struct dvbpsi_lcn_dr_s dvbpsi_lcn_dr_t
 dvbpsi_lcn_dr_t type definition.
 

Functions

dvbpsi_lcn_dr_tdvbpsi_DecodeLCNDr (dvbpsi_descriptor_t *p_descriptor)
 Decode a Logical Channel Number descriptor (tag 0x83)
 
dvbpsi_descriptor_tdvbpsi_GenLCNDr (dvbpsi_lcn_dr_t *p_decoded, bool b_duplicate)
 "logical_channel" descriptor generator.
 

Detailed Description

Decode Logical Channel Number Descriptor.

Author
Adam Charrett

Function Documentation

◆ dvbpsi_DecodeLCNDr()

dvbpsi_lcn_dr_t * dvbpsi_DecodeLCNDr ( dvbpsi_descriptor_t * p_descriptor)

Decode a Logical Channel Number descriptor (tag 0x83)

Parameters
p_descriptorRaw descriptor to decode.
Returns
NULL if the descriptor could not be decoded or a pointer to a dvbpsi_lcn_dr_t structure.

◆ dvbpsi_GenLCNDr()

dvbpsi_descriptor_t * dvbpsi_GenLCNDr ( dvbpsi_lcn_dr_t * p_decoded,
bool b_duplicate )

"logical_channel" descriptor generator.

Parameters
p_decodedpointer to a decoded "logical_channel" 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.