libdvbpsi
1.3.2
src
descriptors
dr_83.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_83.h
19
20
Decode Logical Channel Number Descriptor.
21
22
*/
23
29
30
#ifndef _DR_83_H
31
#define _DR_83_H
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
/*****************************************************************************
38
* dvbpsi_lcn_entry_t
39
*****************************************************************************/
50
typedef
struct
dvbpsi_lcn_entry_s
51
{
52
uint16_t
i_service_id
;
53
int
b_visible_service_flag
;
54
uint16_t
i_logical_channel_number
;
55
}
dvbpsi_lcn_entry_t
;
56
57
/*****************************************************************************
58
* dvbpsi_lcn_dr_s
59
*****************************************************************************/
70
typedef
struct
dvbpsi_lcn_dr_s
71
{
72
uint8_t
i_number_of_entries
;
73
dvbpsi_lcn_entry_t
p_entries
[64];
74
}
dvbpsi_lcn_dr_t
;
75
76
/*****************************************************************************
77
* dvbpsi_DecodeLCNDr
78
*****************************************************************************/
86
dvbpsi_lcn_dr_t
*
dvbpsi_DecodeLCNDr
(
dvbpsi_descriptor_t
*p_descriptor);
87
88
/*****************************************************************************
89
* dvbpsi_GenLCNDr
90
*****************************************************************************/
101
dvbpsi_descriptor_t
*
dvbpsi_GenLCNDr
(
dvbpsi_lcn_dr_t
* p_decoded,
bool
b_duplicate);
102
103
#ifdef __cplusplus
104
};
105
#endif
106
107
#endif
// _DR_83_H
108
dvbpsi_descriptor_t
struct dvbpsi_descriptor_s dvbpsi_descriptor_t
dvbpsi_descriptor_t type definition.
dvbpsi_DecodeLCNDr
dvbpsi_lcn_dr_t * dvbpsi_DecodeLCNDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Logical Channel Number descriptor (tag 0x83)
dvbpsi_GenLCNDr
dvbpsi_descriptor_t * dvbpsi_GenLCNDr(dvbpsi_lcn_dr_t *p_decoded, bool b_duplicate)
"logical_channel" descriptor generator.
dvbpsi_lcn_dr_t
struct dvbpsi_lcn_dr_s dvbpsi_lcn_dr_t
dvbpsi_lcn_dr_t type definition.
dvbpsi_lcn_entry_t
struct dvbpsi_lcn_entry_s dvbpsi_lcn_entry_t
dvbpsi_lcn_entry_t type definition.
dvbpsi_lcn_dr_s
Logical Channel Number Descriptor.
Definition
dr_83.h:71
dvbpsi_lcn_dr_s::p_entries
dvbpsi_lcn_entry_t p_entries[64]
Definition
dr_83.h:73
dvbpsi_lcn_dr_s::i_number_of_entries
uint8_t i_number_of_entries
Definition
dr_83.h:72
dvbpsi_lcn_entry_s
Logical Channel Number Entry.
Definition
dr_83.h:51
dvbpsi_lcn_entry_s::i_logical_channel_number
uint16_t i_logical_channel_number
Definition
dr_83.h:54
dvbpsi_lcn_entry_s::i_service_id
uint16_t i_service_id
Definition
dr_83.h:52
dvbpsi_lcn_entry_s::b_visible_service_flag
int b_visible_service_flag
Definition
dr_83.h:53
Generated on
for libdvbpsi by
1.14.0