libdvbpsi  2.0.0-git
MPEG Transport Stream PSI table parser
Typedefs | Functions | Variables
demux.h File Reference

Deprecated Subtable demutiplexor use. More...

Go to the source code of this file.

Typedefs

typedef 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. More...
 
typedef 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. More...
 
typedef 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. More...
 
typedef dvbpsi_decoder_t dvbpsi_demux_subdec_t
 dvbpsi_demux_subdec_t is deprecated More...
 
typedef dvbpsi_t dvbpsi_demux_t
 dvbpsi_demux_t type definition is deprecated More...
 

Functions

 __attribute__ ((deprecated, unused)) bool dvbpsi_AttachDemux(dvbpsi_t *p_dvbpsi
 dvbpsi_atsc_DetachEIT is deprecated use More...
 

Variables

dvbpsi_demux_new_cb_t pf_new_cb
 
dvbpsi_demux_new_cb_t void * p_new_cb_data
 
uint8_t i_table_id
 
uint8_t uint16_t i_extension
 
dvbpsi_psi_section_tp_section
 
const uint16_t dvbpsi_demux_detach_cb_t pf_detach
 
const uint16_t dvbpsi_demux_detach_cb_t dvbpsi_demux_gather_cb_t pf_gather
 
const uint16_t dvbpsi_demux_detach_cb_t dvbpsi_demux_gather_cb_t dvbpsi_decoder_tp_decoder
 
dvbpsi_demux_subdec_tp_subdec
 

Detailed Description

Deprecated Subtable demutiplexor use.

>

Author
Johan Bilien jobi@.nosp@m.via..nosp@m.ecp.f.nosp@m.r
See also
chain.h instead

Subtable demultiplexor structure

Note
deprecated

Typedef Documentation

◆ dvbpsi_demux_detach_cb_t

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.

table extention to detach

Parameters
p_dvbpsipointer to dvbpsi handle
i_table_idtable id to detach

◆ dvbpsi_demux_gather_cb_t

void(* dvbpsi_demux_gather_cb_t)(dvbpsi_t *p_dvbpsi, void *p_cb_data, dvbpsi_psi_section_t *p_section)

Callback used for gathering psi sections on behalf of subtable decoders.

pointer to psi section

Parameters
p_dvbpsipointer to dvbpsi handle
p_decoderpointer to decoder

◆ dvbpsi_demux_new_cb_t

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.

pointer to callback data

Parameters
p_dvbpsipointer to dvbpsi handle
i_table_idtable id to attach
i_extensiontable extention to attach

◆ dvbpsi_demux_subdec_t

struct dvbpsi_demux_subdec_s dvbpsi_demux_subdec_t

dvbpsi_demux_subdec_t is deprecated

See also
dvbpsi_decoder_t instead.

◆ dvbpsi_demux_t

struct dvbpsi_demux_s dvbpsi_demux_t

dvbpsi_demux_t type definition is deprecated

See also
dvbpsi_t instead.

Function Documentation

◆ __attribute__()

__attribute__ ( (deprecated, unused)  )

dvbpsi_atsc_DetachEIT is deprecated use

dvbpsi_atsc_DeleteVCT is deprecated use

dvbpsi_atsc_EmptyVCT is deprecated use

dvbpsi_atsc_NewVCT is deprecated use

dvbpsi_atsc_InitVCT is deprecated use

dvbpsi_atsc_DetachVCT is deprecated use

dvbpsi_atsc_DeleteSTT is deprecated use

dvbpsi_atsc_EmptySTT is deprecated use

dvbpsi_atsc_NewSTT is deprecated use

dvbpsi_atsc_InitSTT is deprecated use

dvbpsi_atsc_DetachSTT is deprecated use

dvbpsi_atsc_DeleteMGT is deprecated use

dvbpsi_atsc_EmptyMGT is deprecated use

dvbpsi_atsc_NewMGT is deprecated use

dvbpsi_atsc_InitMGT is deprecated use

dvbpsi_atsc_DetachMGT is deprecated use

dvbpsi_atsc_DeleteETT is deprecated use

dvbpsi_atsc_EmptyETT is deprecated use

dvbpsi_atsc_NewETT is deprecated use

dvbpsi_atsc_InitETT is deprecated use

dvbpsi_atsc_DetachETT is deprecated use

dvbpsi_atsc_DeleteEIT is deprecated use

dvbpsi_atsc_EmptyEIT is deprecated use

dvbpsi_atsc_NewEIT is deprecated use

dvbpsi_atsc_InitEIT is deprecated use

See also
dvbpsi_atsc_eit_detach() instead.
Parameters
p_dvbpsidvbpsi handle to Subtable demultiplexor to which the decoder is attached.
i_table_idTable ID, 0xCB.
i_extensionTable ID extension, here TS ID.
Returns
nothing.
See also
dvbpsi_atsc_eit_init() instead.
Parameters
p_eitpointer to the EIT structure
i_table_idTable ID, 0xCB.
i_extensionTable ID extension, here TS ID.
i_versionEIT version
i_protocolPSIP Protocol version.
i_source_idSource id.
b_current_nextcurrent next indicator
Returns
nothing.
See also
dvbpsi_atsc_eit_new() instead.
Parameters
i_table_idTable ID, 0xCB.
i_extensionTable ID extension, here TS ID.
i_versionEIT version
i_protocolPSIP Protocol version.
i_source_idSource id.
b_current_nextcurrent next indicator
Returns
p_eit pointer to the EIT structure or NULL on error
See also
dvbpsi_atsc_eit_empty() instead.
Parameters
p_eitpointer to the EIT structure
See also
dvbpsi_atsc_eit_delete() instead.
Parameters
p_eitpointer to the EIT structure
See also
dvbpsi_atsc_ett_detach() instead.
Parameters
p_dvbpsidvbpsi handle to Subtable demultiplexor to which the decoder is attached
i_table_idTable ID, 0xCD.
i_extensionTable ID extension, normally 0x0000.
Returns
nothing.
See also
dvbpsi_atsc_ett_init() instead.
Parameters
p_ettpointer to the ETT structure
i_table_idTable ID, 0xCC.
i_extensionTable ID extension, normally 0x0000.
i_versionversion
i_protocolPSIP Protocol version.
i_etm_idETM Identifier.
b_current_nextcurrent next indicator
Returns
nothing.
See also
dvbpsi_atsc_ett_new() instead.
Parameters
i_table_idTable ID, 0xCC.
i_extensionTable ID extension, normally 0x0000.
i_versionversion
i_protocolPSIP Protocol version.
i_etm_idETM Identifier.
b_current_nextcurrent next indicator
Returns
p_ett pointer to the ETT structure, NULL otherwise
See also
dvbpsi_atsc_ett_empty() instead.
Parameters
p_ettpointer to the ETT structure
Returns
nothing.
See also
dvbpsi_atsc_ett_delete() instead.
Parameters
p_ettpointer to the ETT structure
Returns
nothing.
See also
dvbpsi_atsc_mgt_detach() instead.

Destroy a MGT decoder.

Parameters
p_dvbpsidvbpsi handle to Subtable demultiplexor to which the decoder is attached
i_table_idTable ID, 0xC7.
i_extensionTable ID extension, here 0x0000.
Returns
nothing.
See also
dvbpsi_atsc_mgt_init() instead.
Parameters
p_mgtpointer to the MGT structure
i_table_idTable ID, 0xC7.
i_extensionTable ID extension, here 0x0000.
i_versionMGT version
i_protocolPSIP Protocol version.
b_current_nextcurrent next indicator
Returns
nothing.
See also
dvbpsi_atsc_mgt_new() instead.
Parameters
i_table_idTable ID, 0xC7.
i_extensionTable ID extension, here 0x0000.
i_versionMGT version
i_protocolPSIP Protocol version.
b_current_nextcurrent next indicator
Returns
p_mgt pointer to the MGT structure, or NULL on failure
See also
dvbpsi_atsc_mgt_empty() instead.
Parameters
p_mgtpointer to the MGT structure
Returns
nothing.
See also
dvbpsi_atsc_mgt_delete() instead.

Clean and free a dvbpsi_mgt_t structure.

Parameters
p_mgtpointer to the MGT structure
Returns
nothing.
See also
dvbpsi_atsc_stt_detach() instead.
Parameters
p_dvbpsidvbpsi handle to Subtable demultiplexor to which the decoder is attached.
i_table_idTable ID, 0xCD.
i_extensionTable extension, ignored as this should always be 0. (Required to match prototype for demux)
Returns
nothing.
See also
dvbpsi_atsc_stt_init() instead.
Parameters
p_sttpointer to the STT structure
i_table_idTable ID, 0xCD.
i_extensionTable extension, ignored as this should always be 0.
i_protocolPSIP Protocol version.
b_current_nextcurrent next indicator
Returns
nothing.
See also
dvbpsi_atsc_stt_new() instead.
Parameters
i_table_idTable ID, 0xCD.
i_extensionTable extension, ignored as this should always be 0.
i_versionPSIP Protocol version.
b_current_nextcurrent next indicator
Returns
p_stt pointer to the STT structure
See also
dvbpsi_atsc_stt_empty() instead.

Clean a dvbpsi_atsc_stt_t structure.

Parameters
p_sttpointer to the STT structure
Returns
nothing.
See also
dvbpsi_atsc_stt_delete() instead.

Clean a dvbpsi_atsc_stt_t structure.

Parameters
p_sttpointer to the STT structure
Returns
nothing.
See also
dvbpsi_atsc_vct_detach() instead.
Parameters
p_dvbpsidvbpsi handle to Subtable demultiplexor to which the decoder is attached.
i_table_idTable ID, 0xC8 or 0xC9.
i_extensionTable ID extension, here TS ID.
Returns
nothing.
See also
dvbpsi_atsc_vct_init() instead.
Parameters
i_table_idTable ID, 0xC8 or 0xC9.
i_extensionTable ID extension, here TS ID.
i_protocolPSIP Protocol version.
b_cable_vctWhether this is CVCT or a TVCT.
i_versionVCT version
b_current_nextcurrent next indicator
Returns
nothing.
See also
dvbpsi_atsc_vct_new() instead.
Parameters
i_table_idTable ID, 0xC8 or 0xC9.
i_extensionTable ID extension, here TS ID.
i_protocolPSIP Protocol version.
b_cable_vctWhether this is CVCT or a TVCT.
i_versionVCT version
b_current_nextcurrent next indicator
Returns
p_vct pointer to the VCT structure
See also
dvbpsi_atsc_vct_empty() instead.

Clean a dvbpsi_vct_t structure.

Parameters
p_vctpointer to the VCT structure
Returns
nothing.
See also
dvbpsi_atsc_vct_delete() instead.

Clean a dvbpsi_vct_t structure.

Parameters
p_vctpointer to the VCT structure
Returns
nothing.

References dvbpsi_atsc_eit_empty().

Variable Documentation

◆ i_extension

uint16_t i_extension
Initial value:
{
dvbpsi_atsc_eit_detach(p_dvbpsi, i_table_id, i_extension)
void dvbpsi_atsc_eit_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a EIT decoder.