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

Decode Frequency List 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_frequency_list_dr_s
 Frequency List Descriptor. More...

Typedefs

typedef struct
dvbpsi_frequency_list_dr_s 
dvbpsi_frequency_list_dr_t
 dvbpsi_frequency_list_dr_t type definition.

Functions

dvbpsi_frequency_list_dr_tdvbpsi_DecodeFrequencyListDr (dvbpsi_descriptor_t *p_descriptor)
 Decode a Frequency List descriptor (tag 0x62)
uint32_t dvbpsi_Bcd8ToUint32 (uint32_t bcd)
 Decode an 8 character BCD encoded number into a uint32_t.

Detailed Description

Decode Frequency List Descriptor.

Author
Adam Charrett

Function Documentation

uint32_t dvbpsi_Bcd8ToUint32 ( uint32_t  bcd)

Decode an 8 character BCD encoded number into a uint32_t.

Parameters
bcdBCD value to convert.
Returns
Decoded value as a uint32_t.
dvbpsi_frequency_list_dr_t * dvbpsi_DecodeFrequencyListDr ( dvbpsi_descriptor_t p_descriptor)

Decode a Frequency List descriptor (tag 0x62)

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