libdvbpsi
0.2.2
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_56.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_56.h
3
* Copyright (C) 2004-2010 VideoLAN
4
* $Id: dr_56.h 93 2004-10-19 19:17:49Z massiot $
5
*
6
* Authors: Derk-Jan Hartman <hartman at videolan dot org>
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_56_H_
36
#define _DVBPSI_DR_56_H_
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
42
/*****************************************************************************
43
* dvbpsi_teletext_t
44
*****************************************************************************/
56
typedef
struct
dvbpsi_teletextpage_s
57
{
58
uint8_t i_iso6392_language_code[3];
/* 24 bits */
59
uint8_t i_teletext_type;
/* 5 bits */
60
uint8_t i_teletext_magazine_number;
/* 3 bits */
61
uint8_t i_teletext_page_number;
/* 8 bits */
62
63
}
dvbpsi_teletextpage_t
;
64
65
66
/*****************************************************************************
67
* dvbpsi_teletext_dr_t
68
*****************************************************************************/
80
typedef
struct
dvbpsi_teletext_dr_s
81
{
82
uint8_t i_pages_number;
83
dvbpsi_teletextpage_t
p_pages[64];
84
85
}
dvbpsi_teletext_dr_t
;
86
87
88
/*****************************************************************************
89
* dvbpsi_DecodeTeletextDataDr
90
*****************************************************************************/
99
dvbpsi_teletext_dr_t
* dvbpsi_DecodeTeletextDr(
100
dvbpsi_descriptor_t
* p_descriptor);
101
102
103
/*****************************************************************************
104
* dvbpsi_GenTeletextDr
105
*****************************************************************************/
116
dvbpsi_descriptor_t
*
dvbpsi_GenTeletextDr
(
117
dvbpsi_teletext_dr_t
* p_decoded,
118
int
b_duplicate);
119
120
121
#ifdef __cplusplus
122
};
123
#endif
124
125
#else
126
#error "Multiple inclusions of dr_56.h"
127
#endif
dvbpsi_teletextpage_s
Definition:
dr_56.h:56
dvbpsi_teletext_dr_s
"teletext" descriptor structure.
Definition:
dr_56.h:80
dvbpsi_teletextpage_t
one teletext page structure.
dvbpsi_GenTeletextDr
dvbpsi_descriptor_t * dvbpsi_GenTeletextDr(dvbpsi_teletext_dr_t *p_decoded, int b_duplicate)
"teletext" descriptor generator.
dvbpsi_descriptor_s
Descriptor structure.
Definition:
descriptor.h:54
dvbpsi_teletext_dr_t
struct dvbpsi_teletext_dr_s dvbpsi_teletext_dr_t
dvbpsi_teletext_dr_t type definition.
dvbpsi_teletextpage_t
struct dvbpsi_teletextpage_s dvbpsi_teletextpage_t
dvbpsi_teletextpage_t type definition.
Generated on Tue Nov 15 2016 08:39:50 for libdvbpsi by
1.8.5