MHEG5  18.9.0
MHEG5 Documentation
Functions | Variables
fpa1_rdf.h File Reference

Contains functions/globals used to read MHEG-5 ASN.1 scripts. More...

#include "vpa1_sys.h"
#include "fpa1_syn.h"

Go to the source code of this file.

Functions

int fpa1_rdfGetTag (void)
 
vpa1_filePos fpa1_rdfGetContentLength (void)
 
vpa1_filePos fpa1_rdfGetCurrentFilePosition (void)
 
int fpa1_rdfGetNextByte (void)
 
vpa1_filePos fpa1_rdfGetNextTagPosn (void)
 
int fpa1_rdfGetInteger (vpa1_filePos)
 
void fpa1_rdfGetOctetString (char *, vpa1_filePos)
 
void fpa1_rdfMoveToContents (void)
 
int fpa1_rdfSetNewFilePosition (vpa1_filePos)
 
int fpa1_rdfGetByteAbsolute (vpa1_filePos)
 
int fpa1_rdfGetIntegerAbsolute (vpa1_filePos, int)
 
int fpa1_rdfGetBooleanAbsolute (vpa1_filePos)
 
fpa1_syntaxListfpa1_parseScriptASN (unsigned char *asndata, unsigned long len)
 Top level entry point to the ASN.1 script to fpa1_syntaxList converter. This function takes the original ASN.1 script as a character array and returns a pointer to a syntax list representing the contents of the ASN.1 script. More...
 

Variables

unsigned char * fpa1_outputBufferStart
 
unsigned long fpa1_outputBufferOffset
 
int fpa1_GenericDataCount
 
int fpa1_GroupActionCount
 
int fpa1_GroupParamCount
 

Detailed Description

Contains functions/globals used to read MHEG-5 ASN.1 scripts.

Date
25/02/00
Author
J.F.Scully

Definition in file fpa1_rdf.h.

Function Documentation

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 original ASN.1 script as a character array and returns a pointer to a syntax list representing the contents of the ASN.1 script.

Parameters
asndataASN.1 script (as character array)
lenLength of asn.1 script.
Returns
*fpa1_syntaxList

Definition at line 462 of file fpa1_rdf.c.

int fpa1_rdfGetBooleanAbsolute ( vpa1_filePos  pos)

Gets a boolean from the current ASN.1 file buffer. Does no range checking.

Parameters
posfile position for read
Returns
int

Definition at line 447 of file fpa1_rdf.c.

int fpa1_rdfGetByteAbsolute ( vpa1_filePos  pos)

Gets a byte from the current ASN.1 file buffer.

Parameters
posfile position for read
Returns
int

Definition at line 402 of file fpa1_rdf.c.

vpa1_filePos fpa1_rdfGetContentLength ( void  )
Returns

Definition at line 204 of file fpa1_rdf.c.

vpa1_filePos fpa1_rdfGetCurrentFilePosition ( void  )
Returns

Definition at line 253 of file fpa1_rdf.c.

int fpa1_rdfGetInteger ( vpa1_filePos  intLength)
Returns

Definition at line 277 of file fpa1_rdf.c.

int fpa1_rdfGetIntegerAbsolute ( vpa1_filePos  pos,
int  intLength 
)

Gets an integer (in hex format) from the current ASN.1 file buffer.

Parameters
posfile position for read.
tLengthin Number of bytes representing the integer (between 1 and 4)
Returns
int

Definition at line 418 of file fpa1_rdf.c.

int fpa1_rdfGetNextByte ( void  )
Returns

Definition at line 262 of file fpa1_rdf.c.

vpa1_filePos fpa1_rdfGetNextTagPosn ( void  )
Returns

Definition at line 336 of file fpa1_rdf.c.

void fpa1_rdfGetOctetString ( char *  ,
vpa1_filePos   
)
int fpa1_rdfGetTag ( void  )
Returns

Definition at line 142 of file fpa1_rdf.c.

void fpa1_rdfMoveToContents ( void  )

strPtr must point to an array of length + 1 (to allow for teh NULL char).

Returns

Definition at line 319 of file fpa1_rdf.c.

int fpa1_rdfSetNewFilePosition ( vpa1_filePos  newPosition)

To be used only to set tag positions.

Returns

Definition at line 375 of file fpa1_rdf.c.

Variable Documentation

int fpa1_GenericDataCount

Definition at line 66 of file fpa1_rdf.c.

int fpa1_GroupActionCount

Definition at line 67 of file fpa1_rdf.c.

int fpa1_GroupParamCount

Definition at line 68 of file fpa1_rdf.c.

unsigned long fpa1_outputBufferOffset

Definition at line 61 of file fpa1_rdf.c.

unsigned char* fpa1_outputBufferStart

Definition at line 60 of file fpa1_rdf.c.