63 asnErr errVal = ASN_NO_ERROR;
65 DPL5((
">> asn1_createProgram(%X,%d)\n", listPtr, clazz));
74 program->initiallyAvailable = MHEG5TRUE;
75 program->ingredient.root.clazz = clazz;
78 listPtr = listPtr->children;
79 while (listPtr != NULL)
88 if (listPtr->data.boolData == 0)
90 program->initiallyAvailable = MHEG5FALSE;
95 case EXTERNAL_REFERENCE_TYPE:
97 assert( listPtr->children );
98 child = listPtr->children->next;
100 child->data.intData < 1)
107 program->ingredient.root.id = child->data.intData;
111 if (listPtr->data.intData < 1)
118 program->ingredient.root.id = listPtr->data.intData;
122 if (listPtr->data.boolData != 0)
124 program->ingredient.shared = MHEG5TRUE;
131 listPtr = listPtr->next;
139 program->ingredient.initiallyStopped = MHEG5TRUE;
141 if (errVal != ASN_NO_ERROR)
144 DPL2((
"WARNING:[ASN.1] asn1_createProgram() Fails\n"));
146 MHEG5freeMem(program);
152 DPL5((
"<< asn1_createProgram() %X\n", program));
Functions to create a MHEG5Ingredient from a MHEG5 script (in the form of a list of fpa1_syntaxList s...
Implement the MHEG5 Program Class Defines means to handle execution of external pieces of procedural ...
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
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.
MHEG5Ingredient * asn1_createProgram(fpa1_syntaxList *listPtr, MHEG5Final clazz)
Decodes Program class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Program from a MHEG5 script (in the form of a list of fpa1_syntaxList stru...