libdvbpsi  1.2.0
dr_59.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_59.h
3  * Copyright (C) 2001-2010 VideoLAN
4  * $Id$
5  *
6  * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
7  * Tristan Leteurtre <tristan.leteurtre@anevia.com>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  *****************************************************************************/
24 
34 #ifndef _DVBPSI_DR_59_H_
35 #define _DVBPSI_DR_59_H_
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /*****************************************************************************
42  * dvbpsi_subtitle_t
43  *****************************************************************************/
55 typedef struct dvbpsi_subtitle_s
56 {
63 
69 #define DVBPSI_SUBTITLING_DR_MAX 20
70 
71 /*****************************************************************************
72  * dvbpsi_subtitling_dr_t
73  *****************************************************************************/
85 typedef struct dvbpsi_subtitling_dr_s
86 {
91 
92 
93 /*****************************************************************************
94  * dvbpsi_DecodeSubtitlingDataDr
95  *****************************************************************************/
105  dvbpsi_descriptor_t * p_descriptor);
106 
107 
108 /*****************************************************************************
109  * dvbpsi_GenSubtitlingDataDr
110  *****************************************************************************/
122  dvbpsi_subtitling_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_59.h"
132 #endif
133