https://bugs.kde.org/show_bug.cgi?id=415719

--- Comment #5 from caulier.gil...@gmail.com ---
The error come from this loop :

https://invent.kde.org/kde/digikam/blob/master/core/dplugins/dimg/heif/dimgheifloader_save.cpp#L69

... where the max bit depth available to encode to x265 try to be detected.

Mostly deployed, the 8 bits color depth is supported. By compilation option, a
10 or 12 bits color depth can be enabled. This must generate extra .so using
bit depth in file name. So, loop report an higher bit depth than 8 but fail to
found the relevant .so or .dll on the system.

But must starnge thing is the Windows version: MXE compile a 8 bits version and
no more, but the loop return a 12 bits color depth supported. Why ??? Probably
a bug in x265 API.

There is an alternative to this loop, using this API :

https://github.com/videolan/x265/blob/master/source/x265.h#L1908

...which must return the X265 max depth available.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to