![]() |
MHEG5
22.11.0
|
Contains functions/globals used to read MHEG-5 ASN.1 scripts. More...
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_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. More... | |
Variables | |
unsigned char * | fpa1_outputBufferStart |
unsigned long | fpa1_outputBufferOffset |
int | fpa1_GenericDataCount |
int | fpa1_GroupActionCount |
int | fpa1_GroupParamCount |
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
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.
asndata | ASN.1 script (as character array) |
len | Length of asn.1 script. |
int fpa1_rdfGetBooleanAbsolute | ( | vpa1_filePos | pos | ) |
Gets a boolean from the current ASN.1 file buffer. Does no range checking.
pos | file position for read |
int fpa1_rdfGetByteAbsolute | ( | vpa1_filePos | pos | ) |
Gets a byte from the current ASN.1 file buffer.
pos | file position for read |
vpa1_filePos fpa1_rdfGetContentLength | ( | void | ) |
vpa1_filePos fpa1_rdfGetCurrentFilePosition | ( | void | ) |
int fpa1_rdfGetInteger | ( | vpa1_filePos | intLength | ) |
int fpa1_rdfGetIntegerAbsolute | ( | vpa1_filePos | pos, |
int | intLength | ||
) |
Gets an integer (in hex format) from the current ASN.1 file buffer.
pos | file position for read. |
tLength | in Number of bytes representing the integer (between 1 and 4) |
int fpa1_rdfGetNextByte | ( | void | ) |
vpa1_filePos fpa1_rdfGetNextTagPosn | ( | void | ) |
int fpa1_rdfGetTag | ( | void | ) |
void fpa1_rdfMoveToContents | ( | void | ) |
strPtr must point to an array of length + 1 (to allow for teh NULL char).
int fpa1_rdfSetNewFilePosition | ( | vpa1_filePos | newPosition | ) |
To be used only to set tag positions.