libdvbpsi
1.3.0
src
descriptors
dr_69.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_69.h
3
* Copyright (C) 2007-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Pinkava Jiri <master_up@post.cz>
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
34
#ifndef _DVBPSI_DR_69_H_
35
#define _DVBPSI_DR_69_H_
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
42
/*****************************************************************************
43
* dvbpsi_PDC_dr_t
44
*****************************************************************************/
56
typedef
struct
dvbpsi_PDC_dr_s
57
{
58
/* pdc[0] ~= day; PDC[1] ~= month; PDC[2] ~= hour; PDC[3] ~= min; */
59
uint8_t
i_PDC
[4];
60
}
dvbpsi_PDC_dr_t
;
61
62
63
/*****************************************************************************
64
* dvbpsi_DecodePDCDr
65
*****************************************************************************/
74
dvbpsi_PDC_dr_t
*
dvbpsi_DecodePDCDr
(
dvbpsi_descriptor_t
* p_descriptor);
75
76
77
/*****************************************************************************
78
* dvbpsi_GenPDCDr
79
*****************************************************************************/
89
dvbpsi_descriptor_t
*
dvbpsi_GenPDCDr
(
dvbpsi_PDC_dr_t
* p_decoded,
90
bool
b_duplicate);
91
92
93
#ifdef __cplusplus
94
};
95
#endif
96
97
#else
98
#error "Multiple inclusions of dr_69.h"
99
#endif
100
dvbpsi_DecodePDCDr
dvbpsi_PDC_dr_t * dvbpsi_DecodePDCDr(dvbpsi_descriptor_t *p_descriptor)
PDC descriptor decoder.
dvbpsi_GenPDCDr
dvbpsi_descriptor_t * dvbpsi_GenPDCDr(dvbpsi_PDC_dr_t *p_decoded, bool b_duplicate)
PDC descriptor generator.
dvbpsi_PDC_dr_t
struct dvbpsi_PDC_dr_s dvbpsi_PDC_dr_t
dvbpsi_PDC_dr_t type definition.
dvbpsi_PDC_dr_s::i_PDC
uint8_t i_PDC[4]
Definition:
dr_69.h:59
dvbpsi_PDC_dr_s
PDC descriptor structure.
Definition:
dr_69.h:56
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
Generated on Mon May 28 2018 13:13:09 for libdvbpsi by
1.8.17