MHEG5  18.9.0
MHEG5 Documentation
fpa1_lnk.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_cho.h"
34 #include "fpa1_enu.h"
35 #include "fpa1_lnk.h"
36 #include "fpa1_rdf.h"
37 #include "fpa1_set.h"
38 #include "fpa1_seq.h"
39 #include "fpa1_syn.h"
40 
41 /*---local typedef structs for this file-------------------------------------*/
42 
43 /*---constant definitions for this file--------------------------------------*/
44 #define EVT_DAT_ANY -1
45 
46 #define LNK_SET_COMPS 5
47 #define LNK_CND_SEQ_COMPS 3
48 #define EVT_DAT_CHOICE_COMPS 3
49 
50 
51 /*---local (static) variable declarations for this file----------------------*/
52 int lnkSetCompsArr[ 2 * LNK_SET_COMPS + 1 ]
53  = { 2 * LNK_SET_COMPS, /* array limit */
54  /* Ingredient */
58  /* Link */
60  EFFECT, SYN_NEEDED };
61 
67 
71  MHEG_BOOL,
72  INTEGER };
73 
74 /*---local function definitions----------------------------------------------*/
75 
76 /*---global function definitions---------------------------------------------*/
77 
#define SYN_NEEDED
Definition: fpa1_syn.h:34
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
#define LNK_SET_COMPS
Definition: fpa1_lnk.c:46
Contains functions to decode MHEG-5 ASN.1 Link class components.
#define INTEGER
Definition: vpa1_tgs.h:40
int lnkSetCompsArr[2 *LNK_SET_COMPS+1]
Definition: fpa1_lnk.c:53
#define LNK_CND_SEQ_COMPS
Definition: fpa1_lnk.c:47
#define INITACTIVE
Definition: vpa1_tgs.h:105
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
#define SYN_DEFAULT
Definition: fpa1_syn.h:36
Typedefs for script reading functions.
#define OCTETSTRING
Definition: vpa1_tgs.h:41
Contains macros for MHEG-5 ASN.1 tags and structures.
#define SHARED
Definition: vpa1_tgs.h:108
int evtDatChoiceCompArr[EVT_DAT_CHOICE_COMPS+1]
Definition: fpa1_lnk.c:69
#define SYN_OPTIONAL
Definition: fpa1_syn.h:35
#define MHEG_BOOL
Definition: vpa1_tgs.h:39
#define EFFECT
Definition: vpa1_tgs.h:112
int lnkCndSeqCompArr[2 *LNK_CND_SEQ_COMPS+1]
Definition: fpa1_lnk.c:63
#define LINKCOND
Definition: vpa1_tgs.h:111
Contains functions used to parse MHEG-5 ASN.1 SETs. SETs can have components in any order and as such...
#define EVT_DAT_CHOICE_COMPS
Definition: fpa1_lnk.c:48
Contains functions used to parse MHEG-5 ASN.1 SEQUENCEs. SEQUENCEs have components in order...
Contains functions to decode MHEG-5 ASN.1 enumerated types.