[FFmpeg-devel] libavcodec/exr : fix tile and pxr24 when all channels doesn't have the same type
Martin Vignali
martin.vignali at gmail.com
Sat Jun 4 15:10:48 CEST 2016
Hello,
In attach patchs to fix decoding error, when all channels doesn't have the
same pixel type.
001 : Fix tile, and simplify the tile support (remove unneed reorganisation
of pixel).
002 : remove scanline_size var, is now replace by the same calc for tile
and scanline
003 : Fix PXR24 uncompress, to manage several pixel type. expected_len, is
now calculate channel by channel.
I don't think this code have a lot of interest to be share with other
compressor. PXR24, is the only compressor, where the float data, doesn't
have the size of a float.
For now, theses patchs, fix decoding tile whith half channel and float
channel for :
uncompress, rle, zip, zips, pxr24, piz.
And fix decoding PXR24 scanline.
But doesn't fix B44/B44a uncompress when all channels doesn't have the same
pixel type (but it's related to other issues).
Some samples with half and float channel can be found here :
https://we.tl/iN2zKNWlzB
Theses patch also pass fate test.
Comments welcome
Martin Vignali
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-fix-tile-decoding-when-all-channels-d.patch
Type: text/x-diff
Size: 5978 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160604/598b102f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libavcodec-exr-remove-unneed-scanline_size-var.patch
Type: text/x-diff
Size: 981 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160604/598b102f/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-libavcodec-exr-fix-pxr24-uncompress-when-all-channel.patch
Type: text/x-diff
Size: 1616 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160604/598b102f/attachment-0002.patch>
More information about the ffmpeg-devel
mailing list