libdvbpsi
1.3.0
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_ */
dvbpsi_GenComponentDr
dvbpsi_descriptor_t * dvbpsi_GenComponentDr(dvbpsi_component_dr_t *p_decoded, bool b_duplicate)
"Component" descriptor generator.
dvbpsi_component_dr_t::i_iso_639_code
uint8_t i_iso_639_code[3]
Definition:
dr_50.h:64
dvbpsi_component_dr_t::i_text
uint8_t * i_text
Definition:
dr_50.h:66
dvbpsi_component_dr_t
"Component" descriptor structure.
Definition:
dr_50.h:59
dvbpsi_component_dr_t::i_component_tag
uint8_t i_component_tag
Definition:
dr_50.h:63
dvbpsi_component_dr_t
struct dvbpsi_component_dr_t dvbpsi_component_dr_t
dvbpsi_component_dr_t type definition.
dvbpsi_DecodeComponentDr
dvbpsi_component_dr_t * dvbpsi_DecodeComponentDr(dvbpsi_descriptor_t *p_descriptor)
"Component" descriptor decoder.
dvbpsi_component_dr_t::i_text_length
int i_text_length
Definition:
dr_50.h:65
dvbpsi_component_dr_t::i_stream_content
uint8_t i_stream_content
Definition:
dr_50.h:61
dvbpsi_component_dr_t::i_component_type
uint8_t i_component_type
Definition:
dr_50.h:62
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
Generated on Mon May 28 2018 13:13:09 for libdvbpsi by
1.8.17