[FFmpeg-devel] [PATCH] Moves yuv2yuvX_sse3 to yasm, unrolls main loop and other small optimizations for ~20% speedup.

Michael Niedermayer michael at niedermayer.cc
Fri Dec 11 21:23:40 EET 2020


On Thu, Dec 10, 2020 at 04:46:26PM +0100, Alan Kelly wrote:
> ---
>  Replaces ff_sws_init_swscale_x86 with ff_getSwsFunc
>  Load offset if not gprsize but 8 on both 32 and 64 bit
>  Removes sfence as NT store no longer used
>  libswscale/x86/Makefile     |   1 +
>  libswscale/x86/swscale.c    | 106 +++++++++-----------------------
>  libswscale/x86/yuv2yuvX.asm | 117 ++++++++++++++++++++++++++++++++++++
>  tests/checkasm/sw_scale.c   | 101 ++++++++++++++++++++++++++++++-
>  4 files changed, 248 insertions(+), 77 deletions(-)
>  create mode 100644 libswscale/x86/yuv2yuvX.asm

breaks fate on mingw32

make fate-checkasm-sw_scale
TEST    checkasm-sw_scale
Test checkasm-sw_scale failed. Look at tests/data/fate/checkasm-sw_scale.err for details.
src/tests/Makefile:255: recipe for target 'fate-checkasm-sw_scale' failed
make: *** [fate-checkasm-sw_scale] Error 5


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Take away the freedom of one citizen and you will be jailed, take away
the freedom of all citizens and you will be congratulated by your peers
in Parliament.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201211/aba837d6/attachment.sig>


More information about the ffmpeg-devel mailing list