libdvbpsi
1.3.2
src
descriptors
dr_62.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2006 Adam Charrett
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18
dr_62.h
19
20
Decode Frequency List Descriptor.
21
22
*/
23
30
#ifndef _DR_62_H
31
#define _DR_62_H
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
/*****************************************************************************
38
* dvbpsi_frequency_list_dr_s
39
*****************************************************************************/
50
typedef
struct
dvbpsi_frequency_list_dr_s
51
{
52
uint8_t
i_coding_type
;
53
uint8_t
i_number_of_frequencies
;
54
uint32_t
p_center_frequencies
[63];
55
}
dvbpsi_frequency_list_dr_t
;
56
57
/*****************************************************************************
58
* dvbpsi_DecodeFrequencyListDr
59
*****************************************************************************/
68
dvbpsi_frequency_list_dr_t
*
dvbpsi_DecodeFrequencyListDr
(
dvbpsi_descriptor_t
*p_descriptor);
69
70
/*****************************************************************************
71
* dvbpsi_Bcd8ToUint32
72
*****************************************************************************/
79
uint32_t
dvbpsi_Bcd8ToUint32
(uint32_t bcd);
80
81
#ifdef __cplusplus
82
};
83
#endif
84
85
#endif
dvbpsi_frequency_list_dr_s
Frequency List Descriptor.
Definition:
dr_62.h:50
dvbpsi_DecodeFrequencyListDr
dvbpsi_frequency_list_dr_t * dvbpsi_DecodeFrequencyListDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Frequency List descriptor (tag 0x62)
dvbpsi_frequency_list_dr_s::i_coding_type
uint8_t i_coding_type
Definition:
dr_62.h:52
dvbpsi_frequency_list_dr_s::p_center_frequencies
uint32_t p_center_frequencies[63]
Definition:
dr_62.h:54
dvbpsi_Bcd8ToUint32
uint32_t dvbpsi_Bcd8ToUint32(uint32_t bcd)
Decode an 8 character BCD encoded number into a uint32_t.
dvbpsi_frequency_list_dr_t
struct dvbpsi_frequency_list_dr_s dvbpsi_frequency_list_dr_t
dvbpsi_frequency_list_dr_t type definition.
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
dvbpsi_frequency_list_dr_s::i_number_of_frequencies
uint8_t i_number_of_frequencies
Definition:
dr_62.h:53
Generated on Wed Jan 29 2020 00:00:00 for libdvbpsi by
1.8.17