Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
4269a6bb
Commit
4269a6bb
authored
Mar 20, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all deprecated API
parent
444bec47
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
0 additions
and
442 deletions
+0
-442
src/demux.h
src/demux.h
+0
-17
src/dvbpsi.h
src/dvbpsi.h
+0
-30
src/tables/bat.h
src/tables/bat.h
+0
-41
src/tables/bat_private.h
src/tables/bat_private.h
+0
-11
src/tables/cat.h
src/tables/cat.h
+0
-30
src/tables/cat_private.h
src/tables/cat_private.h
+0
-9
src/tables/eit.h
src/tables/eit.h
+0
-35
src/tables/eit_private.h
src/tables/eit_private.h
+0
-11
src/tables/nit.h
src/tables/nit.h
+0
-39
src/tables/nit_private.h
src/tables/nit_private.h
+0
-9
src/tables/pat.h
src/tables/pat.h
+0
-27
src/tables/pat_private.h
src/tables/pat_private.h
+0
-9
src/tables/pmt.h
src/tables/pmt.h
+0
-36
src/tables/pmt_private.h
src/tables/pmt_private.h
+0
-10
src/tables/sdt.h
src/tables/sdt.h
+0
-36
src/tables/sdt_private.h
src/tables/sdt_private.h
+0
-11
src/tables/sis.h
src/tables/sis.h
+0
-30
src/tables/sis_private.h
src/tables/sis_private.h
+0
-10
src/tables/tot.h
src/tables/tot.h
+0
-30
src/tables/tot_private.h
src/tables/tot_private.h
+0
-11
No files found.
src/demux.h
View file @
4269a6bb
...
@@ -241,23 +241,6 @@ void dvbpsi_AttachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t
...
@@ -241,23 +241,6 @@ void dvbpsi_AttachDemuxSubDecoder(dvbpsi_demux_t *p_demux, dvbpsi_demux_subdec_t
*/
*/
void
dvbpsi_DetachDemuxSubDecoder
(
dvbpsi_demux_t
*
p_demux
,
dvbpsi_demux_subdec_t
*
p_subdec
);
void
dvbpsi_DetachDemuxSubDecoder
(
dvbpsi_demux_t
*
p_demux
,
dvbpsi_demux_subdec_t
*
p_subdec
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
#if 0
__attribute__((deprecated))
dvbpsi_handle dvbpsi_AttachDemux(dvbpsi_demux_new_cb_t pf_new_cb,
void * p_new_cb_data);
__attribute__((deprecated))
void dvbpsi_DetachDemux(dvbpsi_handle h_dvbpsi);
__attribute__((deprecated))
dvbpsi_demux_subdec_t * dvbpsi_demuxGetSubDec(dvbpsi_demux_t * p_demux,
uint8_t i_table_id,
uint16_t i_extension);
__attribute__((deprecated))
void dvbpsi_Demux(dvbpsi_handle h_dvbpsi, dvbpsi_psi_section_t * p_section);
#endif
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/dvbpsi.h
View file @
4269a6bb
...
@@ -350,36 +350,6 @@ bool dvbpsi_decoder_psi_section_add(dvbpsi_decoder_t *p_decoder, dvbpsi_psi_sect
...
@@ -350,36 +350,6 @@ bool dvbpsi_decoder_psi_section_add(dvbpsi_decoder_t *p_decoder, dvbpsi_psi_sect
*/
*/
bool
dvbpsi_decoder_present
(
dvbpsi_t
*
p_dvbpsi
);
bool
dvbpsi_decoder_present
(
dvbpsi_t
*
p_dvbpsi
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
/*!
* \typedef struct dvbpsi_decoder_s * dvbpsi_handle
* \brief deprecated dvbpsi handle. It is replaced by a dvbpsi_t type.
*/
typedef
struct
dvbpsi_decoder_s
*
dvbpsi_handle
;
// __attribute__((deprecated));
/* dvbpsi.h */
/*!
* \fn __attribute__((deprecated)) void dvbpsi_PushPacket(dvbpsi_handle h_dvbpsi, uint8_t* p_data)
* \brief function is deprecated and should no longer be used. Use
* function dvbpsi_packet_push() instead.
* \param h_dvbpsi handle to dvbpsi_s struct
* \param p_data pointer to TS packet data (usually188 bytes)
*/
/*!
* \def dvbpsi_PushPacket(h,p) dvbpsi_packet_push(h,p)
* \brief backwards compatibility wrapper around dvbpsi_packet_push()
*/
__attribute__
((
deprecated
))
void
dvbpsi_PushPacket
(
dvbpsi_handle
h_dvbpsi
,
uint8_t
*
p_data
);
#define dvbpsi_PushPacket(h,p) dvbpsi_packet_push(h,p)
/* Macros from libdvbpsi < version 1.0.0 are deprecated.
* NOTE: You probably want to use libdvbpsi-0.2.2 instead.
*/
#define DEPRECATED_MACRO DEPRECATED_MACRO_USE_libdvbpsi_0_2_2
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/bat.h
View file @
4269a6bb
...
@@ -260,47 +260,6 @@ dvbpsi_descriptor_t *dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_bat,
...
@@ -260,47 +260,6 @@ dvbpsi_descriptor_t *dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_bat,
*****************************************************************************/
*****************************************************************************/
dvbpsi_psi_section_t
*
dvbpsi_bat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_bat_t
*
p_bat
);
dvbpsi_psi_section_t
*
dvbpsi_bat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_bat_t
*
p_bat
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachBAT
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_bat_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachBAT
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_InitBAT
(
dvbpsi_bat_t
*
p_bat
,
uint16_t
i_bouquet_id
,
uint8_t
i_version
,
int
b_current_next
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyBAT
(
dvbpsi_bat_t
*
p_bat
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenBATSections
(
dvbpsi_bat_t
*
p_bat
);
__attribute__
((
deprecated
))
dvbpsi_bat_ts_t
*
dvbpsi_BATAddTS
(
dvbpsi_bat_t
*
p_bat
,
uint16_t
i_ts_id
,
uint16_t
i_orig_network_id
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_BATBouquetAddDescriptor
(
dvbpsi_bat_t
*
p_bat
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_BATTSAddDescriptor
(
dvbpsi_bat_ts_t
*
p_ts
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
#define dvbpsi_NewBAT(p_bat, i_bouquet_id, i_version, b_current_next) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteBAT(p_bat) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/bat_private.h
View file @
4269a6bb
...
@@ -62,17 +62,6 @@ void dvbpsi_bat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_decoder_t* p_decoder,
...
@@ -62,17 +62,6 @@ void dvbpsi_bat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_decoder_t* p_decoder,
void
dvbpsi_bat_sections_decode
(
dvbpsi_bat_t
*
p_bat
,
void
dvbpsi_bat_sections_decode
(
dvbpsi_bat_t
*
p_bat
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherBATSections
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_decoder
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeBATSections
(
dvbpsi_bat_t
*
p_bat
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of bat_private.h"
#error "Multiple inclusions of bat_private.h"
#endif
#endif
src/tables/cat.h
View file @
4269a6bb
...
@@ -179,36 +179,6 @@ dvbpsi_descriptor_t* dvbpsi_cat_descriptor_add(dvbpsi_cat_t* p_cat,
...
@@ -179,36 +179,6 @@ dvbpsi_descriptor_t* dvbpsi_cat_descriptor_add(dvbpsi_cat_t* p_cat,
*/
*/
dvbpsi_psi_section_t
*
dvbpsi_cat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_cat_t
*
p_cat
);
dvbpsi_psi_section_t
*
dvbpsi_cat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_cat_t
*
p_cat
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
dvbpsi_handle
dvbpsi_AttachCAT
(
dvbpsi_cat_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachCAT
(
dvbpsi_handle
h_dvbpsi
);
__attribute__
((
deprecated
))
void
dvbpsi_InitCAT
(
dvbpsi_cat_t
*
p_cat
,
uint8_t
i_version
,
int
b_current_next
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyCAT
(
dvbpsi_cat_t
*
p_cat
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_CATAddDescriptor
(
dvbpsi_cat_t
*
p_cat
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenCATSections
(
dvbpsi_cat_t
*
p_cat
);
#define dvbpsi_NewCAT(p_cat, i_version, b_current_next) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteCAT(p_cat) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/cat_private.h
View file @
4269a6bb
...
@@ -62,15 +62,6 @@ void dvbpsi_cat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sect
...
@@ -62,15 +62,6 @@ void dvbpsi_cat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sect
void
dvbpsi_cat_sections_decode
(
dvbpsi_cat_t
*
p_cat
,
void
dvbpsi_cat_sections_decode
(
dvbpsi_cat_t
*
p_cat
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherCATSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeCATSections
(
dvbpsi_cat_t
*
p_cat
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of cat_private.h"
#error "Multiple inclusions of cat_private.h"
#endif
#endif
...
...
src/tables/eit.h
View file @
4269a6bb
...
@@ -273,41 +273,6 @@ dvbpsi_descriptor_t* dvbpsi_eit_event_descriptor_add(
...
@@ -273,41 +273,6 @@ dvbpsi_descriptor_t* dvbpsi_eit_event_descriptor_add(
dvbpsi_psi_section_t
*
dvbpsi_eit_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_eit_t
*
p_eit
,
dvbpsi_psi_section_t
*
dvbpsi_eit_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_eit_t
*
p_eit
,
uint8_t
i_table_id
);
uint8_t
i_table_id
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachEIT
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_eit_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachEIT
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_InitEIT
(
dvbpsi_eit_t
*
p_eit
,
uint16_t
i_service_id
,
uint8_t
i_version
,
int
b_current_next
,
uint16_t
i_ts_id
,
uint16_t
i_network_id
,
uint8_t
i_segment_last_section_number
,
uint8_t
i_last_table_id
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyEIT
(
dvbpsi_eit_t
*
p_eit
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_EITEventAddDescriptor
(
dvbpsi_eit_event_t
*
p_event
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_eit_event_t
*
dvbpsi_EITAddEvent
(
dvbpsi_eit_t
*
p_eit
,
uint16_t
i_event_id
,
uint64_t
i_start_time
,
uint32_t
i_duration
,
uint8_t
i_running_status
,
int
b_free_ca
);
#define dvbpsi_NewEIT(p_eit, i_service_id, i_version, b_current_next, i_ts_id, i_network_id, i_segment_last_section_number, i_last_table_id) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteEIT(p_eit) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/eit_private.h
View file @
4269a6bb
...
@@ -64,17 +64,6 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi,
...
@@ -64,17 +64,6 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi,
void
dvbpsi_eit_sections_decode
(
dvbpsi_eit_t
*
p_eit
,
void
dvbpsi_eit_sections_decode
(
dvbpsi_eit_t
*
p_eit
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherEITSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_private_decoder
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeEITSections
(
dvbpsi_eit_t
*
p_eit
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of eit_private.h"
#error "Multiple inclusions of eit_private.h"
#endif
#endif
...
...
src/tables/nit.h
View file @
4269a6bb
...
@@ -260,45 +260,6 @@ dvbpsi_descriptor_t* dvbpsi_nit_ts_descriptor_add(dvbpsi_nit_ts_t* p_ts,
...
@@ -260,45 +260,6 @@ dvbpsi_descriptor_t* dvbpsi_nit_ts_descriptor_add(dvbpsi_nit_ts_t* p_ts,
dvbpsi_psi_section_t
*
dvbpsi_nit_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_nit_t
*
p_nit
,
dvbpsi_psi_section_t
*
dvbpsi_nit_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_nit_t
*
p_nit
,
uint8_t
i_table_id
);
uint8_t
i_table_id
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachNIT
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_nit_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachNIT
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_InitNIT
(
dvbpsi_nit_t
*
p_nit
,
uint16_t
i_network_id
,
uint8_t
i_version
,
int
b_current_next
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyNIT
(
dvbpsi_nit_t
*
p_nit
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_NITAddDescriptor
(
dvbpsi_nit_t
*
p_nit
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_nit_ts_t
*
dvbpsi_NITAddTS
(
dvbpsi_nit_t
*
p_nit
,
uint16_t
i_ts_id
,
uint16_t
i_orig_network_id
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_NITTSAddDescriptor
(
dvbpsi_nit_ts_t
*
p_ts
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenNITSections
(
dvbpsi_nit_t
*
p_nit
,
uint8_t
i_table_id
);
#define dvbpsi_NewNIT(p_nit, i_network_id, i_version, b_current_next) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteNIT(p_nit) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/nit_private.h
View file @
4269a6bb
...
@@ -66,15 +66,6 @@ void dvbpsi_nit_sections_gather(dvbpsi_t* p_dvbpsi,
...
@@ -66,15 +66,6 @@ void dvbpsi_nit_sections_gather(dvbpsi_t* p_dvbpsi,
void
dvbpsi_nit_sections_decode
(
dvbpsi_nit_t
*
p_nit
,
void
dvbpsi_nit_sections_decode
(
dvbpsi_nit_t
*
p_nit
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherNITSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_private_decoder
,
dvbpsi_psi_section_t
*
p_section
);
void
dvbpsi_DecodeNITSections
(
dvbpsi_nit_t
*
p_nit
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of nit_private.h"
#error "Multiple inclusions of nit_private.h"
#endif
#endif
...
...
src/tables/pat.h
View file @
4269a6bb
...
@@ -204,33 +204,6 @@ dvbpsi_pat_program_t* dvbpsi_pat_program_add(dvbpsi_pat_t* p_pat,
...
@@ -204,33 +204,6 @@ dvbpsi_pat_program_t* dvbpsi_pat_program_add(dvbpsi_pat_t* p_pat,
dvbpsi_psi_section_t
*
dvbpsi_pat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_psi_section_t
*
dvbpsi_pat_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_pat_t
*
p_pat
,
int
i_max_pps
);
dvbpsi_pat_t
*
p_pat
,
int
i_max_pps
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
dvbpsi_handle
dvbpsi_AttachPAT
(
dvbpsi_pat_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachPAT
(
dvbpsi_handle
h_dvbpsi
);
__attribute__
((
deprecated
))
void
dvbpsi_InitPAT
(
dvbpsi_pat_t
*
p_pat
,
uint16_t
i_ts_id
,
uint8_t
i_version
,
int
b_current_next
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyPAT
(
dvbpsi_pat_t
*
p_pat
);
__attribute__
((
deprecated
))
dvbpsi_pat_program_t
*
dvbpsi_PATAddProgram
(
dvbpsi_pat_t
*
p_pat
,
uint16_t
i_number
,
uint16_t
i_pid
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenPATSections
(
dvbpsi_pat_t
*
p_pat
,
int
i_max_pps
);
#define dvbpsi_NewPAT(p_pat, i_ts_id, i_version, b_current_next) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeletePAT(p_pat) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/pat_private.h
View file @
4269a6bb
...
@@ -60,15 +60,6 @@ void dvbpsi_pat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sect
...
@@ -60,15 +60,6 @@ void dvbpsi_pat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sect
void
dvbpsi_pat_sections_decode
(
dvbpsi_pat_t
*
p_pat
,
void
dvbpsi_pat_sections_decode
(
dvbpsi_pat_t
*
p_pat
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_DecodePATSection
(
dvbpsi_pat_t
*
p_pat
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_GatherPATSections
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of pat_private.h"
#error "Multiple inclusions of pat_private.h"
#endif
#endif
...
...
src/tables/pmt.h
View file @
4269a6bb
...
@@ -253,42 +253,6 @@ dvbpsi_descriptor_t* dvbpsi_pmt_es_descriptor_add(dvbpsi_pmt_es_t* p_es,
...
@@ -253,42 +253,6 @@ dvbpsi_descriptor_t* dvbpsi_pmt_es_descriptor_add(dvbpsi_pmt_es_t* p_es,
*/
*/
dvbpsi_psi_section_t
*
dvbpsi_pmt_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_pmt_t
*
p_pmt
);
dvbpsi_psi_section_t
*
dvbpsi_pmt_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_pmt_t
*
p_pmt
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
dvbpsi_handle
dvbpsi_AttachPMT
(
uint16_t
i_program_number
,
dvbpsi_pmt_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachPMT
(
dvbpsi_handle
h_dvbpsi
);
__attribute__
((
deprecated
))
void
dvbpsi_InitPMT
(
dvbpsi_pmt_t
*
p_pmt
,
uint16_t
i_program_number
,
uint8_t
i_version
,
int
b_current_next
,
uint16_t
i_pcr_pid
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptyPMT
(
dvbpsi_pmt_t
*
p_pmt
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_PMTAddDescriptor
(
dvbpsi_pmt_t
*
p_pmt
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_pmt_es_t
*
dvbpsi_PMTAddES
(
dvbpsi_pmt_t
*
p_pmt
,
uint8_t
i_type
,
uint16_t
i_pid
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_PMTESAddDescriptor
(
dvbpsi_pmt_es_t
*
p_es
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenPMTSections
(
dvbpsi_pmt_t
*
p_pmt
);
#define dvbpsi_NewPMT(p_pmt, i_program_number, i_version, b_current_next, i_pcr_pid) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeletePMT(p_pmt) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/pmt_private.h
View file @
4269a6bb
...
@@ -63,16 +63,6 @@ void dvbpsi_pmt_sections_gather(dvbpsi_t *p_dvbpsi,
...
@@ -63,16 +63,6 @@ void dvbpsi_pmt_sections_gather(dvbpsi_t *p_dvbpsi,
void
dvbpsi_pmt_sections_decode
(
dvbpsi_pmt_t
*
p_pmt
,
void
dvbpsi_pmt_sections_decode
(
dvbpsi_pmt_t
*
p_pmt
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherPMTSections
(
dvbpsi_handle
*
handle
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodePMTSections
(
dvbpsi_pmt_t
*
p_pmt
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of pmt_private.h"
#error "Multiple inclusions of pmt_private.h"
#endif
#endif
...
...
src/tables/sdt.h
View file @
4269a6bb
...
@@ -253,42 +253,6 @@ dvbpsi_descriptor_t *dvbpsi_sdt_service_descriptor_add(
...
@@ -253,42 +253,6 @@ dvbpsi_descriptor_t *dvbpsi_sdt_service_descriptor_add(
*/
*/
dvbpsi_psi_section_t
*
dvbpsi_sdt_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sdt_t
*
p_sdt
);
dvbpsi_psi_section_t
*
dvbpsi_sdt_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sdt_t
*
p_sdt
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachSDT
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_sdt_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachSDT
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_InitSDT
(
dvbpsi_sdt_t
*
p_sdt
,
uint16_t
i_ts_id
,
uint8_t
i_version
,
int
b_current_next
,
uint16_t
i_network_id
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptySDT
(
dvbpsi_sdt_t
*
p_sdt
);
__attribute__
((
deprecated
))
dvbpsi_sdt_service_t
*
dvbpsi_SDTAddService
(
dvbpsi_sdt_t
*
p_sdt
,
uint16_t
i_service_id
,
int
b_eit_schedule
,
int
b_eit_present
,
uint8_t
i_running_status
,
int
b_free_ca
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_SDTServiceAddDescriptor
(
dvbpsi_sdt_service_t
*
p_service
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenSDTSections
(
dvbpsi_sdt_t
*
p_sdt
);
#define dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_id) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteSDT(p_sdt) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/sdt_private.h
View file @
4269a6bb
...
@@ -62,17 +62,6 @@ void dvbpsi_sdt_sections_gather(dvbpsi_t *p_dvbpsi,
...
@@ -62,17 +62,6 @@ void dvbpsi_sdt_sections_gather(dvbpsi_t *p_dvbpsi,
void
dvbpsi_sdt_sections_decode
(
dvbpsi_sdt_t
*
p_sdt
,
void
dvbpsi_sdt_sections_decode
(
dvbpsi_sdt_t
*
p_sdt
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherSDTSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_private_decoder
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeSDTSections
(
dvbpsi_sdt_t
*
p_sdt
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of sdt_private.h"
#error "Multiple inclusions of sdt_private.h"
#endif
#endif
...
...
src/tables/sis.h
View file @
4269a6bb
...
@@ -463,36 +463,6 @@ dvbpsi_descriptor_t *dvbpsi_sis_descriptor_add(dvbpsi_sis_t *p_sis,
...
@@ -463,36 +463,6 @@ dvbpsi_descriptor_t *dvbpsi_sis_descriptor_add(dvbpsi_sis_t *p_sis,
*/
*/
dvbpsi_psi_section_t
*
dvbpsi_sis_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sis_t
*
p_sis
);
dvbpsi_psi_section_t
*
dvbpsi_sis_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sis_t
*
p_sis
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachSIS
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_sis_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachSIS
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_InitSIS
(
dvbpsi_sis_t
*
p_sis
,
uint8_t
i_protocol_version
);
__attribute__
((
deprecated
))
void
dvbpsi_EmptySIS
(
dvbpsi_sis_t
*
p_sis
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_SISAddDescriptor
(
dvbpsi_sis_t
*
p_sis
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenSISSections
(
dvbpsi_sis_t
*
p_sis
);
#define dvbpsi_NewSIS(p_sis, i_protocol_version) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteSIS(p_sis) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/sis_private.h
View file @
4269a6bb
...
@@ -62,16 +62,6 @@ void dvbpsi_sis_sections_gather(dvbpsi_t* p_dvbpsi,
...
@@ -62,16 +62,6 @@ void dvbpsi_sis_sections_gather(dvbpsi_t* p_dvbpsi,
void
dvbpsi_sis_sections_decode
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sis_t
*
p_sis
,
void
dvbpsi_sis_sections_decode
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_sis_t
*
p_sis
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherSISSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_decoder
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeSISSections
(
dvbpsi_sis_t
*
p_sis
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of sis_private.h"
#error "Multiple inclusions of sis_private.h"
#endif
#endif
src/tables/tot.h
View file @
4269a6bb
...
@@ -195,36 +195,6 @@ dvbpsi_descriptor_t* dvbpsi_tot_descriptor_add(dvbpsi_tot_t* p_tot,
...
@@ -195,36 +195,6 @@ dvbpsi_descriptor_t* dvbpsi_tot_descriptor_add(dvbpsi_tot_t* p_tot,
*/
*/
dvbpsi_psi_section_t
*
dvbpsi_tot_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_tot_t
*
p_tot
);
dvbpsi_psi_section_t
*
dvbpsi_tot_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_tot_t
*
p_tot
);
/*****************************************************************************
* deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
int
dvbpsi_AttachTOT
(
dvbpsi_decoder_t
*
p_psi_decoder
,
uint8_t
i_table_id
,
uint16_t
i_extension
,
dvbpsi_tot_callback
pf_callback
,
void
*
p_cb_data
);
__attribute__
((
deprecated
))
void
dvbpsi_DetachTOT
(
dvbpsi_demux_t
*
p_demux
,
uint8_t
i_table_id
,
uint16_t
i_extension
);
__attribute__
((
deprecated
))
void
dvbpsi_NewTOT
(
dvbpsi_tot_t
*
p_tot
,
uint64_t
i_utc_time
);
__attribute__
((
deprecated
))
void
dvbpsi_DeleteTOT
(
dvbpsi_tot_t
*
p_tot
);
__attribute__
((
deprecated
))
dvbpsi_descriptor_t
*
dvbpsi_TOTAddDescriptor
(
dvbpsi_tot_t
*
p_tot
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
__attribute__
((
deprecated
))
dvbpsi_psi_section_t
*
dvbpsi_GenTOTSections
(
dvbpsi_tot_t
*
p_tot
);
#define dvbpsi_NewTOT(p_tot, i_utc_time) \
do { \
DEPRECATED_MACRO \
} while (0);
#define dvbpsi_DeleteTOT(p_tot) \
do { \
DEPRECATED_MACRO \
} while (0);
#ifdef __cplusplus
#ifdef __cplusplus
};
};
#endif
#endif
...
...
src/tables/tot_private.h
View file @
4269a6bb
...
@@ -66,17 +66,6 @@ void dvbpsi_tot_sections_gather(dvbpsi_t* p_dvbpsi,
...
@@ -66,17 +66,6 @@ void dvbpsi_tot_sections_gather(dvbpsi_t* p_dvbpsi,
void
dvbpsi_tot_sections_decode
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_tot_t
*
p_tot
,
void
dvbpsi_tot_sections_decode
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_tot_t
*
p_tot
,
dvbpsi_psi_section_t
*
p_section
);
dvbpsi_psi_section_t
*
p_section
);
/*****************************************************************************
* Deprecated API's
*****************************************************************************/
__attribute__
((
deprecated
))
void
dvbpsi_GatherTOTSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_decoder_t
*
p_decoder
,
dvbpsi_psi_section_t
*
p_section
);
__attribute__
((
deprecated
))
void
dvbpsi_DecodeTOTSections
(
dvbpsi_handle
*
p_dvbpsi
,
dvbpsi_tot_t
*
p_tot
,
dvbpsi_psi_section_t
*
p_section
);
#else
#else
#error "Multiple inclusions of tot_private.h"
#error "Multiple inclusions of tot_private.h"
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment