libdvbpsi
1.1.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_45.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_45.h
3
* Copyright (C) 2004-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Jean-Paul Saman <jpsaman@videolan.org>
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*
22
*****************************************************************************/
23
35
#ifndef _DVBPSI_DR_45_H_
36
#define _DVBPSI_DR_45_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
/*****************************************************************************
43
* dvbpsi_vbidata_line_t
44
*****************************************************************************/
56
typedef
struct
dvbpsi_vbidata_line_s
57
{
58
uint8_t
i_parity
;
59
uint8_t
i_line_offset
;
61
}
dvbpsi_vbidata_line_t
;
62
68
#define DVBPSI_VBIDATA_LINE_DR_MAX 255
69
70
/*****************************************************************************
71
* dvbpsi_vbidata_t
72
*****************************************************************************/
84
typedef
struct
dvbpsi_vbidata_s
85
{
86
uint8_t
i_data_service_id
;
87
uint8_t
i_lines
;
88
dvbpsi_vbidata_line_t
p_lines
[255];
90
}
dvbpsi_vbidata_t
;
91
97
#define DVBPSI_VBI_DR_MAX 85
98
99
/*****************************************************************************
100
* dvbpsi_vbi_dr_t
101
*****************************************************************************/
113
typedef
struct
dvbpsi_vbi_dr_s
114
{
115
uint8_t
i_services_number
;
116
dvbpsi_vbidata_t
p_services
[
DVBPSI_VBI_DR_MAX
];
118
}
dvbpsi_vbi_dr_t
;
119
120
121
/*****************************************************************************
122
* dvbpsi_DecodeVBIDataDr
123
*****************************************************************************/
132
dvbpsi_vbi_dr_t
*
dvbpsi_DecodeVBIDataDr
(
133
dvbpsi_descriptor_t
* p_descriptor);
134
135
136
/*****************************************************************************
137
* dvbpsi_GenVBIDataDr
138
*****************************************************************************/
149
dvbpsi_descriptor_t
*
dvbpsi_GenVBIDataDr
(
150
dvbpsi_vbi_dr_t
* p_decoded,
151
bool
b_duplicate);
152
153
#ifdef __cplusplus
154
};
155
#endif
156
157
#else
158
#error "Multiple inclusions of dr_45.h"
159
#endif
Generated on Sat May 25 2013 17:44:03 for libdvbpsi by
1.8.4