libdvbpsi  1.2.0
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;
62 
69 #define DVBPSI_VBIDATA_LINE_DR_MAX 255
70 
71 /*****************************************************************************
72  * dvbpsi_vbidata_t
73  *****************************************************************************/
85 typedef struct dvbpsi_vbidata_s
86 {
88  uint8_t i_lines;
92 
98 #define DVBPSI_VBI_DR_MAX 85
99 
100 /*****************************************************************************
101  * dvbpsi_vbi_dr_t
102  *****************************************************************************/
114 typedef struct dvbpsi_vbi_dr_s
115 {
120 
121 
122 /*****************************************************************************
123  * dvbpsi_DecodeVBIDataDr
124  *****************************************************************************/
134  dvbpsi_descriptor_t * p_descriptor);
135 
136 
137 /*****************************************************************************
138  * dvbpsi_GenVBIDataDr
139  *****************************************************************************/
151  dvbpsi_vbi_dr_t * p_decoded,
152  bool b_duplicate);
153 
154 #ifdef __cplusplus
155 };
156 #endif
157 
158 #else
159 #error "Multiple inclusions of dr_45.h"
160 #endif