MHEG5  15.3.0
source/asn/inc/vpa1_tgs.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  * Copyright © 2000 Koninklijke Philips Electronics N.V
00005  *
00006  * This file is part of a DTVKit Software Component
00007  * You are permitted to copy, modify or distribute this file subject to the terms
00008  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00009  * 
00010  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00011  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00012  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00013  * 
00014  * If you or your organisation is not a member of DTVKit then you have access
00015  * to this source code outside of the terms of the licence agreement
00016  * and you are expected to delete this and any associated files immediately.
00017  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00018  *******************************************************************************/
00026 #ifndef _VPA1_TGS_H
00027 #define _VPA1_TGS_H
00028 
00029 /*---includes for this file--------------------------------------------------*/
00030 #include "vpa1_sys.h"
00031 
00032 /*---Enumerations for public use---------------------------------------------*/
00033 
00034 /*---Global type defs for public use-----------------------------------------*/
00035 
00036 /*---Constant and macro definitions for public use---------------------------*/
00037 
00038 /* Universal Class tags */
00039 #define MHEG_BOOL   1
00040 #define INTEGER     2
00041 #define OCTETSTRING 4
00042 #define MHEG_NULL   5
00043 #define ENUMERATED  10
00044 #define SEQUENCE    16
00045 #define SET         17
00046 
00047 /* Context Specific tags (+2000) */
00048 #define CONT_SPEC_TAGS 2000
00049 #define APPLICATION    2000
00050 #define SCENE          2001
00051 #define STDID          2002
00052 #define STDVER         2003
00053 #define OBJINFO        2004
00054 #define STARTUP        2005
00055 #define CLOSEDOWN      2006
00056 #define GCPRIO         2007
00057 #define ITEMS          2008
00058 #define RESIDENT       2009
00059 #define REMOTE         2010
00060 #define INTERCHAN      2011
00061 #define PALETTE        2012
00062 #define FONT           2013
00063 #define CSHAPE         2014
00064 #define BOOLVAR        2015
00065 #define INTVAR         2016
00066 #define OCTVAR         2017
00067 #define OBJVAR         2018
00068 #define CONTVAR        2019
00069 #define LINK           2020
00070 #define STREAM         2021
00071 #define BITMAP         2022
00072 #define LINEART        2023
00073 #define DYNAMICLINEART 2024
00074 #define RECT           2025
00075 #define HOTSPOT        2026
00076 #define SWITCH         2027
00077 #define PUSH           2028
00078 #define TEXT           2029
00079 #define ENTRY          2030
00080 #define HYPER          2031
00081 #define SLIDER         2032
00082 #define TGROUP         2033
00083 #define LGROUP         2034
00084 #define SPAWNCLOSE     2035
00085 #define RESTART        2036
00086 #define DEFATTS        2037
00087 #define CHARSET        2038
00088 #define BACKCOL        2039
00089 #define TCHOOK         2040
00090 #define TCOL           2041
00091 #define DEFFONT        2042
00092 #define FONTATTS       2043
00093 #define INTPRGCHOOK    2044
00094 #define STREAMCHOOK    2045
00095 #define BITMAPCHOOK    2046
00096 #define LINEARTCHOOK   2047
00097 #define BUTTONREFCOL   2048
00098 #define HIGHREFCOL     2049
00099 #define SLIDEREFCOL    2050
00100 #define INEVENT        2051
00101 #define SCENECOORDS    2052
00102 #define ASPECT         2053
00103 #define MOVING         2054
00104 #define NEXTSCN        2055
00105 #define INITACTIVE     2056
00106 #define CHOOK          2057
00107 #define OCONTENT       2058
00108 #define SHARED         2059
00109 #define CONTSIZE       2060
00110 #define CONTPRIO       2061
00111 #define LINKCOND       2062
00112 #define EFFECT         2063
00113 #define NAME           2064
00114 #define INITAVAIL      2065
00115 #define PRGCONTAG      2066
00116 #define OVALUE         2067
00117 #define OBJREF         2068
00118 #define CONTREF        2069
00119 #define MOVEMENTTABLE  2070
00120 #define TGITEMS        2071
00121 #define NOTOKEN        2072
00122 #define POSITIONS      2073
00123 #define WRAP           2074
00124 #define MULTIPLE       2075
00125 #define OBOXSIZE       2076
00126 #define OPOSITION      2077
00127 #define OPALREF        2078
00128 #define TILING         2079
00129 #define OTRANS         2080
00130 #define BBBOX          2081
00131 #define OLWIDTH        2082
00132 #define OLSTYLE        2083
00133 #define ORLCOLOUR      2084
00134 #define ORFCOLOUR      2085
00135 #define OFONT          2086
00136 #define HJUST          2087
00137 #define VJUST          2088
00138 #define LINEOR         2089
00139 #define STARTCORN      2090
00140 #define TEXTWRAP       2091
00141 #define MULTIPLEX      2092
00142 #define STORAGE        2093
00143 #define LOOPING        2094
00144 #define AUDIO          2095
00145 #define VIDEO          2096
00146 #define RTGRAPHICS     2097
00147 #define COMPTAG        2098
00148 #define OVOLUME        2099
00149 #define TERMIN         2100
00150 #define ENGRESP        2101
00151 #define ORIENTATION    2102
00152 #define MAXVAL         2103
00153 #define MINVAL         2104
00154 #define INITVAL        2105
00155 #define INITPOR        2106
00156 #define STEPSIZE       2107
00157 #define SLSTYLE        2108
00158 #define INPUTTYPE      2109
00159 #define CHARLIST       2110
00160 #define OBSCURED       2111
00161 #define MAXLEN         2112
00162 #define OLABEL         2113
00163 #define BSTYLE         2114
00164 
00165 /* START Elementary Action tags */
00166 #define ACTIVATE              2115
00167 #define ADD                   2116
00168 #define ADDITEM               2117
00169 #define APPEND                2118
00170 #define BRINGTOFRONT          2119
00171 #define CALL                  2120
00172 #define CALLACTIONSLOT        2121
00173 #define CLEAR                 2122
00174 #define CLONE                 2123
00175 #define CLOSECONNECTION       2124
00176 #define DEACTIVATE            2125
00177 #define DELITEM               2126
00178 #define DESELECT              2127
00179 #define DESELECTITEM          2128
00180 #define DIVIDE                2129
00181 #define DRAWARC               2130
00182 #define DRAWLINE              2131
00183 #define DRAWOVAL              2132
00184 #define DRAWPOLYGON           2133
00185 #define DRAWPOLYLINE          2134
00186 #define DRAWRECTANGLE         2135
00187 #define DRAWSECTOR            2136
00188 #define FORK                  2137
00189 #define GETAVAILABILITYSTATUS 2138
00190 #define GETBOXSIZE            2139
00191 #define GETCELLITEM           2140
00192 #define GETCURSORPOSITION     2141
00193 #define GETENGINESUPPORT      2142
00194 #define GETENTRYPOINT         2143
00195 #define GETFILLCOLOUR         2144
00196 #define GETFIRSTITEM          2145
00197 #define GETHIGHLIGHTSTATUS    2146
00198 #define GETINTERACTIONSTATUS  2147
00199 #define GETITEMSTATUS         2148
00200 #define GETLABEL              2149
00201 #define GETLASTANCHORFIRED    2150
00202 #define GETLINECOLOUR         2151
00203 #define GETLINESTYLE          2152
00204 #define GETLINEWIDTH          2153
00205 #define GETLISTITEM           2154
00206 #define GETLISTSIZE           2155
00207 #define GETOVERWRITEMODE      2156
00208 #define GETPORTION            2157
00209 #define GETPOSITION           2158
00210 #define GETRUNNINGSTATUS      2159
00211 #define GETSELECTIONSTATUS    2160
00212 #define GETSLIDERVALUE        2161
00213 #define GETTEXTCONTENT        2162
00214 #define GETTEXTDATA           2163
00215 #define GETTOKENPOSITION      2164
00216 #define GETVOLUME             2165
00217 #define LAUNCH                2166
00218 #define LOCKSCREEN            2167
00219 #define MODULO                2168
00220 #define MOVE                  2169
00221 #define MOVETO                2170
00222 #define MULTIPLY              2171
00223 #define OPENCONNECTION        2172
00224 #define PRELOAD               2173
00225 #define PUTBEFORE             2174
00226 #define PUTBEHIND             2175
00227 #define QUIT                  2176
00228 #define READPERSISTENT        2177
00229 #define RUN                   2178
00230 #define SCALEBITMAP           2179
00231 #define SCALEVIDEO            2180
00232 #define SCROLLITEMS           2181
00233 #define SELECT                2182
00234 #define SELECTITEM            2183
00235 #define SENDEVENT             2184
00236 #define SENDTOBACK            2185
00237 #define SETBOXSIZE            2186
00238 #define SETCACHEPRIORITY      2187
00239 #define SETCOUNTERENDPOSITION 2188
00240 #define SETCOUNTERPOSITION    2189
00241 #define SETCOUNTERTRIGGER     2190
00242 #define SETCURSORPOSITION     2191
00243 #define SETCURSORSHAPE        2192
00244 #define SETDATA               2193
00245 #define SETENTRYPOINT         2194
00246 #define SETFILLCOLOUR         2195
00247 #define SETFIRSTITEM          2196
00248 #define SETFONTREF            2197
00249 #define SETHIGHLIGHTSTATUS    2198
00250 #define SETINTERACTIONSTATUS  2199
00251 #define SETLABEL              2200
00252 #define SETLINECOLOUR         2201
00253 #define SETLINESTYLE          2202
00254 #define SETLINEWIDTH          2203
00255 #define SETOVERWRITEMODE      2204
00256 #define SETPALETTEREF         2205
00257 #define SETPORTION            2206
00258 #define SETPOSITION           2207
00259 #define SETSLIDERVALUE        2208
00260 #define SETSPEED              2209
00261 #define SETTIMER              2210
00262 #define SETTRANSPARENCY       2211
00263 #define SETVARIABLE           2212
00264 #define SETVOLUME             2213
00265 #define SPAWN                 2214
00266 #define STEP                  2215
00267 #define STOP                  2216
00268 #define STOREPERSISTENT       2217
00269 #define SUBTRACT              2218
00270 #define TESTVARIABLE          2219
00271 #define TOGGLE                2220
00272 #define TOGGLEITEM            2221
00273 #define TRANSITIONTO          2222
00274 #define UNLOAD                2223
00275 #define UNLOCKSCREEN          2224
00276 /* END Elementary Action tags */
00277 
00278 #define GBOOL                 2225
00279 #define GINT                  2226
00280 #define GOSTRING              2227
00281 #define GOBJREF               2228
00282 #define GCONTREF              2229
00283 #define NEWCOLIND             2230
00284 #define NEWABSCOL             2231
00285 #define NEWFONTNAME           2232
00286 #define NEWFONTREF            2233
00287 #define NEWCSIZE              2234
00288 #define NEWCPRIO              2235
00289 #define INDIRECT              2236
00290 
00291 /* START Additional Action tags MHEG-5 v1.06 */
00292 #define SETBACKGROUNDCOLOUR   2237
00293 #define SETCELLPOSITION       2238
00294 #define SETINPUTREGISTER      2239
00295 #define SETTEXTCOLOUR         2240
00296 #define SETFONTATTRIBUTES     2241
00297 #define SETVIDEODECODEOFFSET  2242
00298 #define GETVIDEODECODEOFFSET  2243
00299 #define GETFOCUSPOSITION      2244
00300 #define SETFOCUSPOSITION      2245
00301 #define SETBITMAPDECODEOFFSET 2246
00302 #define GETBITMAPDECODEOFFSET 2247
00303 #define SETSLIDERPARAMETERS   2248
00304 /* END Additional Action tags MHEG-5 v1.06 */
00305 
00306 /* START Additional Context Specific tags D-Book 6.1 */
00307 #define ODESKTOPCOLOUR        2249
00308 /* END Additional Context Specific tags D-Book 6.1 */
00309 
00310 /* START Additional Action tags D-Book 6.1 */
00311 #define SETDESKTOPCOLOUR      2250
00312 #define GETCOUNTERPOSITION    2251
00313 #define GETCOUNTERMAXPOSITION 2252
00314 /* END Additional Action tags D-Book 6.1 */
00315 
00316 /* START Additional Context Specific tags CI+ 1.3*/
00317 #define OINPUTMASK            2253
00318 /* END Additional Context Specific tags CI+ 1.3*/
00319 
00320 /* START Additional Action tags CI+ 1.3 */
00321 #define SETINPUTMASK          2254
00322 /* END Additional Action tags CI+ 1.3 */
00323 
00324 /* vvv Where do these come from ???? */
00325 #define INVOKE       2238
00326 #define STRING       2239
00327 #define QPRINTABLE   2240
00328 #define BASE64       2241
00329 #define START        1
00330 #define END          2243
00331 #define CENTRE       2244
00332 #define JUSTIFIED    2245
00333 #define VERT         2246
00334 #define HORIZ        2247
00335 #define UL           2248
00336 #define UR           2249
00337 #define LL           2250
00338 #define LR           2251
00339 #define ACTIONSLOTS  2252
00340 #define PUSHSTYLE    2253
00341 #define RADIOSTYLE   2254
00342 #define CHECKSTYLE   2255
00343 #define TRANSITION   2256
00344 #define CTAG         2260
00345 #define SETHIGHSTAT  2261
00346 #define CALLASLOT    2262
00347 #define NEWREF       2271
00348 #define SETLCOLOUR   2274
00349 #define SETLWIDTH    2280
00350 #define SETFILLCOL   2281
00351 #define DRAWPLGN     2282
00352 #define DRAWOVL      2283
00353 #define DRAWPLYL     2284
00354 #define ABSTIME      2286
00355 #define SETINTSTAT   2287
00356 #define GETTDATA     2288
00357 #define SETOVERW     2289
00358 #define GETSLIDERVAL 2290
00359 #define SETSLIDER    2291
00360 #define SETVAR       2293
00361 #define SCROLLITEM   2294
00362 #define GETLSIZE     2297
00363 #define SETPOSN      2299
00364 #define EVENTSOURCE  2300
00365 #define EVENTTYPE    2301
00366 #define ISAVAIL      2302
00367 #define CONTAVAIL    2303
00368 #define ISDEL        2304
00369 #define ISRUN        2305
00370 #define ISSTOP       2306
00371 #define UI           2307
00372 #define ANCHORF      2308
00373 #define TIMERF       2309
00374 #define ASYNCHS      2310
00375 #define INTCOMP      2311
00376 #define TOKENFROM    2312
00377 #define TOKENTO      2313
00378 #define STREAME      2314
00379 #define STREAMP      2315
00380 #define STREAMS      2316
00381 #define COUNTERT     2317
00382 #define HIGHON       2318
00383 #define HIGHOFF      2319
00384 #define CURSORIN     2320
00385 #define CURSOROUT    2321
00386 #define ISSEL        2322
00387 #define ISDESEL      2323
00388 #define TESTEV       2324
00389 #define FIRSTPRES    2325
00390 #define LASTPRES     2326
00391 #define HEADITEM     2327
00392 #define TAILITEM     2328
00393 #define ITEMSEL      2329
00394 #define ITEMDESEL    2330
00395 #define ENTRYFULL    2331
00396 #define ENGINE       2332
00397 #define EVENTDATA    2333
00398 #define ALPHA        2334
00399 #define NUMERIC      2335
00400 #define ANYCHAR      2336
00401 #define LISTED       2337
00402 #define LEFT         2338
00403 #define RIGHT        2339
00404 #define UP           2340
00405 #define DOWN         2341
00406 #define NORMAL       2342
00407 #define THERMO       2343
00408 #define PROPORT      2344
00409 #define MH5FALSE     2345
00410 #define MEMORY       2346
00411 #define FREEZE       2347
00412 #define DISAPPEAR    2348
00413 #define STREAM2      2349
00414 #define APPLET       2237
00415 
00416 /* create some non-tags */
00417 typedef enum
00418 {
00419    MHEG5_TYPE = 3000,
00420    /* SEQUENCE types - those with leading SEQUENCE tag */
00421    SEQUENCE_TYPE = MHEG5_TYPE,
00422    EXTERNAL_REFERENCE_TYPE,
00423    NEW_REFERENCED_CONTENT,
00424    NEW_TIMER,
00425    NEXT_SCENE_TYPE,
00426    POINT_TYPE,
00427    RATIONAL_TYPE,
00428    REFERENCED_CONTENT_TYPE,
00429    TOKEN_GROUP_ITEM_TYPE,
00430    XY_POSITION_TYPE,
00431    SEQ_SIZE_OF_ACTION_SLOT,
00432    SEQ_SIZE_OF_ELEMENTARY_ACTION,
00433    ACTION_CLASS_TYPE = SEQ_SIZE_OF_ELEMENTARY_ACTION,
00434    SEQ_SIZE_OF_INTEGER,
00435    SEQ_SIZE_OF_PARAMETER,
00436    SEQ_SIZE_OF_POINT,
00437    SEQ_SIZE_OF_OBJECT_REFERENCE,
00438    INVALID_SEQ_TYPE,
00439 
00440    /* non-SEQUENCE types .... */
00441 
00442    /* ENUMERATED types */
00443    ENUMERATED_TYPE = INVALID_SEQ_TYPE,
00444    EVENT_TYPE,
00445    INVALID_ENU_TYPE,
00446 
00447    /* CHOICE types */
00448    CHOICE_TYPE = INVALID_ENU_TYPE,
00449    EVENT_DATA_TYPE,
00450    EVENT_SOURCE_TYPE,    /* EVENT_SOURCE aka OBJ REF - keep these together */
00451    OBJECT_REFERENCE_TYPE,
00452    ACTION_SLOT_TYPE,
00453    COMPARISON_VALUE_TYPE,
00454    CONN_TAG_OR_NULL_TYPE,
00455    EMULATED_EVENT_DATA,
00456    GENERIC_BOOLEAN,
00457    GENERIC_CONTENT_REFERENCE,
00458    GENERIC_INTEGER,
00459    GENERIC_OBJECT_REFERENCE,
00460    GENERIC_OCTET_STRING,
00461    NEW_COLOUR,
00462    NEW_CONTENT,
00463    NEW_FONT,
00464    NEW_VARIABLE_VALUE,
00465    PARAMETER_TYPE = NEW_VARIABLE_VALUE,
00466    INVALID_CHO_TYPE,
00467 
00468    STRING_TYPE = INVALID_CHO_TYPE,
00469    CONTENT_REFERENCE_TYPE,
00470    INVALID_STR_TYPE
00471 } MHEG5_TYPES;
00472 
00473 /*---Global variable declarations for public use-----------------------------*/
00474 
00475 /*---Global Function prototypes for public use-------------------------------*/
00476 
00477 
00478 #endif /*_VPA1_TGS_H*/
 All Data Structures Files Functions Variables Typedefs Defines