libdvbpsi
1.3.2
src
descriptors
dr_04.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_04.h
3
* Copyright (C) 2001-2010 VideoLAN
4
* $Id: dr_04.h,v 1.2 2002/05/10 23:50:36 bozo Exp $
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_04_H_
36
#define _DVBPSI_DR_04_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
43
/*****************************************************************************
44
* dvbpsi_hierarchy_dr_t
45
*****************************************************************************/
57
typedef
struct
dvbpsi_hierarchy_dr_s
58
{
59
uint8_t
i_h_type
;
60
uint8_t
i_h_layer_index
;
61
uint8_t
i_h_embedded_layer
;
62
uint8_t
i_h_priority
;
64
}
dvbpsi_hierarchy_dr_t
;
65
66
67
/*****************************************************************************
68
* dvbpsi_DecodeHierarchyDr
69
*****************************************************************************/
78
dvbpsi_hierarchy_dr_t
*
dvbpsi_DecodeHierarchyDr
(
79
dvbpsi_descriptor_t
* p_descriptor);
80
81
82
/*****************************************************************************
83
* dvbpsi_GenHierarchyDr
84
*****************************************************************************/
94
dvbpsi_descriptor_t
*
dvbpsi_GenHierarchyDr
(
dvbpsi_hierarchy_dr_t
* p_decoded,
95
bool
b_duplicate);
96
97
98
#ifdef __cplusplus
99
};
100
#endif
101
102
#else
103
#error "Multiple inclusions of dr_04.h"
104
#endif
105
dvbpsi_hierarchy_dr_s
"hierarchy" descriptor structure.
Definition:
dr_04.h:57
dvbpsi_hierarchy_dr_t
struct dvbpsi_hierarchy_dr_s dvbpsi_hierarchy_dr_t
dvbpsi_hierarchy_dr_t type definition.
dvbpsi_hierarchy_dr_s::i_h_layer_index
uint8_t i_h_layer_index
Definition:
dr_04.h:60
dvbpsi_hierarchy_dr_s::i_h_embedded_layer
uint8_t i_h_embedded_layer
Definition:
dr_04.h:61
dvbpsi_GenHierarchyDr
dvbpsi_descriptor_t * dvbpsi_GenHierarchyDr(dvbpsi_hierarchy_dr_t *p_decoded, bool b_duplicate)
"hierarchy" descriptor generator.
dvbpsi_DecodeHierarchyDr
dvbpsi_hierarchy_dr_t * dvbpsi_DecodeHierarchyDr(dvbpsi_descriptor_t *p_descriptor)
"hierarchy" descriptor decoder.
dvbpsi_hierarchy_dr_s::i_h_priority
uint8_t i_h_priority
Definition:
dr_04.h:62
dvbpsi_hierarchy_dr_s::i_h_type
uint8_t i_h_type
Definition:
dr_04.h:59
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
Generated on Mon Nov 11 2024 09:52:20 for libdvbpsi by
1.8.17