MHEG5  15.3.0
source/core/inc/mh5profile.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  * Copyright © 2000 Koninklijke Philips Electronics N.V
00005  *
00006  * This file is part of a DTVKit Software Component
00007  * You are permitted to copy, modify or distribute this file subject to the terms
00008  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00009  * 
00010  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00011  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00012  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00013  * 
00014  * If you or your organisation is not a member of DTVKit then you have access
00015  * to this source code outside of the terms of the licence agreement
00016  * and you are expected to delete this and any associated files immediately.
00017  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00018  *******************************************************************************/
00026 #ifndef _MH5PROFILE_H
00027 #define _MH5PROFILE_H
00028 
00029 /*---includes for this file--------------------------------------------------*/
00030 
00031 #include "mh5base.h"
00032 
00033 /*---Constant and macro definitions for public use---------------------------*/
00034 
00035 /*
00036    Please define/undefine the following switches with the compiler
00037  */
00038 
00039 /* Indicate the exact profile version */
00040 #define MHEG5PROFILEID "DTG 1.06"
00041 
00042 
00043 /* Indicate that this is a version of UK1 profile */
00044 #define MHEG5PROFILE_UK1
00045 
00046 /* Indicate that this is specific version 1.06 of the UK1 profile */
00047 #define MHEG5PROFILE_UK1_06
00048 
00049 
00050 /*
00051     use PFR fonts
00052     if NOT defined the standard Windows Font
00053     ARIAL NARROW is used for Text Output
00054  */
00055 #undef _PFR_
00056 
00057 /*
00058    Color Types
00059  */
00060 #define _RGBTCOLOR_     /* RRGGBBTT       */
00061 
00062 #undef _PENGUINCOLOR_   /* "WHITE"        */
00063 #undef _4DOTCOLOR_      /* 255.200.198.10 */
00064 #undef _RGBCOLOR_       /* RRGGBB         */
00065 
00066 /*
00067    Bitmap content types
00068  */
00069 #define _PNG_
00070 #define _MPG2_
00071 #undef _BMP_
00072 #undef _JPG_
00073 #undef _GIF_
00074 
00075 /*
00076    Moving Cursor support
00077  */
00078 #undef _MOVINGCURSOR_
00079 
00080 /*
00081     Slider Marker Size in % from whole Slidersize
00082  */
00083 #define DEFAULTSLIDERMARKERSIZE 5
00084 
00085 
00086 /*
00087  * Content Hook values from UK Profile version 1.05 table 3-5 Encoding Table
00088  */
00089 
00090 /* Default (not encoded) value */
00091 #define CHOOK_UNSPECIFIED            (0)
00092 
00093 /* Bitmap object content hooks */
00094 #define CHOOK_BITMAP_NORMAL_IFRAME   (2)
00095 #define CHOOK_BITMAP_PNG             (4)
00096 #ifdef INCLUDE_FREESAT
00097 #define CHOOK_BITMAP_IMAGE_PLANE_IFRAME (5)
00098 #endif
00099 #define CHOOK_BITMAP_JPG             (6)
00100 #define CHOOK_BITMAP_H264_IFRAME     (7)
00101 
00102 /* Text, EntryField and HyperText content hook */
00103 #define CHOOK_TEXT_UTF8              (10)
00104 #define CHOOK_TEXT_UTF16             (11)
00105 
00106 /* Stream object content hooks */
00107 #define CHOOK_STREAM_NORMAL          (10)
00108 #define CHOOK_STREAM_MEMORY          (11)   /* Audio only in UK profile */
00109 #define CHOOK_STREAM_HE_AAC          (13)
00110 #define CHOOK_STREAM_E_AC3           (14)
00111 #define CHOOK_STREAM_IC              (15)
00112 
00113 /* Downloadable font content hook */
00114 #define CHOOK_FONT_TRUE_TYPE         (10)
00115 
00116 /*
00117    Pathname lengths
00118  */
00119 #ifdef INCLUDE_IC
00120 #define MHEG5_ABSOLUTE_PATH_LENGTH (1024)
00121 #else
00122 #define MHEG5_ABSOLUTE_PATH_LENGTH (64)
00123 #endif
00124 
00125 #define MHEG5_RELATIVE_PATH_LENGTH (128)
00126 
00127 
00128 #undef MH5REMOTE
00129 
00130 /* Create log in debug build or windows build *
00131    #if (! defined(NDEBUG)) || (defined(_WIN32))
00132    #define MHEG5LOG
00133    #define MH5PRINTOUT
00134    #endif
00135  */
00136 
00137 #undef EUROMHEG
00138 
00139 /* Size fo the persistant storage (in bytes) */
00140 
00141 #define MHEG5STORAGE_MEMSIZE  1024
00142 
00143 
00144 /*---Enumerations for public use---------------------------------------------*/
00145 
00146 /*---Global type defs for public use-----------------------------------------*/
00147 
00148 /*---Global variable declarations for public use-----------------------------*/
00149 
00150 /*---Global Function prototypes for public use-------------------------------*/
00151 
00152 #endif /*_MH5PROFILE_H*/
 All Data Structures Files Functions Variables Typedefs Defines