DVBCore
22.3.0
Open Source DVB Engine
Main Page
Related Pages
Classes
Files
File List
File Members
DTVKit
DVBCore
dvb
inc
ap_common.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright © 2016 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3
* Copyright © 2004 Ocean Blue Software Ltd
4
*
5
* This file is part of a DTVKit Software Component
6
* You are permitted to copy, modify or distribute this file subject to the terms
7
* of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8
*
9
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11
* OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12
*
13
* If you or your organisation is not a member of DTVKit then you have access
14
* to this source code outside of the terms of the licence agreement
15
* and you are expected to delete this and any associated files immediately.
16
* Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17
*******************************************************************************/
24
// pre-processor mechanism so multiple inclusions don't cause compilation error
25
#ifndef _AP_COMMON_H
26
#define _AP_COMMON_H
27
28
#include "
techtype.h
"
29
30
//---Constant and macro definitions for public use-----------------------------
31
32
//---Enumerations for public use-----------------------------------------------
33
34
//---Global type defs for public use-------------------------------------------
35
36
typedef
struct
s_dvb_subt_info
37
{
38
U16BIT cpage;
39
U16BIT apage;
40
}
S_DVB_SUBT_INFO
;
41
42
typedef
struct
s_teletext_subt
43
{
44
U8BIT magazine;
45
U8BIT page;
46
}
S_TELETEXT_INFO
;
47
48
typedef
struct
s_cc_subt_info
49
{
50
BOOLEAN digital_cc;
51
U8BIT caption_service_number;
52
U8BIT index;
53
}
S_CC_SUBT_INFO
;
54
55
typedef
enum
56
{
57
E_SUBTITLE_FORMAT_DVB,
58
E_SUBTITLE_FORMAT_TELETEXT,
59
E_SUBTITLE_FORMAT_CC,
60
E_SUBTITLE_FORMAT_UNDEFINED,
61
} E_SUBTITLE_FORMAT;
62
63
typedef
struct
64
{
65
E_SUBTITLE_FORMAT subs_format;
66
union
67
{
68
S_DVB_SUBT_INFO
subt;
69
S_TELETEXT_INFO
ttxt;
70
S_CC_SUBT_INFO
cc;
71
} u;
72
}
ADB_SUBT_INFO
;
73
74
//---Global Function prototypes for public use---------------------------------
75
76
#endif
/*_AP_COMMON_H*/
s_dvb_subt_info
Definition:
ap_common.h:36
ADB_SUBT_INFO
Definition:
ap_common.h:63
s_cc_subt_info
Definition:
ap_common.h:48
techtype.h
System Wide Global Technical Data Type Definitions.
s_teletext_subt
Definition:
ap_common.h:42
Generated by
1.8.11