67 DPL5((
">> asn1_decodeFontBody(%X,%X)\n", listPtr, fontBody));
71 DPL5((
"<< asn1_decodeFontBody() Returned early\n"));
75 currItem = listPtr->children;
78 switch (currItem->tag)
82 fontBody->referenced = MHEG5FALSE;
85 case EXTERNAL_REFERENCE_TYPE:
90 fontBody->referenced = MHEG5TRUE;
96 fontBody->ref.referenced.grp.len = 0;
97 fontBody->ref.referenced.grp.ptr.group = asn1_mainGroupPtr;
99 fontBody->referenced = MHEG5TRUE;
104 DPL2((
"WARNING:[ASN.1] failed to decode a fontBody object\n"));
111 DPL2((
"WARNING:[ASN.1] asn1_decodeFontBody() returns errVal = %d\n", errVal));
115 DPL5((
"<< asn1_decodeFontBody() Returns %d\n", errVal));
133 DPL5((
">> asn1_decodeDefaultAttributes(%X,%X)\n", listPtr, application));
137 DPL5((
"<< asn1_decodeDefaultAttributes() Returned early\n"));
141 currItem = listPtr->children;
143 while (currItem != NULL)
145 switch (currItem->tag)
148 application->characterSet = currItem->data.intData;
154 application->textContentHook = currItem->data.intData;
165 #ifndef ASN1UKPROFILE 167 application->interchangedProgramContentHook = currItem->data.intData;
171 application->streamContentHook = currItem->data.intData;
174 application->bitmapContentHook = currItem->data.intData;
176 #ifndef ASN1UKPROFILE 178 application->lineArtContentHook = currItem->data.intData;
191 DPL2((
"WARNING:[ASN.1] unexpected tag in application->DefaultAttributes\n"));
193 currItem = currItem->next;
199 DPL2((
"WARNING:[ASN.1] asn1_decodeDefaultAttributes() returns errVal = %d\n", errVal));
203 DPL5((
"<< asn1_decodeDefaultAttributes() Returns %d\n", errVal));
221 DPL5((
">> asn1_decodeApplication(%X,%X)\n", listPtr, application));
226 DPL5((
"<< asn1_decodeApplication() Returned early\n"));
230 currItem = listPtr->children;
233 asn1_mainGroupPtr = (
MHEG5Group *)application;
234 asn1_GroupActionCount = 0;
235 asn1_GroupParamCount = 0;
238 while (currItem != NULL)
241 switch (currItem->tag)
250 errVal |= asn1_decodeDefaultAttributes(currItem, application);
258 currItem = currItem->next;
266 DPL2((
"WARNING:[ASN.1] asn1_decodeApplication() returns errVal = %d\n", errVal));
270 DPL5((
"<< asn1_decodeApplication() 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.
This file defines the profile for the MHEG engine.
void asn1_decodeActions(fpa1_syntaxList *listPtr, MHEG5ActionList *p_actions)
Decodes action class Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
asnErr asn1_decodeApplication(fpa1_syntaxList *listPtr, MHEG5Application *application)
decodes Application class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Implementation of the MHEG5 Application Class Defines a set of Ingredient objects, which are shared within an application scope. Base class: Group Subclasses: None Status: Concrete class.
Functions to create a MHEG5Application from a MHEG5 script (in the form of a list of fpa1_syntaxList ...
asnErr asn1_decodeFontBody(fpa1_syntaxList *listPtr, MHEG5FontBody *fontBody)
Decodes FontBody class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
MHEG5Bool MH5_SupportFontClass(void)
Return whether font class is supported by current profile.
Engine support utility functions for MHEG5.