libdvbpsi
1.1.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_58.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_58.h
3
* Copyright (C) 2001-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Johann Hanne
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_58_H_
36
#define _DVBPSI_DR_58_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
43
/*****************************************************************************
44
* dvbpsi_local_time_offset_t
45
*****************************************************************************/
57
typedef
struct
dvbpsi_local_time_offset_s
58
{
59
uint8_t
i_country_code
[3];
60
uint8_t
i_country_region_id
;
61
uint8_t
i_local_time_offset_polarity
;
62
uint16_t
i_local_time_offset
;
63
uint64_t
i_time_of_change
;
64
uint16_t
i_next_time_offset
;
66
}
dvbpsi_local_time_offset_t
;
67
73
#define DVBPSI_LOCAL_TIME_OFFSET_DR_MAX 19
74
75
/*****************************************************************************
76
* dvbpsi_local_time_offset_dr_t
77
*****************************************************************************/
89
typedef
struct
dvbpsi_local_time_offset_dr_s
90
{
91
uint8_t
i_local_time_offsets_number
;
92
dvbpsi_local_time_offset_t
93
p_local_time_offset
[
DVBPSI_LOCAL_TIME_OFFSET_DR_MAX
];
95
}
dvbpsi_local_time_offset_dr_t
;
96
97
/*****************************************************************************
98
* dvbpsi_DecodeLocalTimeOffsetDr
99
*****************************************************************************/
108
dvbpsi_local_time_offset_dr_t
*
dvbpsi_DecodeLocalTimeOffsetDr
(
109
dvbpsi_descriptor_t
* p_descriptor);
110
111
112
/*****************************************************************************
113
* dvbpsi_GenLocalTimeOffsetDr
114
*****************************************************************************/
125
dvbpsi_descriptor_t
*
dvbpsi_GenLocalTimeOffsetDr
(
126
dvbpsi_local_time_offset_dr_t
* p_decoded,
127
bool
b_duplicate);
128
129
130
#ifdef __cplusplus
131
};
132
#endif
133
134
#else
135
#error "Multiple inclusions of dr_58.h"
136
#endif
Generated on Sat May 25 2013 17:44:03 for libdvbpsi by
1.8.4