53#define ATSC_TABLE_EIT 0xCB
87 } __attribute__((packed));
88 } __attribute__((packed));
98 } __attribute__((packed));
99 } __attribute__((packed));
104} __attribute__((packed));
126 } __attribute__((packed));
127} __attribute__((packed));
151} __attribute__((packed));
160#define atsc_eit_event_foreach(_event, _eit) \
161 if (_eit && _eit->event) \
162 for( struct atsc_table_eit_event *_event = _eit->event; _event; _event = _event->next ) \
215void atsc_time(
const uint32_t start_time,
struct tm *tm);
void atsc_time(const uint32_t start_time, struct tm *tm)
Converts an ATSC EIT formatted timestamp into struct tm.
ssize_t atsc_table_eit_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct atsc_table_eit **table)
Initializes and parses ATSC EIT table.
void atsc_table_eit_free(struct atsc_table_eit *table)
Frees all data allocated by the ATSC EIT table parser.
void atsc_table_eit_print(struct dvb_v5_fe_parms *parms, struct atsc_table_eit *table)
Prints the content of the ATSC EIT table.
struct atsc_table_eit_event * next
struct dvb_desc * descriptor
struct atsc_table_eit_event * event
struct dvb_table_header header
Linked list containing the several descriptors found on a MPEG-TS table.
Keeps data needed to handle the DVB frontend.
ATSC EIT descriptor length.