OpenMAX Bellagio 0.9.3
OMX_Types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 The Khronos Group Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sublicense, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject
10 * to the following conditions:
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 *
22 */
23
31#ifndef OMX_Types_h
32#define OMX_Types_h
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
41#ifdef __SYMBIAN32__
42# ifdef __OMX_EXPORTS
43# define OMX_API __declspec(dllexport)
44# else
45# ifdef _WIN32
46# define OMX_API __declspec(dllexport)
47# else
48# define OMX_API __declspec(dllimport)
49# endif
50# endif
51#else
52# ifdef _WIN32
53# ifdef __OMX_EXPORTS
54# define OMX_API __declspec(dllexport)
55# else
56# define OMX_API __declspec(dllimport)
57# endif
58# else
59# ifdef __OMX_EXPORTS
60# define OMX_API
61# else
62# define OMX_API extern
63# endif
64# endif
65#endif
66
67#ifndef OMX_APIENTRY
68#define OMX_APIENTRY
69#endif
70
74#ifndef OMX_IN
75#define OMX_IN
76#endif
77
81#ifndef OMX_OUT
82#define OMX_OUT
83#endif
84
85
90#ifndef OMX_INOUT
91#define OMX_INOUT
92#endif
93
99#define OMX_ALL 0xFFFFFFFF
100
133typedef unsigned char OMX_U8;
134
136typedef signed char OMX_S8;
137
139typedef unsigned short OMX_U16;
140
142typedef signed short OMX_S16;
143
145typedef unsigned long OMX_U32;
146
148typedef signed long OMX_S32;
149
150
151/* Users with compilers that cannot accept the "long long" designation should
152 define the OMX_SKIP64BIT macro. It should be noted that this may cause
153 some components to fail to compile if the component was written to require
154 64 bit integral types. However, these components would NOT compile anyway
155 since the compiler does not support the way the component was written.
156*/
157#ifndef OMX_SKIP64BIT
158#ifdef __SYMBIAN32__
160typedef unsigned long long OMX_U64;
161
163typedef signed long long OMX_S64;
164
165#elif defined(WIN32)
166
168typedef unsigned __int64 OMX_U64;
169
171typedef signed __int64 OMX_S64;
172
173#else /* WIN32 */
174
176typedef unsigned long long OMX_U64;
177
179typedef signed long long OMX_S64;
180
181#endif /* WIN32 */
182#endif
183
184
189typedef enum OMX_BOOL {
192 OMX_BOOL_MAX = 0x7FFFFFFF
194
199typedef void* OMX_PTR;
200
206typedef char* OMX_STRING;
207
213typedef unsigned char* OMX_BYTE;
214
219typedef unsigned char OMX_UUIDTYPE[128];
220
230
240
241
251
252
259
260
267
268
281#ifndef OMX_SKIP64BIT
283#else
284typedef struct OMX_TICKS
285{
286 OMX_U32 nLowPart;
287 OMX_U32 nHighPart;
288} OMX_TICKS;
289#endif
290#define OMX_TICKS_PER_SECOND 1000000
291
295typedef void* OMX_HANDLETYPE;
296
306
307
312
316
341
342#ifdef __cplusplus
343}
344#endif /* __cplusplus */
345
346#endif
347/* File EOF */
unsigned long OMX_U32
Definition OMX_Types.h:145
void * OMX_NATIVE_DEVICETYPE
Definition OMX_Types.h:311
signed long long OMX_S64
Definition OMX_Types.h:179
char * OMX_STRING
Definition OMX_Types.h:206
unsigned char OMX_U8
Definition OMX_Types.h:133
OMX_ENDIANTYPE
Definition OMX_Types.h:235
@ OMX_EndianLittle
Definition OMX_Types.h:237
@ OMX_EndianMax
Definition OMX_Types.h:238
@ OMX_EndianBig
Definition OMX_Types.h:236
OMX_BOOL
Definition OMX_Types.h:189
@ OMX_BOOL_MAX
Definition OMX_Types.h:192
@ OMX_TRUE
Definition OMX_Types.h:191
@ OMX_FALSE
Definition OMX_Types.h:190
unsigned long long OMX_U64
Definition OMX_Types.h:176
void * OMX_PTR
Definition OMX_Types.h:199
OMX_NUMERICALDATATYPE
Definition OMX_Types.h:246
@ OMX_NumericalDataUnsigned
Definition OMX_Types.h:248
@ OMX_NumericalDataSigned
Definition OMX_Types.h:247
@ OMX_NumercialDataMax
Definition OMX_Types.h:249
void * OMX_NATIVE_WINDOWTYPE
Definition OMX_Types.h:315
signed char OMX_S8
Definition OMX_Types.h:136
OMX_S64 OMX_TICKS
Definition OMX_Types.h:282
void * OMX_HANDLETYPE
Definition OMX_Types.h:295
unsigned char * OMX_BYTE
Definition OMX_Types.h:213
signed long OMX_S32
Definition OMX_Types.h:148
unsigned short OMX_U16
Definition OMX_Types.h:139
unsigned char OMX_UUIDTYPE[128]
Definition OMX_Types.h:219
OMX_DIRTYPE
Definition OMX_Types.h:225
@ OMX_DirInput
Definition OMX_Types.h:226
@ OMX_DirOutput
Definition OMX_Types.h:227
@ OMX_DirMax
Definition OMX_Types.h:228
signed short OMX_S16
Definition OMX_Types.h:142
OMX_S32 nValue
Definition OMX_Types.h:263
OMX_S32 nMin
Definition OMX_Types.h:264
OMX_S32 nMax
Definition OMX_Types.h:265
OMX_U32 nMax
Definition OMX_Types.h:257
OMX_U32 nMin
Definition OMX_Types.h:256
OMX_U32 nValue
Definition OMX_Types.h:255
OMX_HANDLETYPE hMarkTargetComponent
Definition OMX_Types.h:299
OMX_PTR pMarkData
Definition OMX_Types.h:302
OMX_U32 nVersion
Definition OMX_Types.h:337
OMX_U8 nVersionMajor
Definition OMX_Types.h:332
struct OMX_VERSIONTYPE::@1 s
OMX_U8 nVersionMinor
Definition OMX_Types.h:333

Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo