[FFmpeg-devel] Libavcodec/exr : add support for tile

Martin Vignali martin.vignali at gmail.com
Sun Apr 3 00:27:37 CEST 2016


In attach a patch in order to add support for exr Tile (One Level)

Some samples can be found here : https://we.tl/IC4XTrEJf4
Theses samples can also be add to ./fate-suite/exr/
(i will make a fate test soon).

Details of the sample files :
rgb_tile_half_raw_12x8.exr : uncompress half float file, in tile (only one
tile in the file)
rgb_tile_float_raw_12x8.exr : uncompress float file, in tile (only one tile
in the file)
rgb_tile_float_raw_150x130.exr : uncompress float file, in tile (multiple
tile in the file)

In this patch, compression in tile is not enabled. (i will make new patchs
for that after making more tests)

I tried to keep the most code common with the scanline mode (reason why,
scanline code part have had some modifications).
Tile data are reorganized, to be more like scanline uncompress data.

Pass fate-exr tests.

More information about tile in exr can be found here :

Comments welcome.

Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-add-support-for-tile.patch
Type: text/x-patch
Size: 17902 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160403/f909d8e8/attachment.bin>

More information about the ffmpeg-devel mailing list