59#define ATSC_TABLE_TVCT 0xc8
60#define ATSC_TABLE_CVCT 0xc9
61#define ATSC_TABLE_VCT_PID 0x1ffb
111 } __attribute__((packed));
112 } __attribute__((packed));
129 } __attribute__((packed));
130 } __attribute__((packed));
138 } __attribute__((packed));
139 } __attribute__((packed));
152} __attribute__((packed));
176} __attribute__((packed));
192 } __attribute__((packed));
193} __attribute__((packed));
202 #define atsc_vct_channel_foreach(_channel, _vct) \
203 if (_vct && _vct->channel) \
204 for (struct atsc_table_vct_channel *_channel = _vct->channel; _channel; _channel = _channel->next) \
void atsc_table_vct_free(struct atsc_table_vct *table)
Frees all data allocated by the VCT table parser.
void atsc_table_vct_print(struct dvb_v5_fe_parms *parms, struct atsc_table_vct *table)
Prints the content of the VCT table.
ssize_t atsc_table_vct_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct atsc_table_vct **table)
Initializes and parses VCT table.
ATSC VCT channel table (covers both CVCT and TVCT)
uint16_t access_controlled
struct atsc_table_vct_channel * next
struct dvb_desc * descriptor
uint32_t minor_channel_number
uint32_t major_channel_number
uint16_t descriptors_length
uint32_t carrier_frequency
ATSC VCT table (covers both CVCT and TVCT)
struct dvb_table_header header
struct atsc_table_vct_channel * channel
uint8_t num_channels_in_section
struct dvb_desc * descriptor
Linked list containing the several descriptors found on a MPEG-TS table.
Keeps data needed to handle the DVB frontend.
ATSC VCT descriptor length.
uint16_t descriptor_length