[FFmpeg-devel] libavcodec/exr : fix tile and pxr24 when all channels doesn't have the same type

Paul B Mahol onemda at gmail.com
Mon Jun 6 16:04:00 CEST 2016

On 6/4/16, Martin Vignali <martin.vignali at gmail.com> wrote:
> 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.


More information about the ffmpeg-devel mailing list