libdvbpsi 0.2.0
|
Application interface for the BAT decoder. More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_bat_ts_s |
BAT transport stream description structure. More... | |
struct | dvbpsi_bat_s |
BAT structure. More... | |
Defines | |
#define | dvbpsi_NewBAT(p_bat, i_bouquet_id, i_version, b_current_next) |
Allocate and initialize a new dvbpsi_bat_t structure. | |
#define | dvbpsi_DeleteBAT(p_bat) |
Clean and free a dvbpsi_bat_t structure. | |
Typedefs | |
typedef struct dvbpsi_bat_ts_s | dvbpsi_bat_ts_t |
dvbpsi_bat_ts_t type definition. | |
typedef struct dvbpsi_bat_s | dvbpsi_bat_t |
dvbpsi_bat_t type definition. | |
typedef void(* | dvbpsi_bat_callback )(void *p_cb_data, dvbpsi_bat_t *p_new_bat) |
Callback type definition. | |
Functions | |
__attribute__ ((deprecated)) int dvbpsi_AttachBAT(dvbpsi_decoder_t *p_psi_decoder | |
Variables | |
uint8_t | i_table_id |
uint8_t uint16_t | i_extension |
uint8_t uint16_t dvbpsi_bat_callback | pf_callback |
uint8_t uint16_t dvbpsi_bat_callback void * | p_cb_data |
uint16_t | i_bouquet_id |
uint16_t uint8_t | i_version |
uint16_t uint8_t int | b_current_next |
Application interface for the BAT decoder.
#define dvbpsi_DeleteBAT | ( | p_bat | ) |
do { \ dvbpsi_EmptyBAT(p_bat); \ free(p_bat); \ } while(0);
Clean and free a dvbpsi_bat_t structure.
p_bat | pointer to the BAT structure |
#define dvbpsi_NewBAT | ( | p_bat, | |
i_bouquet_id, | |||
i_version, | |||
b_current_next | |||
) |
do { \ p_bat = (dvbpsi_bat_t*)malloc(sizeof(dvbpsi_bat_t)); \ if(p_bat != NULL) \ dvbpsi_InitBAT(p_bat, i_bouquet_id, i_version, b_current_next); \ } while(0);
Allocate and initialize a new dvbpsi_bat_t structure.
p_bat | pointer to the BAT structure |
i_bouquet_id | bouquet ID |
i_version | BAT version |
b_current_next | current next indicator |
i_network_id | original network id |