34 #ifndef _DVBPSI_DEMUX_H_ 35 #define _DVBPSI_DEMUX_H_ 144 void * p_new_cb_data);
171 uint16_t i_extension);
203 const uint16_t i_extension,
249 #error "Multiple inclusions of demux.h" #define DVBPSI_DECODER_COMMON
Common members for all dvbpsi table decoders. These should be the first members of a table decoder st...
Definition: dvbpsi.h:231
uint16_t i_extension
Definition: sis.h:101
DVBPSI_DECODER_COMMON dvbpsi_demux_subdec_t * p_first_subdec
Definition: demux.h:123
void(* dvbpsi_demux_new_cb_t)(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, void *p_cb_data)
Callback used in case of a new subtable detected.
Definition: demux.h:51
uint8_t i_table_id
Definition: sis.h:100
void dvbpsi_DeleteDemuxSubDecoder(dvbpsi_demux_subdec_t *p_subdec)
Releases memory allocated with.
void dvbpsi_Demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section)
Sends the PSI sections to the right subtable decoder according to their table ID and extension...
dvbpsi_decoder_t * p_decoder
Definition: demux.h:95
dvbpsi_demux_subdec_t * dvbpsi_NewDemuxSubDecoder(const uint8_t i_table_id, const uint16_t i_extension, dvbpsi_demux_detach_cb_t pf_detach, dvbpsi_demux_gather_cb_t pf_gather, dvbpsi_decoder_t *p_decoder)
Allocates a new demux sub table decoder and initializes it.
void(* dvbpsi_demux_detach_cb_t)(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Callback used for detaching subtable decoder from demuxer.
Definition: demux.h:72
void * p_new_cb_data
Definition: demux.h:127
PSI decoder structure.
Definition: dvbpsi.h:260
PSI section structure.
Definition: psi.h:68
subtable demultiplexor structure
Definition: demux.h:119
void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi)
Destroys a demux structure.
dvbpsi_demux_detach_cb_t pf_detach
Definition: demux.h:97
bool dvbpsi_AttachDemux(dvbpsi_t *p_dvbpsi, dvbpsi_demux_new_cb_t pf_new_cb, void *p_new_cb_data)
Attaches a new demux structure on dvbpsi_t* handle.
uint32_t i_id
Definition: demux.h:92
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.
dvbpsi_demux_new_cb_t pf_new_callback
Definition: demux.h:126
void dvbpsi_DetachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t *p_subdec)
Detach a subtable decoder from the given demux pointer.
struct dvbpsi_demux_subdec_s dvbpsi_demux_subdec_t
dvbpsi_demux_subdec_t type definition.
Subtable decoder structure.
Definition: demux.h:90
DVBPSI handle structure.
Definition: dvbpsi.h:142
struct dvbpsi_demux_subdec_s * p_next
Definition: demux.h:99
void(* dvbpsi_demux_gather_cb_t)(dvbpsi_t *p_dvbpsi, dvbpsi_decoder_t *p_decoder, dvbpsi_psi_section_t *p_section)
Callback used for gathering psi sections on behalf of subtable decoders.
Definition: demux.h:62
dvbpsi_demux_gather_cb_t pf_gather
Definition: demux.h:94
void dvbpsi_AttachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t *p_subdec)
Attach a subtable decoder to the given demux handle.