|
libdvbpsi
1.1.1
|
Decode PSIP Event Information Table (ATSC EIT). More...
Go to the source code of this file.
Data Structures | |
| struct | dvbpsi_atsc_eit_event_s |
| ATSC EIT Event structure. More... | |
| struct | dvbpsi_atsc_eit_s |
| ATSC EIT structure. More... | |
Typedefs | |
|
typedef struct dvbpsi_atsc_eit_event_s | dvbpsi_atsc_eit_event_t |
| dvbpsi_atsc_eit_event_t type definition. | |
| typedef struct dvbpsi_atsc_eit_s | dvbpsi_atsc_eit_t |
| dvbpsi_atsc_eit_t type definition. | |
| typedef void(* | dvbpsi_atsc_eit_callback )(void *p_cb_data, dvbpsi_atsc_eit_t *p_new_eit) |
| Callback type definition. | |
Functions | |
| bool | dvbpsi_atsc_AttachEIT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_eit_callback pf_callback, void *p_cb_data) |
| Creation and initialization of a EIT decoder. | |
| void | dvbpsi_atsc_DetachEIT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
| Destroy a EIT decoder. | |
| void | dvbpsi_atsc_InitEIT (dvbpsi_atsc_eit_t *p_eit, uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, uint16_t i_source_id, bool b_current_next) |
| Initialize a user-allocated dvbpsi_atsc_eit_t structure. | |
| dvbpsi_atsc_eit_t * | dvbpsi_atsc_NewEIT (uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, uint16_t i_source_id, bool b_current_next) |
| Allocate and initialize a new dvbpsi_eit_t structure. Use ObjectRefDec to delete it. | |
| void | dvbpsi_atsc_EmptyEIT (dvbpsi_atsc_eit_t *p_eit) |
| Clean a dvbpsi_eit_t structure. | |
| void | dvbpsi_atsc_DeleteEIT (dvbpsi_atsc_eit_t *p_eit) |
| Clean and free a dvbpsi_eit_t structure. | |
Decode PSIP Event Information Table (ATSC EIT).
| bool dvbpsi_atsc_AttachEIT | ( | dvbpsi_t * | p_dvbpsi, |
| uint8_t | i_table_id, | ||
| uint16_t | i_extension, | ||
| dvbpsi_atsc_eit_callback | pf_callback, | ||
| void * | p_cb_data | ||
| ) |
Creation and initialization of a EIT decoder.
| p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
| i_table_id | Table ID, 0xCB. |
| i_extension | Table ID extension, here TS ID. |
| pf_callback | function to call back on new EIT. |
| p_cb_data | private data given in argument to the callback. |
| void dvbpsi_atsc_DeleteEIT | ( | dvbpsi_atsc_eit_t * | p_eit | ) |
Clean and free a dvbpsi_eit_t structure.
| p_eit | pointer to the EIT structure |
| void dvbpsi_atsc_DetachEIT | ( | dvbpsi_t * | p_dvbpsi, |
| uint8_t | i_table_id, | ||
| uint16_t | i_extension | ||
| ) |
Destroy a EIT decoder.
| p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached. |
| i_table_id | Table ID, 0xCB. |
| i_extension | Table ID extension, here TS ID. |
| void dvbpsi_atsc_EmptyEIT | ( | dvbpsi_atsc_eit_t * | p_eit | ) |
Clean a dvbpsi_eit_t structure.
| p_eit | pointer to the EIT structure |
| void dvbpsi_atsc_InitEIT | ( | dvbpsi_atsc_eit_t * | p_eit, |
| uint8_t | i_table_id, | ||
| uint16_t | i_extension, | ||
| uint8_t | i_version, | ||
| uint8_t | i_protocol, | ||
| uint16_t | i_source_id, | ||
| bool | b_current_next | ||
| ) |
Initialize a user-allocated dvbpsi_atsc_eit_t structure.
| p_eit | pointer to the EIT structure |
| i_table_id | Table ID, 0xCB. |
| i_extension | Table ID extension, here TS ID. |
| i_version | EIT version |
| i_protocol | PSIP Protocol version. |
| i_source_id | Source id. |
| b_current_next | current next indicator |
| dvbpsi_atsc_eit_t * dvbpsi_atsc_NewEIT | ( | uint8_t | i_table_id, |
| uint16_t | i_extension, | ||
| uint8_t | i_version, | ||
| uint8_t | i_protocol, | ||
| uint16_t | i_source_id, | ||
| bool | b_current_next | ||
| ) |
Allocate and initialize a new dvbpsi_eit_t structure. Use ObjectRefDec to delete it.
| i_table_id | Table ID, 0xCB. |
| i_extension | Table ID extension, here TS ID. |
| i_version | EIT version |
| i_protocol | PSIP Protocol version. |
| i_source_id | Source id. |
| b_current_next | current next indicator |
1.8.1.2