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


-- 
Martin Vignali
Jokyo Images
18 rue du Transvaal
69008 Lyon
06 99 89 33 30
m.vign...@jokyo-images.com
http://www.jokyo-images.com/

Attachment: 0001-libavcodec-exr-simplify-reorder_pixels.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to