libdvbpsi
0.2.2
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_55.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_55.h
3
* Copyright (C) 2004-2010 VideoLAN
4
* $Id: dr_55.h 88 2004-02-24 14:31:18Z sam $
5
*
6
* Authors: Christophe Massiot <massiot@via.ecp.fr>
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
33
#ifndef _DVBPSI_DR_55_H_
34
#define _DVBPSI_DR_55_H_
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
/*****************************************************************************
41
* dvbpsi_parental_rating_t
42
*****************************************************************************/
54
typedef
struct
dvbpsi_parental_rating_s
55
{
56
uint32_t i_country_code;
57
uint8_t i_rating;
58
59
}
dvbpsi_parental_rating_t
;
60
61
62
/*****************************************************************************
63
* dvbpsi_parental_rating_dr_t
64
*****************************************************************************/
76
typedef
struct
dvbpsi_parental_rating_dr_s
77
{
78
uint8_t i_ratings_number;
79
dvbpsi_parental_rating_t
p_parental_rating[64];
80
81
}
dvbpsi_parental_rating_dr_t
;
82
83
84
/*****************************************************************************
85
* dvbpsi_DecodeParentalRatingDataDr
86
*****************************************************************************/
95
dvbpsi_parental_rating_dr_t
*
dvbpsi_DecodeParentalRatingDr
(
96
dvbpsi_descriptor_t
* p_descriptor);
97
98
99
/*****************************************************************************
100
* dvbpsi_GenParentalRatingDataDr
101
*****************************************************************************/
112
dvbpsi_descriptor_t
*
dvbpsi_GenParentalRatingDr
(
113
dvbpsi_parental_rating_dr_t
* p_decoded,
114
int
b_duplicate);
115
116
117
#ifdef __cplusplus
118
};
119
#endif
120
121
#else
122
#error "Multiple inclusions of dr_55.h"
123
#endif
124
Generated on Sun Apr 28 2013 19:44:50 for libdvbpsi by
1.8.3.1