libdvbpsi
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_76.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_76.h
19
20
Decode Content Identifier Descriptor.
21
22
*/
23
30
#ifndef _DR_76_H
31
#define _DR_76_H
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
50
#define CRID_TYPE_UNDEFINED 0
51
#define CRID_TYPE_CONTENT 1
52
#define CRID_TYPE_SERIES 2
53
#define CRID_TYPE_RECOMMENDATION 3
54
62
#define CRID_LOCATION_DESCRIPTOR 0
63
#define CRID_LOCATION_CIT 1
64
65
/*****************************************************************************
66
* dvbpsi_lcn_entry_t
67
*****************************************************************************/
78
typedef
struct
dvbpsi_crid_entry_s
79
{
80
uint8_t
i_type
;
81
uint8_t
i_location
;
82
union
83
{
84
uint8_t
path
[253];
85
uint16_t
ref
;
86
}
value
;
87
}
dvbpsi_crid_entry_t
;
88
94
#define DVBPSI_CRID_ENTRY_DR_MAX 85
95
96
/*****************************************************************************
97
* dvbpsi_content_id_dr_s
98
*****************************************************************************/
109
typedef
struct
dvbpsi_content_id_dr_s
110
{
111
uint8_t
i_number_of_entries
;
112
dvbpsi_crid_entry_t
p_entries[
DVBPSI_CRID_ENTRY_DR_MAX
];
113
}
dvbpsi_content_id_dr_t
;
114
115
/*****************************************************************************
116
* dvbpsi_DecodeLCNDr
117
*****************************************************************************/
125
dvbpsi_content_id_dr_t
*
dvbpsi_DecodeContentIdDr
(
dvbpsi_descriptor_t
*p_descriptor);
126
127
#ifdef __cplusplus
128
};
129
#endif
130
131
#endif
132
133
dvbpsi_DecodeContentIdDr
dvbpsi_content_id_dr_t * dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Content Identifier descriptor (tag 0x76)
dvbpsi_crid_entry_s::i_location
uint8_t i_location
Definition:
dr_76.h:81
dvbpsi_content_id_dr_t
struct dvbpsi_content_id_dr_s dvbpsi_content_id_dr_t
dvbpsi_content_id_dr_t type definition.
dvbpsi_crid_entry_s::value
union dvbpsi_crid_entry_s::@3 value
dvbpsi_content_id_dr_s::i_number_of_entries
uint8_t i_number_of_entries
Definition:
dr_76.h:111
dvbpsi_crid_entry_s::ref
uint16_t ref
Definition:
dr_76.h:85
dvbpsi_crid_entry_s
CRID Entry.
Definition:
dr_76.h:78
DVBPSI_CRID_ENTRY_DR_MAX
#define DVBPSI_CRID_ENTRY_DR_MAX
Maximum number of dvbpsi_crid_entry_t entries present in.
Definition:
dr_76.h:94
dvbpsi_crid_entry_t
struct dvbpsi_crid_entry_s dvbpsi_crid_entry_t
dvbpsi_crid_entry_t type definition.
dvbpsi_crid_entry_s::path
uint8_t path[253]
Definition:
dr_76.h:84
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
dvbpsi_crid_entry_s::i_type
uint8_t i_type
Definition:
dr_76.h:80
dvbpsi_content_id_dr_s
Content Identifier Descriptor.
Definition:
dr_76.h:109
Generated on Sun May 8 2016 22:59:13 for libdvbpsi by
1.8.11