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 for (struct atsc_table_vct_channel *_channel = _vct->channel; _channel; _channel = _channel->next) \
uint8_t num_channels_in_section
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.
struct atsc_table_vct_channel * next
void atsc_table_vct_print(struct dvb_v5_fe_parms *parms, struct atsc_table_vct *table)
Prints the content of the VCT table.
void atsc_table_vct_free(struct atsc_table_vct *table)
Frees all data allocated by the VCT table parser.
uint32_t minor_channel_number
uint16_t descriptors_length
uint16_t access_controlled
uint32_t major_channel_number
struct dvb_table_header header
ATSC VCT table (covers both CVCT and TVCT)
Keeps data needed to handle the DVB frontend.
ATSC VCT descriptor length.
ATSC VCT channel table (covers both CVCT and TVCT)
uint16_t descriptor_length
struct dvb_desc * descriptor
Linked list containing the several descriptors found on a MPEG-TS table.
uint32_t carrier_frequency
struct atsc_table_vct_channel * channel
struct dvb_desc * descriptor