Go to the source code of this file.
Data Structures | |
| struct | dvbpsi_pmt_es_s |
| PMT ES structure. More... | |
| struct | dvbpsi_pmt_s |
| PMT structure. More... | |
Defines | |
| #define | dvbpsi_NewPMT(p_pmt, i_program_number,i_version, b_current_next, i_pcr_pid) |
| Allocate and initialize a new dvbpsi_pmt_t structure. | |
| #define | dvbpsi_DeletePMT(p_pmt) |
| Clean and free a dvbpsi_pmt_t structure. | |
Typedefs | |
| typedef dvbpsi_pmt_es_s | dvbpsi_pmt_es_t |
| dvbpsi_pmt_es_t type definition. | |
| typedef dvbpsi_pmt_s | dvbpsi_pmt_t |
| dvbpsi_pmt_t type definition. | |
| typedef void(* | dvbpsi_pmt_callback )(void *p_cb_data, dvbpsi_pmt_t *p_new_pmt) |
| Callback type definition. | |
Functions | |
| dvbpsi_handle | dvbpsi_AttachPMT (uint16_t i_program_number, dvbpsi_pmt_callback pf_callback, void *p_cb_data) |
| Creation and initialization of a PMT decoder. | |
| void | dvbpsi_DetachPMT (dvbpsi_handle h_dvbpsi) |
| Destroy a PMT decoder. | |
| void | dvbpsi_InitPMT (dvbpsi_pmt_t *p_pmt, uint16_t i_program_number, uint8_t i_version, int b_current_next, uint16_t i_pcr_pid) |
| Initialize a user-allocated dvbpsi_pmt_t structure. | |
| void | dvbpsi_EmptyPMT (dvbpsi_pmt_t *p_pmt) |
| Clean a dvbpsi_pmt_t structure. | |
| dvbpsi_descriptor_t * | dvbpsi_PMTAddDescriptor (dvbpsi_pmt_t *p_pmt, uint8_t i_tag, uint8_t i_length, uint8_t *p_data) |
| Add a descriptor in the PMT. | |
| dvbpsi_pmt_es_t * | dvbpsi_PMTAddES (dvbpsi_pmt_t *p_pmt, uint8_t i_type, uint16_t i_pid) |
| Add an ES in the PMT. | |
| dvbpsi_descriptor_t * | dvbpsi_PMTESAddDescriptor (dvbpsi_pmt_es_t *p_es, uint8_t i_tag, uint8_t i_length, uint8_t *p_data) |
| Add a descriptor in the PMT ES. | |
| dvbpsi_psi_section_t * | dvbpsi_GenPMTSections (dvbpsi_pmt_t *p_pmt) |
| PMT generator. | |
>
|
|
Value: do { \ dvbpsi_EmptyPMT(p_pmt); \ free(p_pmt); \ } while(0);
|
|
|
Value: do { \ p_pmt = (dvbpsi_pmt_t*)malloc(sizeof(dvbpsi_pmt_t)); \ if(p_pmt != NULL) \ dvbpsi_InitPMT(p_pmt, i_program_number, i_version, b_current_next, \ i_pcr_pid); \ } while(0);
|
|
||||||||||||||||
|
Creation and initialization of a PMT decoder.
|
|
|
Destroy a PMT decoder.
|
|
|
Clean a dvbpsi_pmt_t structure.
|
|
|
PMT generator.
|
|
||||||||||||||||||||||||
|
Initialize a user-allocated dvbpsi_pmt_t structure.
|
|
||||||||||||||||||||
|
Add a descriptor in the PMT.
|
|
||||||||||||||||
|
Add an ES in the PMT.
|
|
||||||||||||||||||||
|
Add a descriptor in the PMT ES.
|
1.4.6