[FFmpeg-devel] swscale/rgb2rgb : add X86_64 SIMD (SSSE3 and AVX2) for shuffly_bytes func

Martin Vignali martin.vignali at gmail.com
Sat Mar 3 19:20:26 EET 2018


Hello,

Patch in attach add SIMD for the 5 shuffle_bytes func for rgb2rgb
The new SIMD are write using external ASM.

Also add checkasm test for theses func
Restricted to x86_64, because the scalar part doesn't compile on x86_32

I consider for the scalar part that the src_size value is a multiple of 4
(because the shuffle is for 4 bytes)

Pass fate test on X86_64 and X86_32 (os 10.12)


Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-swscale-rgb-add-X86_64-SIMD-SSSE3-AVX2-for.patch
Type: application/octet-stream
Size: 5302 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180303/e5033d0b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-swscale-rgb-add-X86_64-SIMD-SSSE3-AVX2-for.patch
Type: application/octet-stream
Size: 8169 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180303/e5033d0b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-checkasm-swscale-add-test-for-rgb-shuffle_bytes-func.patch
Type: application/octet-stream
Size: 5751 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180303/e5033d0b/attachment-0002.obj>


More information about the ffmpeg-devel mailing list