libdvbpsi 1.3.2
dr_4a.h
Go to the documentation of this file.
1/*****************************************************************************
2 * dr_4a.h
3 * Copyright (C) 2012 VideoLAN
4 *
5 * Authors: Corno Roberto <corno.roberto@gmail.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 *****************************************************************************/
22
34#ifndef DR_4A_H_
35#define DR_4A_H_
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/*****************************************************************************
42 * dvbpsi_linkage_dr_t
43 *****************************************************************************/
59typedef struct dvbpsi_linkage_dr_s
60{
63 uint16_t i_service_id;
66 /* used if i_linkage_type ==0x08 */
68 uint8_t i_origin_type;
69 /* used if i_linkage_type ==0x08 &&
70 * (i_handover_type ==0x01 || i_handover_type ==0x02|| i_handover_type ==0x03)
71 */
72 uint16_t i_network_id;
73 /* used if i_linkage_type ==0x08 && i_origin_type ==0 */
76 /* used if i_linkage_type ==0x0D */
83 uint8_t i_private_data[248];
86
87/*****************************************************************************
88 * dvbpsi_DecodeLinkageDr
89 *****************************************************************************/
99
100/*****************************************************************************
101 * dvbpsi_GenLinkageDr
102 *****************************************************************************/
113 bool b_duplicate);
114
115#ifdef __cplusplus
116};
117#endif
118
119#else
120#error "Multiple inclusions of dr_4a.h"
121#endif /* DR_4A_H_ */
struct dvbpsi_linkage_dr_s dvbpsi_linkage_dr_t
dvbpsi_linkage_dr_t type definition.
dvbpsi_linkage_dr_t * dvbpsi_DecodeLinkageDr(dvbpsi_descriptor_t *p_descriptor)
"linkage" descriptor decoder.
dvbpsi_descriptor_t * dvbpsi_GenLinkageDr(dvbpsi_linkage_dr_t *p_decoded, bool b_duplicate)
"linkage" descriptor generator.
Descriptor structure.
Definition descriptor.h:83
struct dvbpsi_linkage_dr_s
Definition dr_4a.h:60
uint8_t i_private_data_length
Definition dr_4a.h:81
uint16_t i_original_network_id
Definition dr_4a.h:62
uint16_t i_target_event_id
Definition dr_4a.h:77
uint8_t i_origin_type
Definition dr_4a.h:68
uint8_t i_linkage_type
Definition dr_4a.h:64
uint16_t i_service_id
Definition dr_4a.h:63
uint16_t i_network_id
Definition dr_4a.h:72
uint8_t i_private_data[248]
Definition dr_4a.h:83
uint8_t i_handover_type
Definition dr_4a.h:67
uint16_t i_initial_service_id
Definition dr_4a.h:74
uint16_t i_transport_stream_id
Definition dr_4a.h:61
bool b_target_listed
Definition dr_4a.h:78
bool b_event_simulcast
Definition dr_4a.h:79
"linkage" descriptor structure.