MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5profile.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
26 #ifndef _MH5PROFILE_H
27 #define _MH5PROFILE_H
28 
29 /*---includes for this file--------------------------------------------------*/
30 
31 #include "mh5base.h"
32 
33 /*---Constant and macro definitions for public use---------------------------*/
34 
35 /*
36  Please define/undefine the following switches with the compiler
37  */
38 
39 /* Indicate the exact profile version */
40 #define MHEG5PROFILEID "DTG 1.06"
41 
42 
43 /* Indicate that this is a version of UK1 profile */
44 #define MHEG5PROFILE_UK1
45 
46 /* Indicate that this is specific version 1.06 of the UK1 profile */
47 #define MHEG5PROFILE_UK1_06
48 
49 
50 /*
51  use PFR fonts
52  if NOT defined the standard Windows Font
53  ARIAL NARROW is used for Text Output
54  */
55 #undef _PFR_
56 
57 /*
58  Color Types
59  */
60 #define _RGBTCOLOR_ /* RRGGBBTT */
61 
62 #undef _PENGUINCOLOR_ /* "WHITE" */
63 #undef _4DOTCOLOR_ /* 255.200.198.10 */
64 #undef _RGBCOLOR_ /* RRGGBB */
65 
66 /*
67  Bitmap content types
68  */
69 #define _PNG_
70 #define _MPG2_
71 #undef _BMP_
72 #undef _JPG_
73 #undef _GIF_
74 
75 /*
76  Moving Cursor support
77  */
78 #undef _MOVINGCURSOR_
79 
80 /*
81  Slider Marker Size in % from whole Slidersize
82  */
83 #define DEFAULTSLIDERMARKERSIZE 5
84 
85 
86 /*
87  * Content Hook values from UK Profile version 1.05 table 3-5 Encoding Table
88  */
89 
90 /* Default (not encoded) value */
91 #define CHOOK_UNSPECIFIED (0)
92 
93 /* Bitmap object content hooks */
94 #define CHOOK_BITMAP_NORMAL_IFRAME (2)
95 #define CHOOK_BITMAP_PNG (4)
96 #ifdef INCLUDE_FREESAT
97 #define CHOOK_BITMAP_IMAGE_PLANE_IFRAME (5)
98 #endif
99 #define CHOOK_BITMAP_JPG (6)
100 #define CHOOK_BITMAP_H264_IFRAME (7)
101 
102 /* Text, EntryField and HyperText content hook */
103 #define CHOOK_TEXT_UTF8 (10)
104 #define CHOOK_TEXT_UTF16 (11)
105 
106 /* Stream object content hooks */
107 #define CHOOK_STREAM_NORMAL (10)
108 #define CHOOK_STREAM_MEMORY (11) /* Audio only in UK profile */
109 #define CHOOK_STREAM_HE_AAC (13)
110 #define CHOOK_STREAM_E_AC3 (14)
111 #define CHOOK_STREAM_IC (15)
112 
113 /* Downloadable font content hook */
114 #define CHOOK_FONT_TRUE_TYPE (10)
115 
116 /*
117  Pathname lengths
118  */
119 #ifdef INCLUDE_IC
120 #define MHEG5_ABSOLUTE_PATH_LENGTH (1024)
121 #else
122 #define MHEG5_ABSOLUTE_PATH_LENGTH (64)
123 #endif
124 
125 #define MHEG5_RELATIVE_PATH_LENGTH (128)
126 
127 
128 #undef MH5REMOTE
129 
130 /* Create log in debug build or windows build *
131  #if (! defined(NDEBUG)) || (defined(_WIN32))
132  #define MHEG5LOG
133  #define MH5PRINTOUT
134  #endif
135  */
136 
137 #undef EUROMHEG
138 
139 /* Size fo the persistant storage (in bytes) */
140 
141 #define MHEG5STORAGE_MEMSIZE 1024
142 
143 
144 /*---Enumerations for public use---------------------------------------------*/
145 
146 /*---Global type defs for public use-----------------------------------------*/
147 
148 /*---Global variable declarations for public use-----------------------------*/
149 
150 /*---Global Function prototypes for public use-------------------------------*/
151 
152 #endif /*_MH5PROFILE_H*/
Basis MHEG5 data types.