Go to the documentation of this file.
6 #define OIDN_VERSION_MAJOR 2
7 #define OIDN_VERSION_MINOR 2
8 #define OIDN_VERSION_PATCH 2
9 #define OIDN_VERSION 20202
10 #define OIDN_VERSION_STRING "2.2.2"
15 #if defined(OIDN_API_NAMESPACE)
16 #define OIDN_API_NAMESPACE_BEGIN namespace {
17 #define OIDN_API_NAMESPACE_END }
18 #define OIDN_API_NAMESPACE_USING using namespace ;
19 #define OIDN_API_EXTERN_C
20 #define OIDN_NAMESPACE ::oidn
21 #define OIDN_NAMESPACE_C _oidn
22 #define OIDN_NAMESPACE_BEGIN namespace { namespace oidn {
23 #define OIDN_NAMESPACE_END }}
25 #define OIDN_API_NAMESPACE_BEGIN
26 #define OIDN_API_NAMESPACE_END
27 #define OIDN_API_NAMESPACE_USING
28 #if defined(__cplusplus)
29 #define OIDN_API_EXTERN_C extern "C"
31 #define OIDN_API_EXTERN_C
33 #define OIDN_NAMESPACE oidn
34 #define OIDN_NAMESPACE_C oidn
35 #define OIDN_NAMESPACE_BEGIN namespace oidn {
36 #define OIDN_NAMESPACE_END }
39 #define OIDN_NAMESPACE_USING using namespace OIDN_NAMESPACE;
41 #if defined(OIDN_STATIC_LIB)
42 #define OIDN_API_IMPORT OIDN_API_EXTERN_C
43 #define OIDN_API_EXPORT OIDN_API_EXTERN_C
45 #define OIDN_API_IMPORT OIDN_API_EXTERN_C __declspec(dllimport)
46 #define OIDN_API_EXPORT OIDN_API_EXTERN_C __declspec(dllexport)
48 #define OIDN_API_IMPORT OIDN_API_EXTERN_C
49 #define OIDN_API_EXPORT OIDN_API_EXTERN_C __attribute__((visibility ("default")))
52 #if defined(OpenImageDenoise_EXPORTS)
53 #define OIDN_API OIDN_API_EXPORT
55 #define OIDN_API OIDN_API_IMPORT
59 #define OIDN_DEPRECATED(msg) __declspec(deprecated(msg))
61 #define OIDN_DEPRECATED(msg) __attribute__((deprecated(msg)))
64 #if !defined(OIDN_DEVICE_CPU)
65 #define OIDN_DEVICE_CPU
67 #if !defined(OIDN_DEVICE_SYCL)
70 #if !defined(OIDN_DEVICE_CUDA)
71 #define OIDN_DEVICE_CUDA
73 #if !defined(OIDN_DEVICE_HIP)
76 #if !defined(OIDN_DEVICE_METAL)
80 #define OIDN_FILTER_RT
81 #define OIDN_FILTER_RTLIGHTMAP