libdvbpsi  1.2.0
dr_56.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_56.h
3  * Copyright (C) 2004-2010 VideoLAN
4  * $Id: dr_56.h 93 2004-10-19 19:17:49Z massiot $
5  *
6  * Authors: Derk-Jan Hartman <hartman at videolan dot 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_56_H_
36 #define _DVBPSI_DR_56_H_
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /*****************************************************************************
43  * dvbpsi_teletext_t
44  *****************************************************************************/
56 typedef struct dvbpsi_teletextpage_s
57 {
59  uint8_t i_teletext_type;
64 
70 #define DVBPSI_TELETEXT_DR_MAX 64
71 
72 /*****************************************************************************
73  * dvbpsi_teletext_dr_t
74  *****************************************************************************/
86 typedef struct dvbpsi_teletext_dr_s
87 {
88  uint8_t i_pages_number;
92 
93 /*****************************************************************************
94  * dvbpsi_DecodeTeletextDataDr
95  *****************************************************************************/
105  dvbpsi_descriptor_t * p_descriptor);
106 
107 
108 /*****************************************************************************
109  * dvbpsi_GenTeletextDr
110  *****************************************************************************/
122  dvbpsi_teletext_dr_t * p_decoded,
123  bool b_duplicate);
124 
125 
126 #ifdef __cplusplus
127 };
128 #endif
129 
130 #else
131 #error "Multiple inclusions of dr_56.h"
132 #endif