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

Michael Niedermayer michael at niedermayer.cc
Wed Mar 21 04:05:39 EET 2018


On Tue, Mar 20, 2018 at 09:06:53PM +0100, Martin Vignali wrote:
> Hello,
> 
> New patchs in attach without AVX2 version
[...]

>  rgb2rgb.c          |   23 ++++-------------------
>  rgb2rgb.h          |    6 +++---
>  rgb2rgb_template.c |   21 +++++++++++++++++++++
>  x86/rgb2rgb.c      |    6 ++++++
>  x86/rgb_2_rgb.asm  |    6 ++++++
>  5 files changed, 40 insertions(+), 22 deletions(-)
> 9ee5b9413bf6fb1422bd4c1d775bc5b3991679f9  0002-swscale-rgb-add-X86-SIMD-SSSE3-for.patch
> From 2b3d9c2776e56258b9bb4c15c7f315156d8a09f2 Mon Sep 17 00:00:00 2001
> From: Martin Vignali <martin.vignali at gmail.com>
> Date: Tue, 20 Mar 2018 21:02:49 +0100
> Subject: [PATCH 2/4] swscale/rgb : add X86 SIMD (SSSE3), for 
>  shuffle_bytes_1230, shuffle_bytes_3012, shuffle_bytes_3210
> 
> ---
>  libswscale/rgb2rgb.c          | 23 ++++-------------------
>  libswscale/rgb2rgb.h          |  6 +++---
>  libswscale/rgb2rgb_template.c | 21 +++++++++++++++++++++
>  libswscale/x86/rgb2rgb.c      |  6 ++++++
>  libswscale/x86/rgb_2_rgb.asm  |  6 ++++++
>  5 files changed, 40 insertions(+), 22 deletions(-)

the code moving should be in a seperate patch idealy, no big issue here as this
is not a very complex patch

otherwise patches should be ok

also tested on linux x86-32/64, mingw32/64, linux qemu mips
thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180321/d4b7ee44/attachment.sig>


More information about the ffmpeg-devel mailing list