libdvbpsi
2.0.0-git
MPEG Transport Stream PSI table parser
|
Decode PSIP Virtual Channel Table. (ATSC VCT). More...
Go to the source code of this file.
Data Structures | |
struct | dvbpsi_atsc_vct_channel_s |
VCT channel structure. More... | |
struct | dvbpsi_atsc_vct_s |
VCT structure. More... | |
Typedefs | |
typedef struct dvbpsi_atsc_vct_channel_s | dvbpsi_atsc_vct_channel_t |
dvbpsi_atsc_vct_channel_t type definition. | |
typedef struct dvbpsi_atsc_vct_s | dvbpsi_atsc_vct_t |
dvbpsi_atsc_vct_t type definition. | |
typedef void(* | dvbpsi_atsc_vct_callback) (void *p_priv, dvbpsi_atsc_vct_t *p_new_vct) |
Callback type definition. | |
Functions | |
bool | dvbpsi_atsc_vct_attach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_vct_callback pf_vct_callback, void *p_priv) |
__attribute__ ((deprecated, unused)) inline bool dvbpsi_atsc_AttachVCT(dvbpsi_t *p_dvbpsi | |
dvbpsi_atsc_AttachVCT is deprecated use More... | |
void | dvbpsi_atsc_vct_detach (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
Destroy a VCT decoder. More... | |
void | dvbpsi_atsc_vct_init (dvbpsi_atsc_vct_t *p_vct, uint8_t i_table_id, uint16_t i_extension, uint8_t i_protocol, bool b_cable_vct, uint8_t i_version, bool b_current_next) |
Initialize a user-allocated dvbpsi_atsc_vct_t structure. More... | |
dvbpsi_atsc_vct_t * | dvbpsi_atsc_vct_new (uint8_t i_table_id, uint16_t i_extension, uint8_t i_protocol, bool b_cable_vct, uint8_t i_version, bool b_current_next) |
Allocate and initialize a new dvbpsi_vct_t structure. More... | |
void | dvbpsi_atsc_vct_empty (dvbpsi_atsc_vct_t *p_vct) |
Clean a dvbpsi_vct_t structure. More... | |
void | dvbpsi_atsc_vct_delete (dvbpsi_atsc_vct_t *p_vct) |
Clean and free a dvbpsi_vct_t structure. More... | |
Variables | |
uint8_t | i_table_id |
uint8_t uint16_t | i_extension |
uint8_t uint16_t dvbpsi_atsc_vct_callback | pf_vct_callback |
uint8_t uint16_t dvbpsi_atsc_vct_callback void * | p_priv |
uint8_t uint16_t uint8_t | i_protocol |
uint8_t uint16_t uint8_t bool | b_cable_vct |
uint8_t uint16_t uint8_t bool uint8_t | i_version |
uint8_t uint16_t uint8_t bool uint8_t bool | b_current_next |
Decode PSIP Virtual Channel Table. (ATSC VCT).
__attribute__ | ( | (deprecated, unused) | ) |
dvbpsi_atsc_AttachVCT is deprecated use
dvbpsi_atsc_DetachEIT is deprecated use
dvbpsi_atsc_DeleteVCT is deprecated use
dvbpsi_atsc_EmptyVCT is deprecated use
dvbpsi_atsc_NewVCT is deprecated use
dvbpsi_atsc_InitVCT is deprecated use
dvbpsi_atsc_DetachVCT is deprecated use
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached. |
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
pf_vct_callback | function to call back on new VCT. |
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, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
i_protocol | PSIP Protocol version. |
b_cable_vct | Whether this is CVCT or a TVCT. |
i_version | VCT version |
b_current_next | current next indicator |
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
i_protocol | PSIP Protocol version. |
b_cable_vct | Whether this is CVCT or a TVCT. |
i_version | VCT version |
b_current_next | current next indicator |
Clean a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
Clean a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
References dvbpsi_atsc_vct_empty().
void dvbpsi_atsc_vct_delete | ( | dvbpsi_atsc_vct_t * | p_vct | ) |
Clean and free a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
void dvbpsi_atsc_vct_detach | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension | ||
) |
Destroy a VCT decoder.
p_dvbpsi | dvbpsi handle to Subtable demultiplexor to which the decoder is attached. |
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
void dvbpsi_atsc_vct_empty | ( | dvbpsi_atsc_vct_t * | p_vct | ) |
Clean a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
Referenced by __attribute__().
void dvbpsi_atsc_vct_init | ( | dvbpsi_atsc_vct_t * | p_vct, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
uint8_t | i_protocol, | ||
bool | b_cable_vct, | ||
uint8_t | i_version, | ||
bool | b_current_next | ||
) |
Initialize a user-allocated dvbpsi_atsc_vct_t structure.
p_vct | pointer to the VCT structure |
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
i_protocol | PSIP Protocol version. |
b_cable_vct | Whether this is CVCT or a TVCT. |
i_version | VCT version |
b_current_next | current next indicator |
dvbpsi_atsc_vct_t * dvbpsi_atsc_vct_new | ( | uint8_t | i_table_id, |
uint16_t | i_extension, | ||
uint8_t | i_protocol, | ||
bool | b_cable_vct, | ||
uint8_t | i_version, | ||
bool | b_current_next | ||
) |
Allocate and initialize a new dvbpsi_vct_t structure.
i_table_id | Table ID, 0xC8 or 0xC9. |
i_extension | Table ID extension, here TS ID. |
i_protocol | PSIP Protocol version. |
b_cable_vct | Whether this is CVCT or a TVCT. |
i_version | VCT version |
b_current_next | current next indicator |
uint16_t uint8_t bool uint8_t bool b_current_next |
uint16_t i_extension |
uint8_t uint16_t dvbpsi_atsc_vct_callback void* p_priv |