libdvbpsi
1.3.1
|
Decode PSIP System Time Table (ATSC STT). More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_atsc_stt_s |
STT structure. More... | |
Typedefs | |
typedef struct dvbpsi_atsc_stt_s | dvbpsi_atsc_stt_t |
dvbpsi_atsc_stt_t type definition. | |
typedef void(* | dvbpsi_atsc_stt_callback) (void *p_cb_data, dvbpsi_atsc_stt_t *p_new_stt) |
Callback type definition. | |
Functions | |
bool | dvbpsi_atsc_AttachSTT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_stt_callback pf_stt_callback, void *p_cb_data) |
Creation and initialization of a STT decoder. More... | |
void | dvbpsi_atsc_DetachSTT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_externsion) |
Destroy a STT decoder. More... | |
void | dvbpsi_atsc_InitSTT (dvbpsi_atsc_stt_t *p_stt, uint8_t i_table_id, uint16_t i_extension, uint8_t i_protocol, bool b_current_next) |
Initialize a user-allocated dvbpsi_atsc_stt_t structure. More... | |
dvbpsi_atsc_stt_t * | dvbpsi_atsc_NewSTT (uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, bool b_current_next) |
Allocate and initialize a new dvbpsi_atsc_stt_t structure. Use ObjectRefDec to delete it. More... | |
void | dvbpsi_atsc_EmptySTT (dvbpsi_atsc_stt_t *p_stt) |
Clean a dvbpsi_atsc_stt_t structure. More... | |
void | dvbpsi_atsc_DeleteSTT (dvbpsi_atsc_stt_t *p_stt) |
Clean and free a dvbpsi_atsc_stt_t structure. More... | |
Decode PSIP System Time Table (ATSC STT).
bool dvbpsi_atsc_AttachSTT | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
dvbpsi_atsc_stt_callback | pf_stt_callback, | ||
void * | p_cb_data | ||
) |
Creation and initialization of a STT decoder.
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xCD. |
i_extension | Table ID extension, here it should be 0. |
pf_stt_callback | function to call back on new STT. |
p_cb_data | private data given in argument to the callback. |
dvbpsi_atsc_DeleteSTT | ( | dvbpsi_atsc_stt_t * | p_stt | ) |
Clean and free a dvbpsi_atsc_stt_t structure.
p_stt | pointer to the STT structure |
void dvbpsi_atsc_DetachSTT | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension | ||
) |
Destroy a STT decoder.
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached. |
i_table_id | Table ID, 0xCD. |
i_extension | Table extension, ignored as this should always be 0. (Required to match prototype for demux) |
void dvbpsi_atsc_EmptySTT | ( | dvbpsi_atsc_stt_t * | p_stt | ) |
Clean a dvbpsi_atsc_stt_t structure.
p_stt | pointer to the STT structure |
void dvbpsi_atsc_InitSTT | ( | dvbpsi_atsc_stt_t * | p_stt, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
uint8_t | i_protocol, | ||
bool | b_current_next | ||
) |
Initialize a user-allocated dvbpsi_atsc_stt_t structure.
p_stt | pointer to the STT structure |
i_table_id | Table ID, 0xCD. |
i_extension | Table extension, ignored as this should always be 0. |
i_protocol | PSIP Protocol version. |
b_current_next | current next indicator |
dvbpsi_atsc_stt_t * dvbpsi_atsc_NewSTT | ( | uint8_t | i_table_id, |
uint16_t | i_extension, | ||
uint8_t | i_version, | ||
bool | b_current_next | ||
) |
Allocate and initialize a new dvbpsi_atsc_stt_t structure. Use ObjectRefDec to delete it.
i_table_id | Table ID, 0xCD. |
i_extension | Table extension, ignored as this should always be 0. |
i_version | PSIP Protocol version. |
b_current_next | current next indicator |