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

softworkz ffmpegagent at gmail.com
Sat May 28 12:08:26 EEST 2022


From: softworkz <softworkz at 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 at 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(+)

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

base-commit: 9fba0b8a8c754a012fc74c90ffb7c26a56be8ca0
-- 
ffmpeg-codebot


More information about the ffmpeg-devel mailing list