diff mbox series

[FFmpeg-devel] tests/fate/vcodec: Limit mem alignment for vsynth..mpeg2-422 tests

Message ID pull.32.ffstaging.FFmpeg.1653728906370.ffmpegagent@gmail.com
State New
Headers show
Series [FFmpeg-devel] tests/fate/vcodec: Limit mem alignment for vsynth..mpeg2-422 tests | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 fail Make fate failed
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 fail Make fate failed

Commit Message

Aman Karmani May 28, 2022, 9:08 a.m. UTC
From: softworkz <softworkz@hotmail.com>

These tests:

- vsynth2-mpeg2-422
- vsynth1-mpeg2-422
- vsynth_lena-mpeg2-422

were failing on newer CPUs where av_cpu_max_align() returns
values > 32. This patch sets cpuflags to disable avx512
extensions for those tests only.

Signed-off-by: softworkz <softworkz@hotmail.com>
---
    tests/fate/vcodec: Limit mem alignment for vsynth..mpeg2-422 tests
    
    These tests:
    
     * vsynth2-mpeg2-422
     * vsynth1-mpeg2-422
     * vsynth_lena-mpeg2-422
    
    were failing on newer CPUs where av_cpu_max_align() returns values > 32.
    This patch sets cpuflags to disable avx512 extensions for those tests
    only.

Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-32%2Fsoftworkz%2Fsubmit_alignment-v1
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-32/softworkz/submit_alignment-v1
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/32

 tests/fate/vcodec.mak | 1 +
 1 file changed, 1 insertion(+)


base-commit: 9fba0b8a8c754a012fc74c90ffb7c26a56be8ca0
diff mbox series

Patch

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 8ca17950ea..2746b0b955 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -262,6 +262,7 @@  fate-vsynth%-mpeg2-422:          ENCOPTS = -b:v 1000k                   \
                                            -trellis 1                   \
                                            -flags +ildct+ilme           \
                                            -mpv_flags +qp_rd+mv0        \
+                                           -cpuflags -avx512            \
                                            -intra_vlc 1                 \
                                            -mbd rd                      \
                                            -pix_fmt yuv422p