HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMX_Types.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: IMX_VDB.h
7  *
8  * COMMENTS:
9  * Common IMX types
10  */
11 
12 #ifndef __IMX_Types_h__
13 #define __IMX_Types_h__
14 
15 #include "IMX_API.h"
16 #include <cstddef>
17 
18 // The following enums and the stat structure must exactly match the definitions
19 // in the imx.h OpenCL header.
20 /// Controls returned values for coordinates that fall outside the image.
21 enum class IMX_BorderType
22 {
23  IMX_INVALID = -1,
24  IMX_CONSTANT = 0,
25  IMX_CLAMP,
26  IMX_MIRROR,
27  IMX_WRAP
28 };
29 IMX_API size_t format(char *buffer, size_t buffer_size, const IMX_BorderType &v);
30 
33 
34 enum class IMX_TypeInfo
35 {
36  IMX_INVALID = -1,
37  IMX_NONE = 0,
38  IMX_COLOR,
40  IMX_VECTOR,
41  IMX_NORMAL,
44  IMX_ID,
45  IMX_MASK,
46  IMX_SDF,
48 };
49 IMX_API size_t format(char *buffer, size_t buffer_size, const IMX_TypeInfo &v);
50 
51 IMX_API const char *IMXtypeInfo(IMX_TypeInfo t);
52 IMX_API IMX_TypeInfo IMXtypeInfo(const char *n);
53 
54 enum class IMX_Projection
55 {
56  IMX_INVALID = -1,
57  IMX_ORTHOGRAPHIC = 0,
59 };
60 IMX_API size_t format(char *buffer, size_t buffer_size, const IMX_Projection &v);
61 
64 
65 #endif
const GLdouble * v
Definition: glcorearb.h:837
IMX_TypeInfo
Definition: IMX_Types.h:34
IMX_Projection
Definition: IMX_Types.h:54
IMX_API const char * IMXprojection(IMX_Projection t)
IMX_API size_t format(char *buffer, size_t buffer_size, const IMX_BorderType &v)
GLuint buffer
Definition: glcorearb.h:660
GLdouble n
Definition: glcorearb.h:2008
GLdouble t
Definition: glad.h:2397
IMX_BorderType
Controls returned values for coordinates that fall outside the image.
Definition: IMX_Types.h:21
#define IMX_API
Definition: IMX_API.h:8
IMX_API const char * IMXtypeInfo(IMX_TypeInfo t)
IMX_API const char * IMXborderType(IMX_BorderType t)