61#define DVB_TABLE_NIT 0x40
62#define DVB_TABLE_NIT2 0x41
63#define DVB_TABLE_NIT_PID 0x10
84 } __attribute__((packed));
85} __attribute__((packed));
117 } __attribute__((packed));
118 } __attribute__((packed));
121} __attribute__((packed));
150 } __attribute__((packed));
151 } __attribute__((packed));
154} __attribute__((packed));
189#define dvb_nit_transport_foreach( _tran, _nit ) \
190 if (_nit && _nit->transport) \
191 for (struct dvb_table_nit_transport *_tran = _nit->transport; _tran; _tran = _tran->next) \
Provides a way to handle MPEG-TS descriptors found on Digital TV streams.
descriptors
List containing all descriptors used by Digital TV MPEG-TS.
void nit_handler_callback_t(struct dvb_table_nit *nit, struct dvb_desc *desc, void *priv)
typedef for a callback used when a NIT table entry is found
void dvb_table_nit_print(struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table)
Prints the content of the NIT table.
void dvb_table_nit_descriptor_handler(struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table, enum descriptors descriptor, nit_handler_callback_t *call_nit, nit_tran_handler_callback_t *call_tran, void *priv)
For each entry at NIT and NIT transport tables, call a callback.
ssize_t dvb_table_nit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_nit **table)
Initializes and parses NIT table.
void dvb_table_nit_free(struct dvb_table_nit *table)
Frees all data allocated by the NIT table parser.
void nit_tran_handler_callback_t(struct dvb_table_nit *nit, struct dvb_table_nit_transport *tran, struct dvb_desc *desc, void *priv)
typedef for a callback used when a NIT transport table entry is found
Linked list containing the several descriptors found on a MPEG-TS table.
MPEG-TS NIT transport table.
struct dvb_desc * descriptor
struct dvb_table_nit_transport * next
struct dvb_desc * descriptor
struct dvb_table_nit_transport * transport
struct dvb_table_header header
Keeps data needed to handle the DVB frontend.