libdvbpsi
1.3.2
src
descriptors
dr_4d.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_4d.h
3
* Copyright (C) 2005-2010 VideoLAN
4
* $Id: dr_4d.h,v 1.3 2002/05/10 23:50:36 bozo Exp $
5
*
6
* Authors: Laurent Aimar <fenrir@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
35
#ifndef _DVBPSI_DR_4D_H_
36
#define _DVBPSI_DR_4D_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
43
/*****************************************************************************
44
* dvbpsi_short_event_dr_t
45
*****************************************************************************/
56
typedef
struct
dvbpsi_short_event_dr_s
57
{
58
uint8_t
i_iso_639_code
[3];
59
int
i_event_name_length
;
60
uint8_t
i_event_name
[256];
61
int
i_text_length
;
62
uint8_t
i_text
[256];
64
}
dvbpsi_short_event_dr_t
;
65
66
67
/*****************************************************************************
68
* dvbpsi_DecodeShortEventDr
69
*****************************************************************************/
78
dvbpsi_short_event_dr_t
*
dvbpsi_DecodeShortEventDr
(
dvbpsi_descriptor_t
* p_descriptor);
79
80
81
/*****************************************************************************
82
* dvbpsi_GenShortEventDr
83
*****************************************************************************/
93
dvbpsi_descriptor_t
*
dvbpsi_GenShortEventDr
(
dvbpsi_short_event_dr_t
* p_decoded,
94
bool
b_duplicate);
95
96
97
#ifdef __cplusplus
98
};
99
#endif
100
101
#else
102
#error "Multiple inclusions of dr_4d.h"
103
#endif
104
dvbpsi_DecodeShortEventDr
dvbpsi_short_event_dr_t * dvbpsi_DecodeShortEventDr(dvbpsi_descriptor_t *p_descriptor)
"short event" descriptor decoder.
dvbpsi_short_event_dr_s::i_text
uint8_t i_text[256]
Definition:
dr_4d.h:62
dvbpsi_short_event_dr_s::i_text_length
int i_text_length
Definition:
dr_4d.h:61
dvbpsi_short_event_dr_s::i_event_name
uint8_t i_event_name[256]
Definition:
dr_4d.h:60
dvbpsi_short_event_dr_s::i_event_name_length
int i_event_name_length
Definition:
dr_4d.h:59
dvbpsi_GenShortEventDr
dvbpsi_descriptor_t * dvbpsi_GenShortEventDr(dvbpsi_short_event_dr_t *p_decoded, bool b_duplicate)
"short event" descriptor generator.
dvbpsi_short_event_dr_s
"short event" descriptor structure.
Definition:
dr_4d.h:56
dvbpsi_short_event_dr_t
struct dvbpsi_short_event_dr_s dvbpsi_short_event_dr_t
dvbpsi_short_event_dr_t type definition.
dvbpsi_short_event_dr_s::i_iso_639_code
uint8_t i_iso_639_code[3]
Definition:
dr_4d.h:58
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:82
Generated on Mon Nov 11 2024 09:52:20 for libdvbpsi by
1.8.17