[FFmpeg-devel] libavcodec/exr : simplify reorder_pixels

Martin Vignali martin.vignali at gmail.com
Thu May 11 22:25:48 EEST 2017


2017-05-05 22:28 GMT+02:00 Martin Vignali <m.vignali at jokyo-images.com>:

> 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)
>
> Comments welcome
>
> Martin
> Jokyo Images
>
>
>
ping


More information about the ffmpeg-devel mailing list