libdvbpsi
2.0.0-git
MPEG Transport Stream PSI table parser
|
Decode PSIP Master Guide Table (ATSC MGT). More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_atsc_mgt_table_s |
MGT table structure. More... | |
struct | dvbpsi_atsc_mgt_s |
MGT structure. More... | |
Typedefs | |
typedef struct dvbpsi_atsc_mgt_table_s | dvbpsi_atsc_mgt_table_t |
dvbpsi_atsc_mgt_table_t type definition. | |
typedef struct dvbpsi_atsc_mgt_s | dvbpsi_atsc_mgt_t |
dvbpsi_atsc_mgt_t type definition. | |
typedef void(* | dvbpsi_atsc_mgt_callback) (void *p_priv, dvbpsi_atsc_mgt_t *p_new_mgt) |
Callback type definition. | |
Functions | |
bool | dvbpsi_atsc_mgt_attach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_mgt_callback pf_callback, void *p_priv) |
__attribute__ ((deprecated, unused)) inline bool dvbpsi_atsc_AttachMGT(dvbpsi_t *p_dvbpsi | |
dvbpsi_atsc_AttachMGT is deprecated use More... | |
void | dvbpsi_atsc_mgt_detach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
Destroy a MGT decoder. More... | |
void | dvbpsi_atsc_mgt_init (dvbpsi_atsc_mgt_t *p_mgt, uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, bool b_current_next) |
Initialize a user-allocated dvbpsi_atsc_mgt_t structure. More... | |
dvbpsi_atsc_mgt_t * | dvbpsi_atsc_mgt_new (uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, uint8_t i_protocol, bool b_current_next) |
Allocate and initialize a new dvbpsi_mgt_t structure. More... | |
void | dvbpsi_atsc_mgt_empty (dvbpsi_atsc_mgt_t *p_mgt) |
Clean a dvbpsi_mgt_t structure. More... | |
void | dvbpsi_atsc_mgt_delete (dvbpsi_atsc_mgt_t *p_mgt) |
Clean and free a dvbpsi_mgt_t structure. More... | |
Variables | |
uint8_t | i_table_id |
uint8_t uint16_t | i_extension |
uint8_t uint16_t dvbpsi_atsc_mgt_callback | pf_callback |
uint8_t uint16_t dvbpsi_atsc_mgt_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 bool | b_current_next |
Decode PSIP Master Guide Table (ATSC MGT).
__attribute__ | ( | (deprecated, unused) | ) |
dvbpsi_atsc_AttachMGT is deprecated use
dvbpsi_atsc_DetachEIT is deprecated use
dvbpsi_atsc_DeleteMGT is deprecated use
dvbpsi_atsc_EmptyMGT is deprecated use
dvbpsi_atsc_NewMGT is deprecated use
dvbpsi_atsc_InitMGT is deprecated use
dvbpsi_atsc_DetachMGT is deprecated use
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
pf_callback | function to call back on new MGT. |
p_priv | private data given in argument to the callback. |
Destroy a MGT decoder.
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
p_mgt | pointer to the MGT structure |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
i_version | MGT version |
i_protocol | PSIP Protocol version. |
b_current_next | current next indicator |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
i_version | MGT version |
i_protocol | PSIP Protocol version. |
b_current_next | current next indicator |
p_mgt | pointer to the MGT structure |
Clean and free a dvbpsi_mgt_t structure.
p_mgt | pointer to the MGT structure |
References dvbpsi_atsc_mgt_empty().
void dvbpsi_atsc_mgt_delete | ( | dvbpsi_atsc_mgt_t * | p_mgt | ) |
Clean and free a dvbpsi_mgt_t structure.
p_mgt | pointer to the MGT structure |
void dvbpsi_atsc_mgt_detach | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension | ||
) |
Destroy a MGT decoder.
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
void dvbpsi_atsc_mgt_empty | ( | dvbpsi_atsc_mgt_t * | p_mgt | ) |
Clean a dvbpsi_mgt_t structure.
p_mgt | pointer to the MGT structure |
Referenced by __attribute__().
void dvbpsi_atsc_mgt_init | ( | dvbpsi_atsc_mgt_t * | p_mgt, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
uint8_t | i_version, | ||
uint8_t | i_protocol, | ||
bool | b_current_next | ||
) |
Initialize a user-allocated dvbpsi_atsc_mgt_t structure.
p_mgt | pointer to the MGT structure |
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
i_version | MGT version |
i_protocol | PSIP Protocol version. |
b_current_next | current next indicator |
dvbpsi_atsc_mgt_t * dvbpsi_atsc_mgt_new | ( | uint8_t | i_table_id, |
uint16_t | i_extension, | ||
uint8_t | i_version, | ||
uint8_t | i_protocol, | ||
bool | b_current_next | ||
) |
Allocate and initialize a new dvbpsi_mgt_t structure.
i_table_id | Table ID, 0xC7. |
i_extension | Table ID extension, here 0x0000. |
i_version | MGT version |
i_protocol | PSIP Protocol version. |
b_current_next | current next indicator |
uint16_t uint8_t uint8_t bool b_current_next |
uint16_t i_extension |
uint8_t uint16_t dvbpsi_atsc_mgt_callback void* p_priv |