libswscale: Adds ff_hscale8to15_4_avx2 and ff_hscale8to15_X4_avx2 for all filter...
authorAlan Kelly <alankelly@google.com>
Wed, 15 Dec 2021 09:35:02 +0000 (10:35 +0100)
committerJames Almer <jamrial@gmail.com>
Wed, 15 Dec 2021 23:04:59 +0000 (20:04 -0300)
commitf900a19fa94b1a55b660ec2e5c13419d59754bc0
tree7fedf4f6b884fd7172a666f1706653b950fc6a90
parente9ba40c5c9a49bc97d16d66c46ff993fa84a6c31
libswscale: Adds ff_hscale8to15_4_avx2 and ff_hscale8to15_X4_avx2 for all filter sizes.

Fixes so that fate under 64 bit Windows passes.

These functions replace all ff_hscale8to15_*_ssse3 when avx2 is available.

Signed-off-by: James Almer <jamrial@gmail.com>
libswscale/swscale_internal.h
libswscale/utils.c
libswscale/x86/Makefile
libswscale/x86/scale_avx2.asm [new file with mode: 0644]
libswscale/x86/swscale.c
tests/checkasm/sw_scale.c