[FFmpeg-devel] [PATCH v2 4/5] libswscale: Enable hscale_avx2 for all input sizes.
Michael Niedermayer
michael at niedermayer.cc
Thu Jul 14 19:56:12 EEST 2022
On Thu, Feb 17, 2022 at 11:04:20AM +0100, Alan Kelly wrote:
> ff_shuffle_filter_coefficients shuffles the tail as required.
> ---
> libswscale/utils.c | 19 ++++++++++++++++---
> libswscale/x86/swscale.c | 6 ++----
> 2 files changed, 18 insertions(+), 7 deletions(-)
it seems patch 3 and 4 together fail fate with current git master
(i think 1 & 2 are already applied)
make V=2 fate-checkasm-sw_scale
TEST checkasm-sw_scale
./tests/fate-run.sh fate-checkasm-sw_scale "fate-suite/" "" "ffmpeg" 'run tests/checkasm/checkasm --test=sw_scale' 'null' '' '' '1' '' '' '' '' '' '' '' '' '' ''
ffmpeg/tests/checkasm/checkasm --test=sw_scale
Test checkasm-sw_scale failed. Look at tests/data/fate/checkasm-sw_scale.err for details.
checkasm: using random seed 1761410321
MMXEXT:
- sw_scale.yuv2yuvX [OK]
SSE2:
- sw_scale.hscale [OK]
SSE3:
- sw_scale.yuv2yuvX [OK]
SSSE3:
- sw_scale.hscale [OK]
SSE4.1:
- sw_scale.hscale [OK]
AVX2:
hscale_8_to_15__fs_4_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_4_dstW_24_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_8_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_8_dstW_24_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_12_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_12_dstW_24_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_16_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_16_dstW_24_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_32_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_32_dstW_24_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_40_dstW_8_avx2 (sw_scale.c:235)
hscale_8_to_15__fs_40_dstW_24_avx2 (sw_scale.c:235)
- sw_scale.hscale [FAILED]
- sw_scale.yuv2yuvX [OK]
checkasm: 12 of 504 tests have failed
tests/Makefile:304: recipe for target 'fate-checkasm-sw_scale' failed
make: *** [fate-checkasm-sw_scale] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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/20220714/c19f12e7/attachment.sig>
More information about the ffmpeg-devel
mailing list