Subtable demutiplexor. More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_demux_subdec_s |
Subtable decoder structure. More... | |
struct | dvbpsi_demux_s |
subtable demultiplexor structure More... | |
Typedefs | |
typedef void(* | dvbpsi_demux_new_cb_t )(void *p_cb_data, dvbpsi_handle h_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
Callback used in case of a new subtable detected. | |
typedef void(* | dvbpsi_demux_subdec_cb_t )(dvbpsi_decoder_t *p_psi_decoder, void *p_private_decoder, dvbpsi_psi_section_t *p_section) |
Subtable specific decoder. | |
typedef struct dvbpsi_demux_subdec_s | dvbpsi_demux_subdec_t |
dvbpsi_demux_subdec_t type definition. | |
typedef struct dvbpsi_demux_s | dvbpsi_demux_t |
dvbpsi_demux_t type definition. | |
Functions | |
dvbpsi_handle | dvbpsi_AttachDemux (dvbpsi_demux_new_cb_t pf_new_cb, void *p_new_cb_data) |
void | dvbpsi_DetachDemux (dvbpsi_handle h_dvbpsi) |
Destroys a demux structure. | |
dvbpsi_demux_subdec_t * | dvbpsi_demuxGetSubDec (dvbpsi_demux_t *p_demux, uint8_t i_table_id, uint16_t i_extension) |
Looks for a subtable decoder, given the subtable ID. | |
void | dvbpsi_Demux (dvbpsi_handle h_dvbpsi, dvbpsi_psi_section_t *p_section) |
Sends the PSI sections to the right subtable decoder according to their table ID and extension. |
Subtable demutiplexor.
>
Subtable specific decoder.
(dvbpsi_decoder_t* p_psi_decoder, void* p_private_decoder, dvbpsi_psi_section_t* p_section);
void dvbpsi_Demux | ( | dvbpsi_handle | h_dvbpsi, | |
dvbpsi_psi_section_t * | p_section | |||
) |
Sends the PSI sections to the right subtable decoder according to their table ID and extension.
h_dvbpsi | PSI decoder handle. | |
p_section | PSI section. |
dvbpsi_demux_subdec_t * dvbpsi_demuxGetSubDec | ( | dvbpsi_demux_t * | p_demux, | |
uint8_t | i_table_id, | |||
uint16_t | i_extension | |||
) |
Looks for a subtable decoder, given the subtable ID.
p_demux | Pointer to the demux structure. | |
i_table_id | Table ID of the wanted subtable. | |
i_extension | Table ID extension of the wanted subtable. |
void dvbpsi_DetachDemux | ( | dvbpsi_handle | h_dvbpsi | ) |
Destroys a demux structure.
h_dvbpsi | The handle of the demux to be destroyed. |