67 int limit = compSeqArr[0];
79 while ((count < limit) && (tagListPtr != NULL))
81 if (tagListPtr->tag == compSeqArr[count])
84 tagListPtr->tagPosition,
85 tagListPtr->nextTagPosition );
96 else if (compSeqArr[count] > MHEG5_TYPE)
111 itemCnt[1] += itemPtr->childCount[0];
112 itemCnt[2] += itemPtr->childCount[1];
116 else if ((compSeqArr[count + 1] != SYN_OPTIONAL) &&
117 (compSeqArr[count + 1] != SYN_DEFAULT))
152 case SEQ_OF_DEF_ATTRIBS:
155 case SEQ_OF_GROUP_ITEM:
158 case SEQ_OF_MOVEMENT:
164 case SEQ_OF_ELEMENTARY_ACTION:
167 case SEQ_OF_ACTION_SLOT:
170 case SEQ_OF_TOKEN_GROUP_ITEM:
171 seqOfItem =
fpa1_typeParse( TOKEN_GROUP_ITEM_TYPE, filePosLimit );
173 case SEQ_OF_PARAMETER:
179 case SEQ_OF_OBJECT_REFERENCE:
180 seqOfItem =
fpa1_typeParse( OBJECT_REFERENCE_TYPE, filePosLimit );
182 case SEQ_OF_NEXT_SCENE:
185 case SEQ_OF_STREAM_COMP:
188 case SEQ_OF_XY_POSITION:
195 if (seqOfItem != NULL)
199 itemCnt[1] += seqOfItem->childCount[0];
200 itemCnt[2] += seqOfItem->childCount[1];
204 while (seqOfItem->next != NULL)
205 seqOfItem = seqOfItem->next;
207 if (seqOfItem->nextTagPosition < filePosLimit)
216 else if (whichType == SEQ_OF_ELEMENTARY_ACTION ||
217 whichType == SEQ_OF_GROUP_ITEM)
221 if (nextTagPosn < filePosLimit)
232 while (seqOfItem != NULL);
fpa1_syntaxList * fpa1_setParse(int *, vpa1_filePos)
Contains functions to decode MHEG-5 ASN.1 types.
fpa1_syntaxList * fpa1_synCreateListItem(int, vpa1_filePos, vpa1_filePos)
Contains functions to decode MHEG-5 ASN.1 Token Group and Token Manager class components.
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
fpa1_syntaxList * fpa1_synAddItemToList(fpa1_syntaxList *, fpa1_syntaxList *)
Contains functions to decode MHEG-5 ASN.1 Integer class component.
fpa1_syntaxList * fpa1_synGetAllTags(vpa1_filePos)
Contains function to parse MHEG-5 ASN.1 tags.
vpa1_filePos fpa1_rdfGetNextTagPosn(void)
fpa1_syntaxList * fpa1_typeParse(int, vpa1_filePos)
int fpa1_tagsParse(fpa1_syntaxList *)
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
Contains functions to decode MHEG-5 ASN.1 Stream, Audio, Video, RTGraphics class components.
fpa1_syntaxList * fpa1_sequenceOfParse(unsigned short *itemCnt, int whichType, vpa1_filePos filePosLimit)
Typedefs for script reading functions.
Contains functions to decode MHEG-5 ASN.1 Action class components.
Contains macros for MHEG-5 ASN.1 tags and structures.
syntax item block manager Contains functions to create a mini memory manager for allocating syntax li...
fpa1_syntaxList * fpa1_sequenceParse(unsigned short *itemCnt, int *compSeqArr, vpa1_filePos filePosLimit)
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...
Contains functions to decode MHEG-5 ASN.1 Application class components.
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)
fpa1_syntaxList * fpa1_choiceParse(int *)