[FFmpeg-devel] libavcodec/exr : Fix PRX24 Full float

Martin Vignali martin.vignali at gmail.com
Sun Apr 3 14:34:55 CEST 2016


Hello,

In attach a patch, who fixe decompression of PRX24 Full Float.
PRX24 compression, reduce 32b float to 24b before zip step.
So the expected uncompress size in the unzip step, need to be adjust,
depends of the pixel type (uint32, and half float are not modified).

I also, split the unzip check in order to add a more precise log error.

sample, can be found here : https://we.tl/INWavynsGz
(decode failed before the patch).
This sample can also be add to ./fate-suite/exr, in order to apply the fate
test patch in attach.

Comments welcome

Martin
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-fix-decompress-PRX24-Float.patch
Type: text/x-patch
Size: 1668 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160403/d513e00a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-fate-exr-add-test-for-PXR24-Float.patch
Type: text/x-patch
Size: 1520 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160403/d513e00a/attachment-0001.bin>


More information about the ffmpeg-devel mailing list