HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oiioversion.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 HOIIO_v2_2
 

Macros

#define OIIO_VERSION_MAJOR   2
 
#define OIIO_VERSION_MINOR   2
 
#define OIIO_VERSION_PATCH   13
 
#define OIIO_VERSION_TWEAK   0
 
#define OIIO_VERSION_RELEASE_TYPE
 
#define OIIO_MAKE_VERSION(major, minor, patch)   (10000 * (major) + 100 * (minor) + (patch))
 
#define OIIO_VERSION
 
#define OIIO_VERSION_GREATER_EQUAL(major, minor, patch)   OIIO_VERSION >= OIIO_MAKE_VERSION(major,minor,patch)
 
#define OIIO_VERSION_LESS(major, minor, patch)   OIIO_VERSION < OIIO_MAKE_VERSION(major,minor,patch)
 
#define OPENIMAGEIO_VERSION   OIIO_VERSION
 
#define OIIO_MAKE_VERSION_STRING2(a, b, c, d)   #a "." #b "." #c #d
 
#define OIIO_MAKE_VERSION_STRING(a, b, c, d)   OIIO_MAKE_VERSION_STRING2(a,b,c,d)
 
#define OIIO_VERSION_STRING
 
#define OIIO_INTRO_STRING   "OpenImageIO " OIIO_VERSION_STRING " http://www.openimageio.org"
 
#define OIIO_NAMESPACE   HOIIO_v2_2
 
#define OIIO_NAMESPACE_STRING   "HOIIO_v2_2"
 
#define OIIO_NAMESPACE_BEGIN   namespace HOIIO_v2_2 {
 
#define OIIO_NAMESPACE_END   }
 
#define OIIO_NAMESPACE_USING   using namespace OIIO;
 
#define OIIO_PLUGIN_VERSION   23
 
#define OIIO_PLUGIN_NAMESPACE_BEGIN   OIIO_NAMESPACE_BEGIN
 
#define OIIO_PLUGIN_NAMESPACE_END   OIIO_NAMESPACE_END
 
#define OIIO_PLUGIN_EXPORTS_BEGIN   extern "C" {
 
#define OIIO_PLUGIN_EXPORTS_END   }
 
#define OIIO_BUILD_CPP   17
 
#define OIIO_BUILD_CPP11   (17 >= 11)
 
#define OIIO_BUILD_CPP14   (17 >= 14)
 
#define OIIO_BUILD_CPP17   (17 >= 17)
 
#define OIIO_BUILD_CPP20   (17 >= 20)
 

Macro Definition Documentation

#define OIIO_BUILD_CPP   17

Definition at line 149 of file oiioversion.h.

#define OIIO_BUILD_CPP11   (17 >= 11)

Definition at line 152 of file oiioversion.h.

#define OIIO_BUILD_CPP14   (17 >= 14)

Definition at line 153 of file oiioversion.h.

#define OIIO_BUILD_CPP17   (17 >= 17)

Definition at line 154 of file oiioversion.h.

#define OIIO_BUILD_CPP20   (17 >= 20)

Definition at line 155 of file oiioversion.h.

#define OIIO_INTRO_STRING   "OpenImageIO " OIIO_VERSION_STRING " http://www.openimageio.org"

Definition at line 83 of file oiioversion.h.

#define OIIO_MAKE_VERSION (   major,
  minor,
  patch 
)    (10000 * (major) + 100 * (minor) + (patch))

Definition at line 58 of file oiioversion.h.

#define OIIO_MAKE_VERSION_STRING (   a,
  b,
  c,
 
)    OIIO_MAKE_VERSION_STRING2(a,b,c,d)

Definition at line 78 of file oiioversion.h.

#define OIIO_MAKE_VERSION_STRING2 (   a,
  b,
  c,
 
)    #a "." #b "." #c #d

Definition at line 77 of file oiioversion.h.

#define OIIO_NAMESPACE   HOIIO_v2_2

Definition at line 91 of file oiioversion.h.

#define OIIO_NAMESPACE_BEGIN   namespace HOIIO_v2_2 {

Definition at line 93 of file oiioversion.h.

#define OIIO_NAMESPACE_END   }

Definition at line 94 of file oiioversion.h.

#define OIIO_NAMESPACE_STRING   "HOIIO_v2_2"

Definition at line 92 of file oiioversion.h.

#define OIIO_NAMESPACE_USING   using namespace OIIO;

Definition at line 95 of file oiioversion.h.

#define OIIO_PLUGIN_EXPORTS_BEGIN   extern "C" {

Definition at line 144 of file oiioversion.h.

#define OIIO_PLUGIN_EXPORTS_END   }

Definition at line 145 of file oiioversion.h.

#define OIIO_PLUGIN_NAMESPACE_BEGIN   OIIO_NAMESPACE_BEGIN

Definition at line 137 of file oiioversion.h.

#define OIIO_PLUGIN_NAMESPACE_END   OIIO_NAMESPACE_END

Definition at line 138 of file oiioversion.h.

#define OIIO_PLUGIN_VERSION   23

Each imageio DSO/DLL should include this statement: DLLPUBLIC int FORMAT_imageio_version = OPENIMAGEIO_PLUGIN_VERSION; libOpenImageIO will check for compatibility this way. This should get bumped any time we change the API in any way that will make previously-compiled plugins break.

History: Version 3 added supports_rectangles() and write_rectangle() to ImageOutput, and added stride parameters to the ImageInput read routines. Version 10 represents forking from NVIDIA's open source version, with which we break backwards compatibility. Version 11 teased apart subimage versus miplevel specification in the APIs and per-channel formats (introduced in OIIO 0.9). Version 12 added read_scanlines(), write_scanlines(), read_tiles(), write_tiles(), and ImageInput::supports(). (OIIO 1.0) Version 13 added ImageInput::valid_file(). (OIIO 1.1) Version 14 added ImageOutput::open() variety for multiple subimages. Version 15 added support for "deep" images (changing ImageSpec, ImageInput, ImageOutput). Version 16 changed the ImageInput functions taking channel ranges from firstchan,nchans to chbegin,chend. Version 17 changed to int supports(string_view) rather than bool supports(const std::string&)). (OIIO 1.6) Version 18 changed to add an m_threads member to ImageInput/Output. Version 19 changed the definition of DeepData. Version 20 added FMT_imageio_library_version() to plugins. (OIIO 1.7) Version 21 changed the signatures of ImageInput methods: added subimage,miplevel params to many read_*() methods; changed thread safety expectations; removed newspec param from seek_subimage; added spec(subimage,miplevel) and spec_dimensions(subimage,miplevel). (OIIO 2.0) Version 22 changed the signatures of ImageInput/ImageOutput create() to return unique_ptr. (OIIO 2.0) Version 23 added set_ioproxy() methods to ImageInput & ImageOutput (OIIO 2.2).

Definition at line 135 of file oiioversion.h.

#define OIIO_VERSION
Value:
#define OIIO_VERSION_PATCH
Definition: oiioversion.h:47
#define OIIO_VERSION_MAJOR
Definition: oiioversion.h:45
#define OIIO_VERSION_MINOR
Definition: oiioversion.h:46
#define OIIO_MAKE_VERSION(major, minor, patch)
Definition: oiioversion.h:58

Definition at line 62 of file oiioversion.h.

#define OIIO_VERSION_GREATER_EQUAL (   major,
  minor,
  patch 
)    OIIO_VERSION >= OIIO_MAKE_VERSION(major,minor,patch)

Definition at line 66 of file oiioversion.h.

#define OIIO_VERSION_LESS (   major,
  minor,
  patch 
)    OIIO_VERSION < OIIO_MAKE_VERSION(major,minor,patch)

Definition at line 70 of file oiioversion.h.

#define OIIO_VERSION_MAJOR   2

Definition at line 45 of file oiioversion.h.

#define OIIO_VERSION_MINOR   2

Definition at line 46 of file oiioversion.h.

#define OIIO_VERSION_PATCH   13

Definition at line 47 of file oiioversion.h.

#define OIIO_VERSION_RELEASE_TYPE

Definition at line 49 of file oiioversion.h.

#define OIIO_VERSION_STRING
Value:
#define OIIO_VERSION_PATCH
Definition: oiioversion.h:47
#define OIIO_VERSION_MAJOR
Definition: oiioversion.h:45
#define OIIO_VERSION_RELEASE_TYPE
Definition: oiioversion.h:49
#define OIIO_MAKE_VERSION_STRING(a, b, c, d)
Definition: oiioversion.h:78
#define OIIO_VERSION_MINOR
Definition: oiioversion.h:46

Definition at line 79 of file oiioversion.h.

#define OIIO_VERSION_TWEAK   0

Definition at line 48 of file oiioversion.h.

#define OPENIMAGEIO_VERSION   OIIO_VERSION

Definition at line 74 of file oiioversion.h.