Commit 9cb706c5 authored by Jean-Paul Saman's avatar Jean-Paul Saman

demux API: mark deprecated

The demux API for adding, deleting and selecting subtable decoders is marked
deprecated. It is target for removal for the 2.0.0 release and will be replaced
by a simpler system, that allows each PSI table decoder to be chained without the
need of adding extra structures and indirections.
parent d31a0349
......@@ -29,6 +29,7 @@
* \brief Subtable demutiplexor.
*
* Subtable demultiplexor structure
* @note deprecated
*/
#ifndef _DVBPSI_DEMUX_H_
......@@ -139,6 +140,7 @@ struct dvbpsi_demux_s
* \param p_new_cb_data Data given to the previous callback.
* \return true on success, false on failure
*/
__attribute__((deprecated))
bool dvbpsi_AttachDemux(dvbpsi_t * p_dvbpsi,
dvbpsi_demux_new_cb_t pf_new_cb,
void * p_new_cb_data);
......@@ -152,6 +154,7 @@ bool dvbpsi_AttachDemux(dvbpsi_t * p_dvbpsi,
* \param p_dvbpsi The handle of the demux to be destroyed.
* \return nothing
*/
__attribute__((deprecated))
void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi);
/*****************************************************************************
......@@ -166,6 +169,7 @@ void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi);
* \return a pointer to the found subdecoder, or NULL.
*
*/
__attribute__((deprecated))
dvbpsi_demux_subdec_t * dvbpsi_demuxGetSubDec(dvbpsi_demux_t * p_demux,
uint8_t i_table_id,
uint16_t i_extension);
......@@ -180,6 +184,7 @@ dvbpsi_demux_subdec_t * dvbpsi_demuxGetSubDec(dvbpsi_demux_t * p_demux,
* \param p_dvbpsi PSI decoder handle.
* \param p_section PSI section.
*/
__attribute__((deprecated))
void dvbpsi_Demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section);
/*****************************************************************************
......@@ -199,6 +204,7 @@ void dvbpsi_Demux(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section);
* \param p_decoder pointer to private decoder.
* \return pointer to demux subtable decoder.
*/
__attribute__((deprecated))
dvbpsi_demux_subdec_t *dvbpsi_NewDemuxSubDecoder(const uint8_t i_table_id,
const uint16_t i_extension,
dvbpsi_demux_detach_cb_t pf_detach,
......@@ -215,6 +221,7 @@ dvbpsi_demux_subdec_t *dvbpsi_NewDemuxSubDecoder(const uint8_t i_table_id,
* \param p_subdec pointer to demux subtable decoder.
* \return nothing.
*/
__attribute__((deprecated))
void dvbpsi_DeleteDemuxSubDecoder(dvbpsi_demux_subdec_t *p_subdec);
/*****************************************************************************
......@@ -227,6 +234,7 @@ void dvbpsi_DeleteDemuxSubDecoder(dvbpsi_demux_subdec_t *p_subdec);
* \param p_subdec pointer to dvbpsi_demux_subdec_t
* \return nothing
*/
__attribute__((deprecated))
void dvbpsi_AttachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t *p_subdec);
/*****************************************************************************
......@@ -239,6 +247,7 @@ void dvbpsi_AttachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t
* \param p_subdec pointer to dvbpsi_demux_subdec_t
* \return nothing
*/
__attribute__((deprecated))
void dvbpsi_DetachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t *p_subdec);
#ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment