libdvbpsi
1.1.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_50.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_50.h
3
* Copyright (C) 2012 VideoLAN
4
*
5
* Authors: Roberto Corno <corno.roberto@gmail.com>
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
*
21
*****************************************************************************/
22
34
#ifndef DR_50_H_
35
#define DR_50_H_
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
/*****************************************************************************
42
* dvbpsi_component_dr_t
43
*****************************************************************************/
59
typedef
struct
dvbpsi_component_dr_t
60
{
61
uint8_t
i_stream_content
;
62
uint8_t
i_component_type
;
63
uint8_t
i_component_tag
;
64
uint8_t
i_iso_639_code
[3];
65
int
i_text_length
;
66
uint8_t *
i_text
;
68
}
dvbpsi_component_dr_t
;
69
70
/*****************************************************************************
71
* dvbpsi_DecodeComponentDr
72
*****************************************************************************/
81
dvbpsi_component_dr_t
*
dvbpsi_DecodeComponentDr
(
dvbpsi_descriptor_t
* p_descriptor);
82
83
/*****************************************************************************
84
* dvbpsi_GenComponentDr
85
*****************************************************************************/
95
dvbpsi_descriptor_t
*
dvbpsi_GenComponentDr
(
dvbpsi_component_dr_t
* p_decoded,
96
bool
b_duplicate);
97
98
#ifdef __cplusplus
99
};
100
#endif
101
102
#else
103
#error "Multiple inclusions of dr_50.h"
104
#endif
/* DR_50_H_ */
Generated on Sat May 25 2013 17:44:12 for libdvbpsi by
1.8.4