MHEG5
15.3.0
|
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 _MH5MISC_H 00027 #define _MH5MISC_H 00028 00029 /*---includes for this file--------------------------------------------------*/ 00030 00031 #include "mh5base.h" 00032 #include "dvblocator.h" 00033 00034 /*---Constant and macro definitions for public use---------------------------*/ 00035 00036 /*---Enumerations for public use---------------------------------------------*/ 00037 00038 /*---Global type defs for public use-----------------------------------------*/ 00039 00040 /*---Global variable declarations for public use-----------------------------*/ 00041 00042 /*---Global Function prototypes for public use-------------------------------*/ 00043 00057 MHEG5Bool MHEG5parseUrl(U8BIT *buffer, U32BIT length, 00058 S_DVB_LOCATOR *multiplexRef); 00059 00060 00073 MHEG5Int MHEG5GetServiceIndex(MHEG5String *serviceReference); 00074 00083 void MHEG5SetSubtitleMode(MHEG5Bool subtitleOn); 00084 00085 00094 MHEG5String MHEG5GetBootInfo(MHEG5Bool *InfoResultVal); 00095 00096 00104 MHEG5Int MHEG5GetDisplayAspectRatio(void); 00105 00106 00119 MHEG5Bool MHEG5VideoToGraphics(MHEG5Int videoXval, MHEG5Int videoYval, 00120 MHEG5Int *graphicsXVal, MHEG5Int *graphicsYVal); 00121 00122 00142 MHEG5Bool MHEG5GetBasicSI(MHEG5Int serviceIndex, MHEG5Int *networkID, 00143 MHEG5Int *origNetworkID, MHEG5Int *transportStreamID, 00144 MHEG5Int *serviceID); 00145 00146 00159 MHEG5Bool MHEG5RequestMPEGDecoder(MHEG5Bool request); 00160 00172 void MHEG5SuppressMHEGGraphics(MHEG5Bool request); 00173 00174 00180 void MHEG5restoreReceiverDefaults(void); 00181 00182 00188 MHEG5Bool MHEG5getICSupport(MHEG5Int val); 00189 00190 #ifdef INCLUDE_IC 00191 00199 void MHEG5getICStatus(MHEG5Int *icStatus); 00200 00208 void MHEG5clearICStatus(void); 00209 void MHEG5changedICStatus(void); 00210 00216 void MHEG5isConnectionEnabled(MHEG5Bool *enabled); 00217 00218 #ifdef INCLUDE_ICS 00219 00224 MHEG5Bool MHEG5IsPinRequired(void); 00225 00233 void MHEG5promptForGuidance(MHEG5String *restriction, MHEG5Bool show); 00234 00235 00236 #ifndef INCLUDE_FREESAT 00237 00245 MHEG5Bool MHEG5GetPINSupport(MHEG5Int *support); 00246 00247 #else /* INCLUDE_FREESAT */ 00248 00256 MHEG5Bool MHEG5GetFSIServiceReference(MHEG5Int serviceIndex, MHEG5Int *fsi, MHEG5String *fsiString); 00257 00258 00266 MHEG5Bool MHEG5GetPINRequirement(MHEG5Int *status); 00267 00268 00277 MHEG5Bool MHEG5ValidatePIN(MHEG5String *pin, MHEG5Int *status); 00278 00279 00289 MHEG5Bool MHEG5ComputePrivateSignature(MHEG5String *data, MHEG5String *result); 00290 00291 #endif /* INCLUDE_FREESAT */ 00292 00293 #endif /* INCLUDE_ICS */ 00294 00295 #endif /* INCLUDE_IC */ 00296 00297 #endif /*_MH5MISC_H*/