MHEG5  18.9.0
MHEG5 Documentation
fpa1_obj.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  *******************************************************************************/
27 /*---includes for this file--------------------------------------------------*/
28 #include <stdio.h>
29 #include <stdlib.h>
30 
31 #include "vpa1_rdf.h"
32 #include "vpa1_tgs.h"
33 
34 #include "fpa1_cho.h"
35 #include "fpa1_obj.h"
36 #include "fpa1_rdf.h"
37 #include "fpa1_seq.h"
38 
39 /*---local typedef structs for this file-------------------------------------*/
40 
41 /*---constant definitions for this file--------------------------------------*/
42 #define OBJECT_CHOICE_COMPS 2
43 #define GEN_OBJECT_CHOICE_COMPS 2
44 
45 #define EXTERNAL_SEQ_COMPS 2
46 
47 
48 /*---local (static) variable declarations for this file----------------------*/
51  INTEGER };
52 
56  INDIRECT };
57 
58 int extRefSeqCompArr[ 2 * EXTERNAL_SEQ_COMPS + 1 ] = { 2 * EXTERNAL_SEQ_COMPS, /* limit */
60  INTEGER, SYN_NEEDED };
61 
62 /*---local function definitions----------------------------------------------*/
63 
64 /*---global function definitions---------------------------------------------*/
65 
#define SYN_NEEDED
Definition: fpa1_syn.h:34
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
#define INTEGER
Definition: vpa1_tgs.h:40
int genObjRefChoiceCompArr[GEN_OBJECT_CHOICE_COMPS+1]
Definition: fpa1_obj.c:54
#define INDIRECT
Definition: vpa1_tgs.h:289
int extRefSeqCompArr[2 *EXTERNAL_SEQ_COMPS+1]
Definition: fpa1_obj.c:58
Typedefs for script reading functions.
#define OCTETSTRING
Definition: vpa1_tgs.h:41
Contains macros for MHEG-5 ASN.1 tags and structures.
#define OBJECT_CHOICE_COMPS
Definition: fpa1_obj.c:42
Contains functions to decode MHEG-5 ASN.1 Object Reference, External Reference, Indirect Reference...
#define EXTERNAL_SEQ_COMPS
Definition: fpa1_obj.c:45
int objRefChoiceCompArr[OBJECT_CHOICE_COMPS+1]
Definition: fpa1_obj.c:49
#define GEN_OBJECT_CHOICE_COMPS
Definition: fpa1_obj.c:43
Contains functions used to parse MHEG-5 ASN.1 SEQUENCEs. SEQUENCEs have components in order...