MHEG-5  19.3.0
MHEG-5 Documentation
fpa1_txt.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_enu.h"
34 #include "fpa1_set.h"
35 #include "fpa1_syn.h"
36 
37 /*---local typedef structs for this file-------------------------------------*/
38 
39 /*---constant definitions for this file--------------------------------------*/
40 #define TEXT_SET_COMPS 18
41 
42 
43 /*---local (static) variable declarations for this file----------------------*/
44 
45 int txtSetCompsArr[ 2 * TEXT_SET_COMPS + 1 ]
46  = { 2 * TEXT_SET_COMPS, /* array limit */
47  /* Presentable (Ingredient) */
48  OBJECT_REFERENCE_TYPE, SYN_NEEDED,
49  INITACTIVE, SYN_DEFAULT,
50  CHOOK, SYN_OPTIONAL,
51  OCONTENT, SYN_NEEDED,
52  SHARED, SYN_DEFAULT,
53  /* Visible */
54  OBOXSIZE, SYN_NEEDED,
55  OPOSITION, SYN_DEFAULT,
56  OPALREF, SYN_OPTIONAL,
57  /* Text */
58  OFONT, SYN_OPTIONAL,
59  FONTATTS, SYN_OPTIONAL,
60  TCOL, SYN_OPTIONAL,
61  BACKCOL, SYN_OPTIONAL,
62  CHARSET, SYN_OPTIONAL,
63  HJUST, SYN_DEFAULT,
64  VJUST, SYN_DEFAULT,
65  LINEOR, SYN_DEFAULT,
66  STARTCORN, SYN_DEFAULT,
67  TEXTWRAP, SYN_DEFAULT };
68 
69 /*---local function definitions----------------------------------------------*/
70 
71 /*---global function definitions---------------------------------------------*/
72 
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Typedefs for script reading functions.
Contains macros for MHEG-5 ASN.1 tags and structures.
Contains functions used to parse MHEG-5 ASN.1 SETs. SETs can have components in any order and as such...
Contains functions to decode MHEG-5 ASN.1 enumerated types.