89 DPL5((
">> asn1_decodeScene(%X,%X)\n", listPtr, scene));
94 DPL5((
"<< asn1_decodeScene() Returned early\n"));
98 currItem = listPtr->children;
101 scene->aspectRatio = ASPECT_UNDEFINED;
102 scene->movingCursor = MHEG5FALSE;
106 asn1_GroupActionCount = 0;
107 asn1_GroupParamCount = 0;
110 while (currItem != NULL)
112 switch (currItem->tag)
115 scene->inputEventRegister = currItem->data.intData;
118 if ((currItem->children != NULL) && (currItem->children->next != NULL))
120 scene->sceneCoordinateSystem[0] = currItem->children->data.intData;
121 scene->sceneCoordinateSystem[1] = currItem->children->next->data.intData;
125 if ((currItem->children != NULL) && (currItem->children->next != NULL))
127 if (currItem->children->data.intData == 0 && currItem->children->next->data.intData == 0)
129 scene->aspectRatio = ASPECT_UNDEFINED;
131 else if (currItem->children->data.intData == 4 && currItem->children->next->data.intData == 3)
133 scene->aspectRatio = ASPECT_RATIO_4_3;
135 else if (currItem->children->data.intData == 16 && currItem->children->next->data.intData == 9)
137 scene->aspectRatio = ASPECT_RATIO_16_9;
141 DPL1((
"asn1_decodeScene - ERROR: Invalid aspect ratio\n"));
145 #ifndef ASN1UKPROFILE 147 scene->movingCursor = (currItem->data.boolData == 0) ? MHEG5FALSE : MHEG5TRUE;
160 currItem = currItem->next;
168 DPL2((
"WARNING:[ASN.1] asn1_decodeScene() returns errVal = %d\n", errVal));
172 DPL5((
"<< asn1_decodeScene() Returns %d\n", errVal));
asnErr asn1_decodeGroup(fpa1_syntaxList *listPtr, MHEG5Group *group)
Decodes GroupItem 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...
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...
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
typedefs etc for the whole object creation section.
Contains macros for MHEG-5 ASN.1 tags and structures.
Functions to create a MHEG5Scene from a MHEG5 script (in the form of a list of fpa1_syntaxList struct...
void asn1_decodeNextScenes(fpa1_syntaxList *listPtr, ParamList *p_scenes)
Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section[A.3] for details of ASN...
Implementation of the MHEG5 Scene Class Scene Class Defines a set of Ingredient objects to be activat...
Functions to create a MHEG5Application from a MHEG5 script (in the form of a list of fpa1_syntaxList ...