Application interface for the BAT decoder.
More...
Go to the source code of this file.
|
| __attribute__ ((deprecated)) int dvbpsi_AttachBAT(dvbpsi_decoder_t *p_psi_decoder |
|
|
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.
- Author
- Zhu zhenglu zhuzl.nosp@m.u@gm.nosp@m.ail.c.nosp@m.om Application interface for the BAT decoder. New decoded BAT are sent by callback to the application. If a table wasn't active (b_current_next == 0) and the next is the same but active (b_current_next == 1) then the service description list is empty and should be caught from the previous structure. This is a simulation to sdt.h
#define dvbpsi_DeleteBAT |
( |
|
p_bat | ) |
|
Value:do { \
dvbpsi_EmptyBAT(p_bat); \
free(p_bat); \
} while(0);
Clean and free a dvbpsi_bat_t structure.
- Parameters
-
p_bat | pointer to the BAT structure |
- Returns
- nothing.
#define dvbpsi_NewBAT |
( |
|
p_bat, |
|
|
|
i_bouquet_id, |
|
|
|
i_version, |
|
|
|
b_current_next |
|
) |
| |
Value:do { \
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.
- Parameters
-
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 |
- Returns
- nothing.