53 static int fpa1_setCheckTags(
int,
int * );
59 static int fpa1_setCheckTags(
int tag,
int *optArr )
62 int arrLimit = optArr[0];
64 while (count < arrLimit)
66 if (tag == optArr[ count ])
85 int arrLimit = optArr[0];
88 while (count < arrLimit)
93 while (tempPtr != NULL)
95 if (tempPtr->
tag == optArr[ count ])
101 tempPtr = tempPtr->
next;
109 printf(
"NEEDED tag = %d \n", optArr[ count ] );
112 while (tempPtr != NULL)
119 tempPtr = tempPtr->
next;
122 printf(
"SET removed \n" );
152 while (tempPtr != NULL)
161 tempPtr->
tag = newPtr->
tag;
168 tempPtr = tempPtr->
next;
180 int limit = setArrPtr[0];
193 while (tagListPtr != NULL)
196 if (fpa1_setCheckTags( tagListPtr->
tag, setArrPtr ) < limit)
217 while (count < limit)
245 if (setTagPtr != NULL)
247 setTagPtr = fpa1_setCheckConstraints( setArrPtr, setTagPtr );
250 if (setTagPtr != NULL)
252 setTagPtr = fpa1_setResetTypeTags( setTagPtr );
Contains functions to decode MHEG-5 ASN.1 types.
fpa1_syntaxList * fpa1_synCreateListItem(int, vpa1_filePos, vpa1_filePos)
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
fpa1_syntaxList * fpa1_synAddItemToList(fpa1_syntaxList *, fpa1_syntaxList *)
fpa1_syntaxList * fpa1_synGetAllTags(vpa1_filePos)
Contains function to parse MHEG-5 ASN.1 tags.
fpa1_syntaxList * fpa1_typeParse(int, vpa1_filePos)
int fpa1_tagsParse(fpa1_syntaxList *)
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
Typedefs for script reading functions.
Contains macros for MHEG-5 ASN.1 tags and structures.
fpa1_syntaxList * fpa1_setParse(int *setArrPtr, vpa1_filePos filePosLimit)
vpa1_filePos nextTagPosition
syntax item block manager Contains functions to create a mini memory manager for allocating syntax li...
int fpa1_delList(fpa1_syntaxList *firstComp)
Contains functions used to parse MHEG-5 ASN.1 SETs. SETs can have components in any order and as such...
struct fpa1_syntaxItem * next
Contains functions used to parse MHEG-5 ASN.1 SEQUENCEs. SEQUENCEs have components in order...
fpa1_syntaxList * fpa1_delFirstItem(fpa1_syntaxList *firstComp)
int fpa1_rdfSetNewFilePosition(vpa1_filePos)