MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions | Variables
asn1_createAction.h File Reference

Functions to create a MHEG5Action from a MHEG5 script (in the form of a list of fpa1_syntaxList structures). More...

#include "fpa1_syn.h"
#include "mh5action.h"
#include "mh5scene.h"

Go to the source code of this file.

Functions

void asn1_decodeActions (fpa1_syntaxList *listPtr, MHEG5ActionList *p_actions)
 Decodes action class Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.42] for details of ASN.1 representation. This function ignores any elementary actions in cannot decode (Including if a malloc fails during decoding. NULL is returned if no actions could be decoded. More...
 
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.1 representation. NextScenes is a GList containg references to the following scenes. Each reference are of the form: OpenBracket, OctetString, Integer, CloseBracket. Safe if asn1_addGList() fails to allocate memory, returns NULL after deleting any allocated GList items. More...
 

Variables

MHEG5Actionasn1_GroupActionPtr
 
MHEG5GListasn1_GroupParamPtr
 
int asn1_GroupActionCount
 
int asn1_GroupParamCount
 

Detailed Description

Functions to create a MHEG5Action from a MHEG5 script (in the form of a list of fpa1_syntaxList structures).

Date
29-04-2002
Author
S.Charman

Function Documentation

void asn1_decodeActions ( fpa1_syntaxList listPtr,
MHEG5ActionList p_actions 
)

Decodes action class Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.42] for details of ASN.1 representation. This function ignores any elementary actions in cannot decode (Including if a malloc fails during decoding. NULL is returned if no actions could be decoded.

Parameters
listPtrpointer to current fpa1_syntaxList item
p_actionspointer to MHEG5ActionList
Returns
void
Parameters
listPtrpointer to current fpa1_syntaxList item
Returns
MHEG5Action. NULL if fails.
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.1 representation. NextScenes is a GList containg references to the following scenes. Each reference are of the form: OpenBracket, OctetString, Integer, CloseBracket. Safe if asn1_addGList() fails to allocate memory, returns NULL after deleting any allocated GList items.

Parameters
listPtrpointer to current fpa1_syntaxList item
p_scenesPointer to next scenes list being decoded.
Returns
void