123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- struct atsc_table_mgt_table {
- uint16_t type;
- union {
- uint16_t bitfield;
- struct {
- uint16_t pid:13;
- uint16_t one:3;
- } __attribute__((packed));
- } __attribute__((packed));
- uint8_t type_version:5;
- uint8_t one2:3;
- uint32_t size;
- union {
- uint16_t bitfield2;
- struct {
- uint16_t desc_length:12;
- uint16_t one3:4;
- } __attribute__((packed));
- } __attribute__((packed));
- struct dvb_desc *descriptor;
- struct atsc_table_mgt_table *next;
- } __attribute__((packed));
- struct atsc_table_mgt {
- struct dvb_table_header header;
- uint8_t protocol_version;
- uint16_t tables;
- struct atsc_table_mgt_table *table;
- struct dvb_desc *descriptor;
- } __attribute__((packed));
- for( struct atsc_table_mgt_table *_table = _mgt->table; _table; _table = _table->next ) \
- struct dvb_v5_fe_parms;
- extern "C" {
- ssize_t atsc_table_mgt_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf,
- ssize_t buflen, struct atsc_table_mgt **table);
- void atsc_table_mgt_free(struct atsc_table_mgt *table);
- void atsc_table_mgt_print(struct dvb_v5_fe_parms *parms,
- struct atsc_table_mgt *table);
- }
|