|
libdvbpsi
0.2.2
|
Application interface for the PMT decoder and the PMT generator. More...
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 struct dvbpsi_pmt_es_s | dvbpsi_pmt_es_t |
| dvbpsi_pmt_es_t type definition. | |
| typedef struct 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 | |
| __attribute__ ((deprecated)) dvbpsi_handle dvbpsi_AttachPMT(uint16_t i_program_number | |
Variables | |
| dvbpsi_pmt_callback | pf_callback |
| dvbpsi_pmt_callback void * | p_cb_data |
| uint16_t | i_program_number |
| uint16_t uint8_t | i_version |
| uint16_t uint8_t int | b_current_next |
| uint16_t uint8_t int uint16_t | i_pcr_pid |
| uint8_t | i_tag |
| uint8_t uint8_t | i_length |
| uint8_t uint8_t uint8_t * | p_data |
| uint8_t | i_type |
| uint8_t uint16_t | i_pid |
Application interface for the PMT decoder and the PMT generator.
>
| #define dvbpsi_DeletePMT | ( | p_pmt | ) |
do { \ dvbpsi_EmptyPMT(p_pmt); \ free(p_pmt); \ } while(0);
Clean and free a dvbpsi_pmt_t structure.
| p_pmt | pointer to the PMT structure |
| #define dvbpsi_NewPMT | ( | p_pmt, | |
| i_program_number, | |||
| i_version, | |||
| b_current_next, | |||
| i_pcr_pid | |||
| ) |
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);
Allocate and initialize a new dvbpsi_pmt_t structure.
| p_pmt | pointer to the PMT structure |
| i_program_number | program number |
| i_version | PMT version |
| b_current_next | current next indicator |
| i_pcr_pid | PCR_PID |
1.7.5.1