libdvbpsi
2.0.0-git
MPEG Transport Stream PSI table parser
|
Decode PSIP Extented Text Table (ATSC ETT). More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_atsc_ett_s |
ATSC ETT structure. More... | |
Typedefs | |
typedef struct dvbpsi_atsc_ett_s | dvbpsi_atsc_ett_t |
dvbpsi_atsc_ett_t type definition. More... | |
typedef void(* | dvbpsi_atsc_ett_callback) (void *p_priv, dvbpsi_atsc_ett_t *p_new_ett) |
Callback type definition. | |
Functions | |
bool | dvbpsi_atsc_ett_attach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_ett_callback pf_callback, void *p_priv) |
__attribute__ ((deprecated, unused)) inline bool dvbpsi_atsc_AttachETT(dvbpsi_t *p_dvbpsi | |
dvbpsi_atsc_AttachETT is deprecated use More... | |
void | dvbpsi_atsc_ett_detach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
Destroy a ETT decoder. More... | |
void | dvbpsi_atsc_ett_init (dvbpsi_atsc_ett_t *p_ett, uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, uint32_t i_etm_id, bool b_current_next) |
Initialize a user-allocated dvbpsi_atsc_ett_t structure. More... | |
dvbpsi_atsc_ett_t * | dvbpsi_atsc_ett_new (uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, uint32_t i_etm_id, bool b_current_next) |
Allocate and initialize a new dvbpsi_atsc_ett_t structure. Use ObjectRefDec to delete it. More... | |
void | dvbpsi_atsc_ett_empty (dvbpsi_atsc_ett_t *p_ett) |
Clean a dvbpsi_atsc_ett_t structure. More... | |
void | dvbpsi_atsc_ett_delete (dvbpsi_atsc_ett_t *p_ett) |
Clean and free a dvbpsi_atsc_ett_t structure. More... | |
Variables | |
uint8_t | i_table_id |
uint8_t uint16_t | i_extension |
uint8_t uint16_t dvbpsi_atsc_ett_callback | pf_callback |
uint8_t uint16_t dvbpsi_atsc_ett_callback void * | p_priv |
uint8_t uint16_t uint8_t | i_version |
uint8_t uint16_t uint8_t uint8_t | i_protocol |
uint8_t uint16_t uint8_t uint8_t uint32_t | i_etm_id |
uint8_t uint16_t uint8_t uint8_t uint32_t bool | b_current_next |
Decode PSIP Extented Text Table (ATSC ETT).
dvbpsi_atsc_ett_t type definition.
This structure is used to store a decoded ETT. (ATSC document A/56-2009, section 6.6.)
__attribute__ | ( | (deprecated, unused) | ) |
dvbpsi_atsc_AttachETT is deprecated use
dvbpsi_atsc_DetachEIT is deprecated use
dvbpsi_atsc_DeleteETT is deprecated use
dvbpsi_atsc_EmptyETT is deprecated use
dvbpsi_atsc_NewETT is deprecated use
dvbpsi_atsc_InitETT is deprecated use
dvbpsi_atsc_DetachETT is deprecated use
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xCC. |
i_extension | Table ID extension, normally 0x0000. |
pf_callback | function to call back on new ETT. |
p_priv | private data given in argument to the callback. |
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xCD. |
i_extension | Table ID extension, normally 0x0000. |
p_ett | pointer to the ETT structure |
i_table_id | Table ID, 0xCC. |
i_extension | Table ID extension, normally 0x0000. |
i_version | version |
i_protocol | PSIP Protocol version. |
i_etm_id | ETM Identifier. |
b_current_next | current next indicator |
i_table_id | Table ID, 0xCC. |
i_extension | Table ID extension, normally 0x0000. |
i_version | version |
i_protocol | PSIP Protocol version. |
i_etm_id | ETM Identifier. |
b_current_next | current next indicator |
p_ett | pointer to the ETT structure |
p_ett | pointer to the ETT structure |
References dvbpsi_atsc_ett_empty().
void dvbpsi_atsc_ett_delete | ( | dvbpsi_atsc_ett_t * | p_ett | ) |
Clean and free a dvbpsi_atsc_ett_t structure.
p_ett | pointer to the ETT structure |
void dvbpsi_atsc_ett_detach | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension | ||
) |
Destroy a ETT 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, normally 0x0000. |
void dvbpsi_atsc_ett_empty | ( | dvbpsi_atsc_ett_t * | p_ett | ) |
Clean a dvbpsi_atsc_ett_t structure.
p_ett | pointer to the ETT structure |
Referenced by __attribute__().
void dvbpsi_atsc_ett_init | ( | dvbpsi_atsc_ett_t * | p_ett, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
uint8_t | i_version, | ||
uint8_t | i_protocol, | ||
uint32_t | i_etm_id, | ||
bool | b_current_next | ||
) |
Initialize a user-allocated dvbpsi_atsc_ett_t structure.
p_ett | pointer to the ETT structure |
i_table_id | Table ID, 0xCC. |
i_extension | Table ID extension, normally 0x0000. |
i_version | version |
i_protocol | PSIP Protocol version. |
i_etm_id | ETM Identifier. |
b_current_next | current next indicator |
dvbpsi_atsc_ett_t * dvbpsi_atsc_ett_new | ( | uint8_t | i_table_id, |
uint16_t | i_extension, | ||
uint8_t | i_version, | ||
uint8_t | i_protocol, | ||
uint32_t | i_etm_id, | ||
bool | b_current_next | ||
) |
Allocate and initialize a new dvbpsi_atsc_ett_t structure. Use ObjectRefDec to delete it.
i_table_id | Table ID, 0xCC. |
i_extension | Table ID extension, normally 0x0000. |
i_version | version |
i_protocol | PSIP Protocol version. |
i_etm_id | ETM Identifier. |
b_current_next | current next indicator |
uint16_t uint8_t uint8_t uint32_t bool b_current_next |
uint16_t i_extension |
uint8_t uint16_t dvbpsi_atsc_ett_callback void* p_priv |