libdvbpsi 1.3.2
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
39extern "C" {
40#endif
41
42/*****************************************************************************
43 * dvbpsi_vbidata_line_t
44 *****************************************************************************/
62
69#define DVBPSI_VBIDATA_LINE_DR_MAX 255
70
71/*****************************************************************************
72 * dvbpsi_vbidata_t
73 *****************************************************************************/
92
98#define DVBPSI_VBI_DR_MAX 85
99
100/*****************************************************************************
101 * dvbpsi_vbi_dr_t
102 *****************************************************************************/
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
dvbpsi_descriptor_t * dvbpsi_GenVBIDataDr(dvbpsi_vbi_dr_t *p_decoded, bool b_duplicate)
"VBI data" descriptor generator.
dvbpsi_vbi_dr_t * dvbpsi_DecodeVBIDataDr(dvbpsi_descriptor_t *p_descriptor)
"VBI data" descriptor decoder.
#define DVBPSI_VBI_DR_MAX
Maximum number of dvbpsi_vbidata_t entries present in.
Definition dr_45.h:98
struct dvbpsi_vbidata_s dvbpsi_vbidata_t
dvbpsi_vbidata_t type definition.
struct dvbpsi_vbi_dr_s dvbpsi_vbi_dr_t
dvbpsi_vbi_dr_t type definition.
struct dvbpsi_vbidata_line_s dvbpsi_vbidata_line_t
dvbpsi_vbidata_line_t type definition.
Descriptor structure.
Definition descriptor.h:83
"teletext" descriptor structure.
Definition dr_45.h:115
uint8_t i_services_number
Definition dr_45.h:116
dvbpsi_vbidata_t p_services[DVBPSI_VBI_DR_MAX]
Definition dr_45.h:117
one VBI Data line structure.
Definition dr_45.h:57
uint8_t i_parity
Definition dr_45.h:58
uint8_t i_line_offset
Definition dr_45.h:59
one VBI data structure.
Definition dr_45.h:86
dvbpsi_vbidata_line_t p_lines[255]
Definition dr_45.h:89
uint8_t i_lines
Definition dr_45.h:88
uint8_t i_data_service_id
Definition dr_45.h:87