MHEG5  18.9.0
MHEG5 Documentation
fpa1_lst.c
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
26 /*---includes for this file--------------------------------------------------*/
27 #include <stdio.h>
28 #include <stdlib.h>
29 
30 #include "vpa1_tgs.h"
31 #include "vpa1_rdf.h"
32 
33 #include "fpa1_lst.h"
34 #include "fpa1_set.h"
35 #include "fpa1_syn.h"
36 
37 /*******************
38  * LOCAL TYPEDEFS *
39  ********************/
40 #define LIST_GRP_SET_COMPS 9
41 
42 /*******************
43  * LOCAL MACROS *
44  ********************/
45 
46 /*******************
47  * EXPORTED DATA *
48  ********************/
49 
50 /*******************
51  * STATIC DATA *
52  ********************/
53 
55  = { 2 * LIST_GRP_SET_COMPS, /* array limit */
56  /* Presentable (Ingredient) */
60  /* TokenManager */
62  /* TokenGroup */
65  /* ListGroup */
68  MULTIPLE, SYN_DEFAULT };
69 
70 /**********************
71  * FUNCTION PROTOTYPES *
72  ***********************/
73 
81 {
82  /* ListGroupClass a SET - any order */
83  return fpa1_setParse( listGrpSetCompsArr, filePosLimit );
84 } /* fpa1_decodeListGroup () */
85 
fpa1_syntaxList * fpa1_setParse(int *, vpa1_filePos)
Definition: fpa1_set.c:178
#define SYN_NEEDED
Definition: fpa1_syn.h:34
#define MULTIPLE
Definition: vpa1_tgs.h:124
int listGrpSetCompsArr[2 *LIST_GRP_SET_COMPS+1]
Definition: fpa1_lst.c:55
#define POSITIONS
Definition: vpa1_tgs.h:122
#define INITACTIVE
Definition: vpa1_tgs.h:105
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Contains functions to decode MHEG-5 ASN.1 List Group class components.
fpa1_syntaxList * fpa1_decodeListGroup(vpa1_filePos filePosLimit)
Definition: fpa1_lst.c:80
#define LIST_GRP_SET_COMPS
Definition: fpa1_lst.c:40
#define SYN_DEFAULT
Definition: fpa1_syn.h:36
Typedefs for script reading functions.
Contains macros for MHEG-5 ASN.1 tags and structures.
#define SHARED
Definition: vpa1_tgs.h:108
#define SYN_OPTIONAL
Definition: fpa1_syn.h:35
#define WRAP
Definition: vpa1_tgs.h:123
#define NOTOKEN
Definition: vpa1_tgs.h:121
Contains functions used to parse MHEG-5 ASN.1 SETs. SETs can have components in any order and as such...
#define MOVEMENTTABLE
Definition: vpa1_tgs.h:119
long vpa1_filePos
Definition: vpa1_sys.h:47
#define TGITEMS
Definition: vpa1_tgs.h:120