libdvbv5 1.26.1
Library to work with Digital TV devices on Linux
desc_ts_info.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2013-2014 - Mauro Carvalho Chehab <mchehab@kernel.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation version 2.1 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
17 *
18 * Described on ARIB STD-B10 as TS information descriptor
19 */
20
41#ifndef _TS_INFO_H
42#define _TS_INFO_H
43
45
57} __attribute__((packed));
58
77 uint8_t type;
78 uint8_t length;
79 struct dvb_desc *next;
80
83 uint16_t *service_id;
84
85 union {
86 uint16_t bitfield;
87 struct {
91 } __attribute__((packed));
92 };
93} __attribute__((packed));
94
95struct dvb_v5_fe_parms;
96
97#ifdef __cplusplus
98extern "C" {
99#endif
100
118 const uint8_t *buf, struct dvb_desc *desc);
119
129 const struct dvb_desc *desc);
130
139
140#ifdef __cplusplus
141}
142#endif
143
144#endif
Provides a way to handle MPEG-TS descriptors found on Digital TV streams.
void dvb_desc_ts_info_free(struct dvb_desc *desc)
Frees all data allocated by the ISDB TS information descriptor.
void dvb_desc_ts_info_print(struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc)
Prints the content of the ISDB TS information descriptor.
int dvb_desc_ts_info_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc)
Initializes and parses the ISDB TS information descriptor.
ISDB TS information transmission type.
Structure describing the ISDB TS information descriptor.
uint16_t * service_id
struct dvb_desc_ts_info_transmission_type transmission_type
uint8_t length_of_ts_name
uint8_t transmission_type_count
struct dvb_desc * next
uint8_t remote_control_key_id
Linked list containing the several descriptors found on a MPEG-TS table.
Keeps data needed to handle the DVB frontend.
Definition dvb-fe.h:117