70 DPL5((
">> asn1_decodeLineart(%X)\n", listPtr));
78 memset(lineart, 0, size);
79 lineart->visible.ingredient.root.clazz = clazz;
80 lineart->borderedBoundingBox = MHEG5TRUE;
81 lineart->originalLineWidth = 1;
82 lineart->originalLineStyle = 1;
83 MHEG5colourInit(&lineart->originalRefLineColour,
OSDgetColour(BLACKCOLOR));
84 MHEG5colourInit(&lineart->originalRefFillColour,
OSDgetColour(TRANSPARENTCOLOR));
87 currItem = listPtr->children;
88 while (currItem != NULL)
91 switch (currItem->tag)
94 lineart->borderedBoundingBox = (currItem->data.boolData == 0) ? MHEG5FALSE : MHEG5TRUE;
97 lineart->originalLineWidth = currItem->data.intData;
100 lineart->originalLineStyle = currItem->data.intData;
111 currItem = currItem->next;
115 if (errVal != ASN_NO_ERROR)
118 DPL2((
"WARNING:[ASN.1] asn1_decodeLineart() Fails\n"));
120 MHEG5freeMem( lineart );
125 DPL5((
"<< asn1_decodeLineart() %X\n", lineart));
MHEG5Ingredient * asn1_createLineart(fpa1_syntaxList *listPtr, MHEG5Final clazz, U32BIT size)
Decodes Lineart class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Lineart from a MHEG5 script (in the form of a list of fpa1_syntaxList stru...
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
Implement the MHEG5 LineArt Class. Defines functionality associated with vectorial representation of ...
typedefs etc for the whole object creation section.
OSDColor OSDgetColour(const char *colour, int len)
Converts an MHEG5 colour value to an OSDColor type.
Contains macros for MHEG-5 ASN.1 tags and structures.
asnErr asn1_decodeVisible(fpa1_syntaxList *listPtr, MHEG5Visible *visible)
Decodes Visible class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Visible from a MHEG5 script (in the form of a list of fpa1_syntaxList stru...
Definition of colour type for MHEG5 - settings and conversions.