libdvbpsi
1.1.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
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
{
57
uint8_t
i_iso6392_language_code
[3];
58
uint8_t
i_subtitling_type
;
59
uint16_t
i_composition_page_id
;
60
uint16_t
i_ancillary_page_id
;
62
}
dvbpsi_subtitle_t
;
63
69
#define DVBPSI_SUBTITLING_DR_MAX 20
70
71
/*****************************************************************************
72
* dvbpsi_subtitling_dr_t
73
*****************************************************************************/
85
typedef
struct
dvbpsi_subtitling_dr_s
86
{
87
uint8_t
i_subtitles_number
;
88
dvbpsi_subtitle_t
p_subtitle
[
DVBPSI_SUBTITLING_DR_MAX
];
90
}
dvbpsi_subtitling_dr_t
;
91
92
93
/*****************************************************************************
94
* dvbpsi_DecodeSubtitlingDataDr
95
*****************************************************************************/
104
dvbpsi_subtitling_dr_t
*
dvbpsi_DecodeSubtitlingDr
(
105
dvbpsi_descriptor_t
* p_descriptor);
106
107
108
/*****************************************************************************
109
* dvbpsi_GenSubtitlingDataDr
110
*****************************************************************************/
121
dvbpsi_descriptor_t
*
dvbpsi_GenSubtitlingDr
(
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
Generated on Sat May 25 2013 17:44:12 for libdvbpsi by
1.8.4