libdvbpsi  0.2.2
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  *****************************************************************************/
55 {
56  uint32_t i_country_code;
57  uint8_t i_rating;
58 
60 
61 
62 /*****************************************************************************
63  * dvbpsi_parental_rating_dr_t
64  *****************************************************************************/
77 {
78  uint8_t i_ratings_number;
79  dvbpsi_parental_rating_t p_parental_rating[64];
80 
82 
83 
84 /*****************************************************************************
85  * dvbpsi_DecodeParentalRatingDataDr
86  *****************************************************************************/
96  dvbpsi_descriptor_t * p_descriptor);
97 
98 
99 /*****************************************************************************
100  * dvbpsi_GenParentalRatingDataDr
101  *****************************************************************************/
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 
dvbpsi_descriptor_t * dvbpsi_GenParentalRatingDr(dvbpsi_parental_rating_dr_t *p_decoded, int b_duplicate)
&quot;parental_rating&quot; descriptor generator.
&quot;parental_rating&quot; descriptor structure.
Definition: dr_55.h:76
struct dvbpsi_parental_rating_s dvbpsi_parental_rating_t
dvbpsi_parental_rating_t type definition.
struct dvbpsi_parental_rating_dr_s dvbpsi_parental_rating_dr_t
dvbpsi_parental_rating_dr_t type definition.
one subtitle structure.
Definition: dr_55.h:54
dvbpsi_parental_rating_dr_t * dvbpsi_DecodeParentalRatingDr(dvbpsi_descriptor_t *p_descriptor)
&quot;parental_rating&quot; descriptor decoder.
Descriptor structure.
Definition: descriptor.h:54