[FFmpeg-devel] libavcodec/exr : Fix slice threading

Martin Vignali martin.vignali at gmail.com
Sat Apr 23 13:46:26 CEST 2016


Hello,

Patch in attach, fix slice threading (reported by James Almer in
"Libavcodec/exr : add support for tile" discussion)
the xsize and ysize are now in the thread data instead of exr context.

Theses variables are used to store the real dimensions of a block (tile or
scanline)
specially in edge blocks.

For example can be tested with :
./ffmpeg -threads 2 -thread_type slice -i
./fate-suite/exr/rgba_multiscanline_half_b44.exr
rgba_multiscanline_half_b44.png

or with

make fate-exr SAMPLES=fate-suite/ THREADS=2 THREAD_TYPE=slice


Comments welcome

Martin
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-move-xsize-and-ysize-to-thread-data.-.patch
Type: text/x-patch
Size: 10678 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160423/073946be/attachment.bin>


More information about the ffmpeg-devel mailing list