MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
fpa1_rdf.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 _FPA1_RDF_H
27 #define _FPA1_RDF_H
28 
29 /*---includes for this file--------------------------------------------------*/
30 #include "vpa1_sys.h"
31 #include "fpa1_syn.h"
32 
33 /*---Enumerations for public use---------------------------------------------*/
34 
35 /*---Global type defs for public use-----------------------------------------*/
36 
37 /*---Constant and macro definitions for public use---------------------------*/
38 
39 /*---Global variable declarations for public use-----------------------------*/
40 extern unsigned char *fpa1_outputBufferStart;
41 extern unsigned long fpa1_outputBufferOffset;
42 
43 extern int fpa1_GenericDataCount;
44 extern int fpa1_GroupActionCount;
45 extern int fpa1_GroupParamCount;
46 
47 /*---Global Function prototypes for public use-------------------------------*/
48 int fpa1_rdfGetTag( void );
49 vpa1_filePos fpa1_rdfGetContentLength( void );
50 vpa1_filePos fpa1_rdfGetCurrentFilePosition( void );
51 int fpa1_rdfGetNextByte( void );
52 vpa1_filePos fpa1_rdfGetNextTagPosn( void );
53 int fpa1_rdfGetInteger( vpa1_filePos );
54 void fpa1_rdfGetOctetString( char *, vpa1_filePos );
55 void fpa1_rdfMoveToContents( void );
56 int fpa1_rdfSetNewFilePosition( vpa1_filePos );
57 int fpa1_rdfGetByteAbsolute( vpa1_filePos );
58 int fpa1_rdfGetIntegerAbsolute( vpa1_filePos, int );
59 int fpa1_rdfGetBooleanAbsolute( vpa1_filePos );
60 
70 fpa1_syntaxList* fpa1_parseScriptASN(unsigned char *asndata, unsigned long len);
71 
72 #endif /*_FPA1_RDF_H*/
int fpa1_rdfGetByteAbsolute(vpa1_filePos)
Definition: fpa1_rdf.c:402
vpa1_filePos fpa1_rdfGetCurrentFilePosition(void)
Definition: fpa1_rdf.c:253
void fpa1_rdfMoveToContents(void)
Definition: fpa1_rdf.c:319
fpa1_syntaxList * fpa1_parseScriptASN(unsigned char *asndata, unsigned long len)
Top level entry point to the ASN.1 script to fpa1_syntaxList converter. This function takes the origi...
Definition: fpa1_rdf.c:462
vpa1_filePos fpa1_rdfGetNextTagPosn(void)
Definition: fpa1_rdf.c:336
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
int fpa1_rdfGetBooleanAbsolute(vpa1_filePos)
Definition: fpa1_rdf.c:447
int fpa1_rdfGetIntegerAbsolute(vpa1_filePos, int)
Definition: fpa1_rdf.c:418
int fpa1_rdfGetInteger(vpa1_filePos)
Definition: fpa1_rdf.c:277
Definition: fpa1_syn.h:50
vpa1_filePos fpa1_rdfGetContentLength(void)
Definition: fpa1_rdf.c:204
int fpa1_rdfGetNextByte(void)
Definition: fpa1_rdf.c:262
int fpa1_rdfGetTag(void)
Definition: fpa1_rdf.c:142
int fpa1_rdfSetNewFilePosition(vpa1_filePos)
Definition: fpa1_rdf.c:375