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 _FPA1_RDF_H 00027 #define _FPA1_RDF_H 00028 00029 /*---includes for this file--------------------------------------------------*/ 00030 #include "vpa1_sys.h" 00031 #include "fpa1_syn.h" 00032 00033 /*---Enumerations for public use---------------------------------------------*/ 00034 00035 /*---Global type defs for public use-----------------------------------------*/ 00036 00037 /*---Constant and macro definitions for public use---------------------------*/ 00038 00039 /*---Global variable declarations for public use-----------------------------*/ 00040 extern unsigned char *fpa1_outputBufferStart; 00041 extern unsigned long fpa1_outputBufferOffset; 00042 00043 extern int fpa1_GenericDataCount; 00044 extern int fpa1_GroupActionCount; 00045 extern int fpa1_GroupParamCount; 00046 00047 /*---Global Function prototypes for public use-------------------------------*/ 00048 int fpa1_rdfGetTag( void ); 00049 vpa1_filePos fpa1_rdfGetContentLength( void ); 00050 vpa1_filePos fpa1_rdfGetCurrentFilePosition( void ); 00051 int fpa1_rdfGetNextByte( void ); 00052 vpa1_filePos fpa1_rdfGetNextTagPosn( void ); 00053 int fpa1_rdfGetInteger( vpa1_filePos ); 00054 void fpa1_rdfGetOctetString( char *, vpa1_filePos ); 00055 void fpa1_rdfMoveToContents( void ); 00056 int fpa1_rdfSetNewFilePosition( vpa1_filePos ); 00057 int fpa1_rdfGetByteAbsolute( vpa1_filePos ); 00058 int fpa1_rdfGetIntegerAbsolute( vpa1_filePos, int ); 00059 int fpa1_rdfGetBooleanAbsolute( vpa1_filePos ); 00060 00070 fpa1_syntaxList* fpa1_parseScriptASN(unsigned char *asndata, unsigned long len); 00071 00072 #endif /*_FPA1_RDF_H*/