Application interface for the SIS decoder and the SIS generator.
More...
Go to the source code of this file.
|
|
int | dvbpsi_AttachSIS (dvbpsi_decoder_t *p_psi_decoder, uint8_t i_table_id, uint16_t i_extension, dvbpsi_sis_callback pf_callback, void *p_cb_data) |
| |
| void | dvbpsi_DetachSIS (dvbpsi_demux_t *p_demux, uint8_t i_table_id, uint16_t i_extension) |
| | Destroy a SIS decoder. More...
|
| |
|
void | dvbpsi_InitSIS (dvbpsi_sis_t *p_sis, uint8_t i_protocol_version) |
| |
| void | dvbpsi_EmptySIS (dvbpsi_sis_t *p_sis) |
| | Clean a dvbpsi_sis_t structure. More...
|
| |
| dvbpsi_descriptor_t * | dvbpsi_SISAddDescriptor (dvbpsi_sis_t *p_sis, uint8_t i_tag, uint8_t i_length, uint8_t *p_data) |
| | Add a descriptor in the SIS service. More...
|
| |
|
dvbpsi_psi_section_t * | dvbpsi_GenSISSections (dvbpsi_sis_t *p_sis) |
| |
Application interface for the SIS decoder and the SIS generator.
- Author
- Jean-Paul Saman jpsam.nosp@m.an@v.nosp@m.ideol.nosp@m.an.o.nosp@m.rg Application interface for the SIS decoder and the SIS generator. New decoded SIS tables are sent by callback to the application.
| #define dvbpsi_DeleteSIS |
( |
|
p_sis | ) |
|
Value:
free(p_sis); \
} while(0);
void dvbpsi_EmptySIS(dvbpsi_sis_t *p_sis)
Clean a dvbpsi_sis_t structure.
Clean and free a dvbpsi_sis_t structure.
- Parameters
-
| p_sIt | pointer to the SIS structure |
- Returns
- nothing.
| #define dvbpsi_NewSIS |
( |
|
p_sis, |
|
|
|
i_protocol_version |
|
) |
| |
Value:do { \
if(p_sis != NULL) \
dvbpsi_InitSIS(p_sis, i_protocol_version); \
} while(0);
SIS structure.
Definition: sis.h:54
Allocate and initialize a new dvbpsi_sis_t structure.
- Parameters
-
| p_sis | pointer to the SIS structure |
| i_protocol_version | SIS protocol version (currently 0) |
- Returns
- nothing.
| void dvbpsi_DetachSIS |
( |
dvbpsi_demux_t * |
p_demux, |
|
|
uint8_t |
i_table_id, |
|
|
uint16_t |
i_extension |
|
) |
| |
Destroy a SIS decoder.
- Parameters
-
| p_demux | Subtable demultiplexor to which the decoder is attached. |
| i_table_id | Table ID, 0xFC. |
| i_extension | Table ID extension, here TS ID. |
- Returns
- nothing.
Clean a dvbpsi_sis_t structure.
- Parameters
-
| p_sis | pointer to the SIS structure |
- Returns
- nothing.
Add a descriptor in the SIS service.
- Parameters
-
| p_sis | pointer to the SIS structure |
| i_tag | descriptor's tag |
| i_length | descriptor's length |
| p_data | descriptor's data |
- Returns
- a pointer to the added descriptor.