libdvbpsi 0.2.0
|
Application interface for the SDT decoder and the SDT generator. More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_sdt_service_s |
SDT service description structure. More... | |
struct | dvbpsi_sdt_s |
SDT structure. More... | |
Defines | |
#define | dvbpsi_NewSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_id) |
Allocate and initialize a new dvbpsi_sdt_t structure. | |
#define | dvbpsi_DeleteSDT(p_sdt) |
Clean and free a dvbpsi_sdt_t structure. | |
Typedefs | |
typedef struct dvbpsi_sdt_service_s | dvbpsi_sdt_service_t |
dvbpsi_sdt_service_t type definition. | |
typedef struct dvbpsi_sdt_s | dvbpsi_sdt_t |
dvbpsi_sdt_t type definition. | |
typedef void(* | dvbpsi_sdt_callback )(void *p_cb_data, dvbpsi_sdt_t *p_new_sdt) |
Callback type definition. | |
Functions | |
__attribute__ ((deprecated)) int dvbpsi_AttachSDT(dvbpsi_decoder_t *p_psi_decoder | |
dvbpsi_psi_section_t * | dvbpsi_GenSDTSections (dvbpsi_sdt_t *p_sdt) |
Variables | |
uint8_t | i_table_id |
uint8_t uint16_t | i_extension |
uint8_t uint16_t dvbpsi_sdt_callback | pf_callback |
uint8_t uint16_t dvbpsi_sdt_callback void * | p_cb_data |
uint16_t | i_ts_id |
uint16_t uint8_t | i_version |
uint16_t uint8_t int | b_current_next |
uint16_t uint8_t int uint16_t | i_network_id |
uint16_t | i_service_id |
uint16_t int | b_eit_schedule |
uint16_t int int | b_eit_present |
uint16_t int int uint8_t | i_running_status |
uint16_t int int uint8_t int | b_free_ca |
uint8_t | i_tag |
uint8_t uint8_t | i_length |
uint8_t uint8_t uint8_t * | p_data |
Application interface for the SDT decoder and the SDT generator.
>
#define dvbpsi_DeleteSDT | ( | p_sdt | ) |
do { \ dvbpsi_EmptySDT(p_sdt); \ free(p_sdt); \ } while(0);
Clean and free a dvbpsi_sdt_t structure.
p_sdt | pointer to the SDT structure |
#define dvbpsi_NewSDT | ( | p_sdt, | |
i_ts_id, | |||
i_version, | |||
b_current_next, | |||
i_network_id | |||
) |
do { \ p_sdt = (dvbpsi_sdt_t*)malloc(sizeof(dvbpsi_sdt_t)); \ if(p_sdt != NULL) \ dvbpsi_InitSDT(p_sdt, i_ts_id, i_version, b_current_next, i_network_id); \ } while(0);
Allocate and initialize a new dvbpsi_sdt_t structure.
p_sdt | pointer to the SDT structure |
i_ts_id | transport stream ID |
i_version | SDT version |
b_current_next | current next indicator |
i_network_id | original network id |