libdvbpsi  2.0.0-git
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 
dvbpsi_subtitle_t p_subtitle[DVBPSI_SUBTITLING_DR_MAX]
Definition: dr_59.h:88
#define DVBPSI_SUBTITLING_DR_MAX
Maximum number of dvbpsi_subtitle_t entries present in.
Definition: dr_59.h:69
"subtitling" descriptor structure.
Definition: dr_59.h:85
uint16_t i_ancillary_page_id
Definition: dr_59.h:60
struct dvbpsi_subtitling_dr_s dvbpsi_subtitling_dr_t
dvbpsi_subtitling_dr_t type definition.
uint8_t i_subtitles_number
Definition: dr_59.h:87
uint8_t i_iso6392_language_code[3]
Definition: dr_59.h:57
one subtitle structure.
Definition: dr_59.h:55
dvbpsi_descriptor_t * dvbpsi_GenSubtitlingDr(dvbpsi_subtitling_dr_t *p_decoded, bool b_duplicate)
"subtitling" descriptor generator.
uint16_t i_composition_page_id
Definition: dr_59.h:59
struct dvbpsi_subtitle_s dvbpsi_subtitle_t
dvbpsi_subtitle_t type definition.
dvbpsi_subtitling_dr_t * dvbpsi_DecodeSubtitlingDr(dvbpsi_descriptor_t *p_descriptor)
"subtitling" descriptor decoder.
Descriptor structure.
Definition: descriptor.h:82
uint8_t i_subtitling_type
Definition: dr_59.h:58