libdvbpsi 1.3.2
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
33
34#ifndef _DVBPSI_DR_59_H_
35#define _DVBPSI_DR_59_H_
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/*****************************************************************************
42 * dvbpsi_subtitle_t
43 *****************************************************************************/
63
69#define DVBPSI_SUBTITLING_DR_MAX 20
70
71/*****************************************************************************
72 * dvbpsi_subtitling_dr_t
73 *****************************************************************************/
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
struct dvbpsi_descriptor_s dvbpsi_descriptor_t
dvbpsi_descriptor_t type definition.
dvbpsi_subtitling_dr_t * dvbpsi_DecodeSubtitlingDr(dvbpsi_descriptor_t *p_descriptor)
"subtitling" descriptor decoder.
struct dvbpsi_subtitle_s dvbpsi_subtitle_t
dvbpsi_subtitle_t type definition.
#define DVBPSI_SUBTITLING_DR_MAX
Maximum number of dvbpsi_subtitle_t entries present in.
Definition dr_59.h:69
dvbpsi_descriptor_t * dvbpsi_GenSubtitlingDr(dvbpsi_subtitling_dr_t *p_decoded, bool b_duplicate)
"subtitling" descriptor generator.
struct dvbpsi_subtitling_dr_s dvbpsi_subtitling_dr_t
dvbpsi_subtitling_dr_t type definition.
one subtitle structure.
Definition dr_59.h:56
uint16_t i_ancillary_page_id
Definition dr_59.h:60
uint8_t i_subtitling_type
Definition dr_59.h:58
uint8_t i_iso6392_language_code[3]
Definition dr_59.h:57
uint16_t i_composition_page_id
Definition dr_59.h:59
"subtitling" descriptor structure.
Definition dr_59.h:86
dvbpsi_subtitle_t p_subtitle[DVBPSI_SUBTITLING_DR_MAX]
Definition dr_59.h:88
uint8_t i_subtitles_number
Definition dr_59.h:87