Possible speedup for mantiuk06
Submitted by Ingo Weyrich
Link to original bug (#795509)
Description
As I made some speedups for Mantiuk06 tone mapping operator in Luminance HDR, a user on pixls.us asked me whether I can help to get this speedups also into GEGL.
If there is an interest in doing that, let me know. I can give some hints then.
Especially this part https://git.gnome.org/browse/gegl/tree/operations/common/mantiuk06.c#n1492 , which currently uses sort, can be implemented without a sort and also multithreaded. https://github.com/LuminanceHDR/LuminanceHDR/blob/master/src/Libpfs/rt_algo.cpp#L37
That gave a nice speedup for mantiuk06 and fattal tone mapping operators in Luminance HDR
For reference:
https://discuss.pixls.us/t/speedup-for-mantiuk08/7398/5 https://github.com/LuminanceHDR/LuminanceHDR/pull/106