[FFmpeg-devel] libavcodec/exr : add SSE2 simd for reorder pixels (WIP)

Martin Vignali martin.vignali at gmail.com
Sat Aug 5 23:48:17 EEST 2017


Hello,

Based on pull request in the official openexr library :
https://github.com/openexr/openexr/pull/229/commits/4198128397c033d4f69e5cc0833195da500c31cf

i try to port the reorder part (used in zip and rle decompression), to asm
Tested on OS X
pass fate test for me

I test with this command :
./ffmpeg -i ./fate-suite/exr/rgba_slice_zip16.exr -f null -;./ffmpeg -i
./fate-suite/exr/rgba_slice_zip16.exr -f null - -cpuflags 0

the result of the timer are :
scalar : 960355 decicycles in reorder_pixels_zip,      64 runs,      0 skips
sse :       84763 decicycles in reorder_pixels_zip,      64 runs,      0
skips

Comments Welcome

Martin
Jokyo Images
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-exr-add-sse2-simd-for-reorder_pixels.patch
Type: application/octet-stream
Size: 14389 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170805/abd79aae/attachment.obj>


More information about the ffmpeg-devel mailing list