libdvbpsi 1.3.2
dr_76.h
Go to the documentation of this file.
1/*
2Copyright (C) 2006 Adam Charrett
3
4This library is free software; you can redistribute it and/or
5modify it under the terms of the GNU Lesser General Public
6License as published by the Free Software Foundation; either
7version 2.1 of the License, or (at your option) any later version.
8
9This library is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12Lesser General Public License for more details.
13
14You should have received a copy of the GNU Lesser General Public
15License along with this library; if not, write to the Free Software
16Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18dr_76.h
19
20Decode Content Identifier Descriptor.
21
22*/
23
30#ifndef _DR_76_H
31#define _DR_76_H
32
33#ifdef __cplusplus
34extern "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 *****************************************************************************/
78typedef 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;
88
94#define DVBPSI_CRID_ENTRY_DR_MAX 85
95
96/*****************************************************************************
97 * dvbpsi_content_id_dr_s
98 *****************************************************************************/
114
115/*****************************************************************************
116 * dvbpsi_DecodeLCNDr
117 *****************************************************************************/
126
127#ifdef __cplusplus
128};
129#endif
130
131#endif
132
133
dvbpsi_content_id_dr_t * dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Content Identifier descriptor (tag 0x76)
struct dvbpsi_crid_entry_s dvbpsi_crid_entry_t
dvbpsi_crid_entry_t type definition.
struct dvbpsi_content_id_dr_s dvbpsi_content_id_dr_t
dvbpsi_content_id_dr_t type definition.
#define DVBPSI_CRID_ENTRY_DR_MAX
Maximum number of dvbpsi_crid_entry_t entries present in.
Definition dr_76.h:94
Content Identifier Descriptor.
Definition dr_76.h:110
uint8_t i_number_of_entries
Definition dr_76.h:111
dvbpsi_crid_entry_t p_entries[DVBPSI_CRID_ENTRY_DR_MAX]
Definition dr_76.h:112
CRID Entry.
Definition dr_76.h:79
union dvbpsi_crid_entry_s::@3 value
uint8_t path[253]
Definition dr_76.h:84
uint16_t ref
Definition dr_76.h:85
uint8_t i_location
Definition dr_76.h:81
uint8_t i_type
Definition dr_76.h:80
Descriptor structure.
Definition descriptor.h:83