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_0
 

Macros

#define OIIO_VERSION_MAJOR   2
 
#define OIIO_VERSION_MINOR   0
 
#define OIIO_VERSION_PATCH   10
 
#define OIIO_VERSION_RELEASE_TYPE
 
#define OIIO_VERSION
 
#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_0
 
#define OIIO_NAMESPACE_STRING   "HOIIO_v2_0"
 
#define OIIO_NAMESPACE_BEGIN   namespace HOIIO_v2_0 {
 
#define OIIO_NAMESPACE_END   }
 
#define OIIO_NAMESPACE_USING   using namespace OIIO;
 
#define OIIO_PLUGIN_VERSION   22
 
#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_CPP11   1 /* Always build for C++ >= 11 */
 
#define OIIO_BUILD_CPP14   0
 
#define OIIO_BUILD_CPP17   0
 
#define OIIO_BUILD_CPP20   0
 

Macro Definition Documentation

#define OIIO_BUILD_CPP11   1 /* Always build for C++ >= 11 */

Definition at line 118 of file oiioversion.h.

#define OIIO_BUILD_CPP14   0

Definition at line 120 of file oiioversion.h.

#define OIIO_BUILD_CPP17   0

Definition at line 122 of file oiioversion.h.

#define OIIO_BUILD_CPP20   0

Definition at line 124 of file oiioversion.h.

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

Definition at line 55 of file oiioversion.h.

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

Definition at line 50 of file oiioversion.h.

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

Definition at line 49 of file oiioversion.h.

#define OIIO_NAMESPACE   HOIIO_v2_0

Definition at line 63 of file oiioversion.h.

#define OIIO_NAMESPACE_BEGIN   namespace HOIIO_v2_0 {

Definition at line 65 of file oiioversion.h.

#define OIIO_NAMESPACE_END   }

Definition at line 66 of file oiioversion.h.

#define OIIO_NAMESPACE_STRING   "HOIIO_v2_0"

Definition at line 64 of file oiioversion.h.

#define OIIO_NAMESPACE_USING   using namespace OIIO;

Definition at line 67 of file oiioversion.h.

#define OIIO_PLUGIN_EXPORTS_BEGIN   extern "C" {

Definition at line 114 of file oiioversion.h.

#define OIIO_PLUGIN_EXPORTS_END   }

Definition at line 115 of file oiioversion.h.

#define OIIO_PLUGIN_NAMESPACE_BEGIN   OIIO_NAMESPACE_BEGIN

Definition at line 107 of file oiioversion.h.

#define OIIO_PLUGIN_NAMESPACE_END   OIIO_NAMESPACE_END

Definition at line 108 of file oiioversion.h.

#define OIIO_PLUGIN_VERSION   22

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 1.9) Version 22 changed the signatures of ImageInput/ImageOutput create() to return unique_ptr. (OIIO 1.9)

Definition at line 105 of file oiioversion.h.

#define OIIO_VERSION
Value:
(10000 * OIIO_VERSION_MAJOR + \
#define OIIO_VERSION_PATCH
Definition: oiioversion.h:39
#define OIIO_VERSION_MAJOR
Definition: oiioversion.h:37
#define OIIO_VERSION_MINOR
Definition: oiioversion.h:38

Definition at line 42 of file oiioversion.h.

#define OIIO_VERSION_MAJOR   2

Definition at line 37 of file oiioversion.h.

#define OIIO_VERSION_MINOR   0

Definition at line 38 of file oiioversion.h.

#define OIIO_VERSION_PATCH   10

Definition at line 39 of file oiioversion.h.

#define OIIO_VERSION_RELEASE_TYPE

Definition at line 40 of file oiioversion.h.

#define OIIO_VERSION_STRING
Value:
#define OIIO_VERSION_PATCH
Definition: oiioversion.h:39
#define OIIO_VERSION_MAJOR
Definition: oiioversion.h:37
#define OIIO_VERSION_RELEASE_TYPE
Definition: oiioversion.h:40
#define OIIO_MAKE_VERSION_STRING(a, b, c, d)
Definition: oiioversion.h:50
#define OIIO_VERSION_MINOR
Definition: oiioversion.h:38

Definition at line 51 of file oiioversion.h.

#define OPENIMAGEIO_VERSION   OIIO_VERSION

Definition at line 46 of file oiioversion.h.