[FFmpeg-devel] libavcodec/exr : simplify reorder_pixels

Michael Niedermayer michael at niedermayer.cc
Sun May 14 22:16:49 EEST 2017


On Fri, May 05, 2017 at 10:28:28PM +0200, Martin Vignali wrote:
> Hello,
> 
> in attach a patch who simplify the reorder_pixels func
> 
> reorder_pixels is call by rle_uncompress and zip_uncompress
> with size == uncompress_size
> 
> uncompress_size is a multiple of 2 (because exr store data
> in half, float, or uint32)
> 
> In the decoder uncompress_size is a multiple of s->current_channel_offset
> and s->current_channel_offset is increment by 2 or 4 (following pixel_type)

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170514/682ea0a1/attachment.sig>


More information about the ffmpeg-devel mailing list