libdvbpsi 1.3.2
|
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_cb_data, dvbpsi_atsc_vct_t *p_new_vct) |
Callback type definition. | |
Functions | |
bool | dvbpsi_atsc_AttachVCT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_atsc_vct_callback pf_vct_callback, void *p_cb_data) |
Creation and initialization of a VCT decoder. | |
void | dvbpsi_atsc_DetachVCT (dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) |
Destroy a VCT decoder. | |
void | dvbpsi_atsc_InitVCT (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. | |
dvbpsi_atsc_vct_t * | dvbpsi_atsc_NewVCT (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. | |
void | dvbpsi_atsc_EmptyVCT (dvbpsi_atsc_vct_t *p_vct) |
Clean a dvbpsi_vct_t structure. | |
void | dvbpsi_atsc_DeleteVCT (dvbpsi_atsc_vct_t *p_vct) |
Clean and free a dvbpsi_vct_t structure. | |
Decode PSIP Virtual Channel Table. (ATSC VCT).
bool dvbpsi_atsc_AttachVCT | ( | dvbpsi_t * | p_dvbpsi, |
uint8_t | i_table_id, | ||
uint16_t | i_extension, | ||
dvbpsi_atsc_vct_callback | pf_vct_callback, | ||
void * | p_cb_data ) |
Creation and initialization of 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. |
pf_vct_callback | function to call back on new VCT. |
p_cb_data | private data given in argument to the callback. |
void dvbpsi_atsc_DeleteVCT | ( | dvbpsi_atsc_vct_t * | p_vct | ) |
Clean and free a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
void dvbpsi_atsc_DetachVCT | ( | 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_EmptyVCT | ( | dvbpsi_atsc_vct_t * | p_vct | ) |
Clean a dvbpsi_vct_t structure.
p_vct | pointer to the VCT structure |
void dvbpsi_atsc_InitVCT | ( | 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_NewVCT | ( | 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 |