[Cin] Just found "magical" EXR multithreaded call!

Andrew Randrianasulu randrianasulu at gmail.com
Tue Mar 17 07:36:02 CET 2020

in fileexr.C

int FileEXR::write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit)
       EXRUnit *exr_unit = (EXRUnit*)unit;

       VFrame *output_frame;

       Imf::setGlobalThreadCount (4); <====  replace with project's cpu number?
       int native_cmodel = asset->exr_use_alpha ? BC_RGBA_FLOAT : BC_RGB_FLOAT;
       int components = BC_CModels::components(native_cmodel);

Now, if only I found how to set this dwa compression thing ....

Render::render_single: Session finished.
** rendered 322 frames in 155.525 secs, 2.070 fps

for DWAB compression, CPU set to 2.6Ghz
Project - 1920x1080 float-rgba, with fader on video track set to 59
(so it will not take fast path)

More information about the Cin mailing list