72 while (currItem != NULL)
82 currItem = currItem->
next;
100 assert( tmpItem != NULL );
127 tmpItem = tmpItem->
next;
164 DPL5((
">> asn1_decodeTokenGroup(%X,%X)\n", listPtr, tokenGrp));
177 while (currItem != NULL)
180 switch (currItem->
tag)
184 while (child != NULL)
191 errVal |= decodeTokenSlotRef(gchild, token_ptr);
192 gchild = gchild->
next;
195 actions_ptr = decodeActionSlot(gchild->
children, token_ptr, actions_ptr);
204 actions_ptr = decodeActionSlot(currItem->
children, tokenGrp->
tokens_ptr, actions_ptr);
210 while (child != NULL)
216 while (gchild != NULL)
224 DPL2((
"WARNING:[ASN.1] Unexpected tag in movementTable\n"));
227 gchild = gchild->
next;
280 currItem = currItem->
next;
286 DPL2((
"WARNING:[ASN.1] asn1_decodeTokenGroup() returns errVal = %d\n", errVal));
290 DPL5((
"<< asn1_decodeTokenGroup() Returns %d\n", errVal));
302 U32BIT itm_cnt = 1, ast_cnt = 0;
305 while (currItem != NULL)
308 switch (currItem->
tag)
320 currItem = currItem->
next;
322 return itm_cnt << 16 | ast_cnt;
335 U32BIT itm_cnt, ast_cnt, size;
340 ast_cnt = itm_cnt & 0xffff;
348 if (tokenGrp != NULL)
350 memset(tokenGrp, 0, size);
asnErr asn1_decodeTokenGroup(fpa1_syntaxList *listPtr, MHEG5TokenGroup *tokenGrp)
Decodes TokenGroup class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Action from a MHEG5 script (in the form of a list of fpa1_syntaxList struc...
Functions to create a MHEG5Ingredient from a MHEG5 script (in the form of a list of fpa1_syntaxList s...
MH5GroupPtr asn1_mainGroupPtr
void MHEG5tokenManagerAddRow(MHEG5TokenManager *tokenManager)
Add a new row to a TokenManager.
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Functions to create a MHEG5Group from a MHEG5 script (in the form of a list of fpa1_syntaxList struct...
U32BIT asn1_getTokenGroupItemCount(fpa1_syntaxList *currItem)
Gets total count of TG Items and Action Slots.
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
union sMH5GroupRef::@5 ptr
struct fpa1_syntaxItem * children
unsigned short childCount[3]
void MHEG5tokenManagerAddNumber(MHEG5TokenManager *tokenManager, MHEG5Int number)
Insert a number into the last element of the movement table.
typedefs etc for the whole object creation section.
Contains macros for MHEG-5 ASN.1 tags and structures.
MHEG5Ingredient * asn1_createTokenGroup(fpa1_syntaxList *listPtr)
Decodes TokenGroup class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5TokenManager from a MHEG5 script (in the form of a list of fpa1_syntaxList...
Implement the MHEG5 Tokengroup Class 29 TokenGroup Class. Defines a group of Visible objects for navi...
void asn1_decodeActions(fpa1_syntaxList *listPtr, MHEG5ActionList *p_actions)
Decodes action class Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
MHEG5TokenSlot * tokens_ptr
MHEG5Bool initiallyStopped
MHEG5Ingredient ingredient
MHEG5ActionList * actions_ptr
struct fpa1_syntaxItem * next
Functions to create a MHEG5TokenGroup from a MHEG5 script (in the form of a list of fpa1_syntaxList s...
MHEG5TokenManager tokenManager