mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
EXR: multi-threaded exr image loading
EXR files internally are split into independent "parts", which can be decoded separately. Tinyexr already supports that via TINYEXR_USE_THREAD. Time taken to load 4K video resolution EXR files, on Ryzen 5950X/VS2022: - FP16 file (27MB): 536ms -> 77ms - FP32 file (69MB): 793ms -> 118ms
This commit is contained in:
committed by
Baldur Karlsson
parent
b4403b2d8d
commit
bb3b571c90
+2
@@ -26,5 +26,7 @@
|
||||
// compatible functions to be available, which miniz does.
|
||||
#define TINYEXR_USE_MINIZ 0
|
||||
|
||||
#define TINYEXR_USE_THREAD 1
|
||||
|
||||
#define TINYEXR_IMPLEMENTATION
|
||||
#include "tinyexr.h"
|
||||
|
||||
Reference in New Issue
Block a user