diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-04-02 15:04:24 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-04-02 15:04:24 +0400 |
commit | 86c68c0569b3cd82a1de27470b3d4858cde96e30 (patch) | |
tree | 88ead18c9a2948ca0cdfab4ad326b4bda47dafe3 /source/blender/imbuf/intern/openexr/openexr_api.h | |
parent | 7b9d9ecab2c2b95cc20c589ae329144846995147 (diff) |
Multithreaded EXR files loading
Use multithreaded loading of EXR files which is enabling by call of
setGlobalThreadCount function from OpenEXR library to set up number
of used threads to number of system threads which speeds up loading
high-resolution files on multi-core / multi-cpu systems and allows
to work with high-resolution sequences in clip editor and sequencer.
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.h')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.h b/source/blender/imbuf/intern/openexr/openexr_api.h index e0358361713..d12fe2fc49f 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.h +++ b/source/blender/imbuf/intern/openexr/openexr_api.h @@ -43,7 +43,9 @@ extern "C" { * Test presence of OpenEXR file. * \param mem pointer to loaded OpenEXR bitstream */ - + +void imb_initopenexr (void); + int imb_is_a_openexr (unsigned char *mem); int imb_save_openexr (struct ImBuf *ibuf, const char *name, int flags); |