libdvbpsi
1.1.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_0a.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_0a.h
3
* Copyright (C) 2001-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
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_0A_H_
36
#define _DVBPSI_DR_0A_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
#define DR_0A_API_VER 2
44
/*****************************************************************************
45
* dvbpsi_iso639_dr_t
46
*****************************************************************************/
47
58
typedef
struct
dvbpsi_iso639_dr_s
59
{
60
uint8_t
i_code_count
;
62
struct
{
63
iso_639_language_code_t
iso_639_code
;
64
uint8_t
i_audio_type
;
65
}
code
[64];
67
}
dvbpsi_iso639_dr_t
;
68
69
70
/*****************************************************************************
71
* dvbpsi_DecodeISO639Dr
72
*****************************************************************************/
81
dvbpsi_iso639_dr_t
*
dvbpsi_DecodeISO639Dr
(
dvbpsi_descriptor_t
* p_descriptor);
82
83
84
/*****************************************************************************
85
* dvbpsi_GenISO639Dr
86
*****************************************************************************/
97
dvbpsi_descriptor_t
*
dvbpsi_GenISO639Dr
(
dvbpsi_iso639_dr_t
* p_decoded,
98
bool
b_duplicate);
99
100
101
#ifdef __cplusplus
102
};
103
#endif
104
105
#else
106
#error "Multiple inclusions of dr_0a.h"
107
#endif
108
Generated on Sat May 25 2013 17:44:12 for libdvbpsi by
1.8.4