|
libdvbpsi
0.2.2
|
Application interface for the TDT/TOT decoder and the TDT/TOT generator. More...
Go to the source code of this file.
Data Structures | |
| struct | dvbpsi_tot_s |
| TDT/TOT structure. More... | |
Macros | |
| #define | dvbpsi_NewTOT(p_tot, i_utc_time) |
| Allocate and initialize a new dvbpsi_tot_t structure. More... | |
| #define | dvbpsi_DeleteTOT(p_tot) |
| Clean and free a dvbpsi_tot_t structure. More... | |
Typedefs | |
| typedef struct dvbpsi_tot_s | dvbpsi_tot_t |
| dvbpsi_tot_t type definition. | |
| typedef void(* | dvbpsi_tot_callback )(void *p_cb_data, dvbpsi_tot_t *p_new_tot) |
| Callback type definition. | |
Functions | |
| 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) |
| void | dvbpsi_DetachTOT (dvbpsi_demux_t *p_demux, uint8_t i_table_id, uint16_t i_extension) |
| void | dvbpsi_InitTOT (dvbpsi_tot_t *p_tot, uint64_t i_utc_time) |
| void | dvbpsi_EmptyTOT (dvbpsi_tot_t *p_tot) |
| Clean a dvbpsi_tot_t structure. More... | |
| dvbpsi_descriptor_t * | dvbpsi_TOTAddDescriptor (dvbpsi_tot_t *p_tot, uint8_t i_tag, uint8_t i_length, uint8_t *p_data) |
| Add a descriptor in the TOT. More... | |
| dvbpsi_psi_section_t * | dvbpsi_GenTOTSections (dvbpsi_tot_t *p_tot) |
Application interface for the TDT/TOT decoder and the TDT/TOT generator.
| #define dvbpsi_DeleteTOT | ( | p_tot | ) |
Clean and free a dvbpsi_tot_t structure.
| p_tot | pointer to the TDT/TOT structure |
| #define dvbpsi_NewTOT | ( | p_tot, | |
| i_utc_time | |||
| ) |
Allocate and initialize a new dvbpsi_tot_t structure.
| p_tot | pointer to the TDT/TOT structure |
| i_utc_time | the time in UTC |
| void dvbpsi_EmptyTOT | ( | dvbpsi_tot_t * | p_tot | ) |
Clean a dvbpsi_tot_t structure.
| p_tot | pointer to the TDT/TOT structure |
| dvbpsi_descriptor_t * dvbpsi_TOTAddDescriptor | ( | dvbpsi_tot_t * | p_tot, |
| uint8_t | i_tag, | ||
| uint8_t | i_length, | ||
| uint8_t * | p_data | ||
| ) |
Add a descriptor in the TOT.
| p_tot | pointer to the TOT structure |
| i_tag | descriptor's tag |
| i_length | descriptor's length |
| p_data | descriptor's data |
1.8.5