This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 2a54b181c0fafc84002b2baaef3def99d383c157
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Fri Jun 5 08:13:50 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Fri Jun 5 08:22:40 2026 +0200

    tests/checkasm/vvc_mc: prevent function inline to avoid stack overflow
    
    Fixes stack overflow on Windows when by default we have 1 MB.
    Individually those functions fit, but when they are all inlined, it's
    too much.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 tests/checkasm/vvc_mc.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tests/checkasm/vvc_mc.c b/tests/checkasm/vvc_mc.c
index 623b6142f1..d712cb8110 100644
--- a/tests/checkasm/vvc_mc.c
+++ b/tests/checkasm/vvc_mc.c
@@ -72,7 +72,7 @@ static const int sizes[] = { 2, 4, 8, 16, 32, 64, 128 };
         randomize_buffers(buf0, buf1, size, mask);          \
     } while (0)
 
-static void check_put_vvc_luma(void)
+static av_noinline void check_put_vvc_luma(void)
 {
     LOCAL_ALIGNED_32(int16_t, dst0, [DST_BUF_SIZE / 2]);
     LOCAL_ALIGNED_32(int16_t, dst1, [DST_BUF_SIZE / 2]);
@@ -120,7 +120,7 @@ static void check_put_vvc_luma(void)
     report("put_luma");
 }
 
-static void check_put_vvc_luma_uni(void)
+static av_noinline void check_put_vvc_luma_uni(void)
 {
     LOCAL_ALIGNED_32(uint8_t, dst0, [DST_BUF_SIZE]);
     LOCAL_ALIGNED_32(uint8_t, dst1, [DST_BUF_SIZE]);
@@ -171,7 +171,7 @@ static void check_put_vvc_luma_uni(void)
     report("put_uni_luma");
 }
 
-static void check_put_vvc_chroma(void)
+static av_noinline void check_put_vvc_chroma(void)
 {
     LOCAL_ALIGNED_32(int16_t, dst0, [DST_BUF_SIZE / 2]);
     LOCAL_ALIGNED_32(int16_t, dst1, [DST_BUF_SIZE / 2]);
@@ -219,7 +219,7 @@ static void check_put_vvc_chroma(void)
     report("put_chroma");
 }
 
-static void check_put_vvc_chroma_uni(void)
+static av_noinline void check_put_vvc_chroma_uni(void)
 {
     LOCAL_ALIGNED_32(uint8_t, dst0, [DST_BUF_SIZE]);
     LOCAL_ALIGNED_32(uint8_t, dst1, [DST_BUF_SIZE]);
@@ -273,7 +273,7 @@ static void check_put_vvc_chroma_uni(void)
 #define AVG_SRC_BUF_SIZE (MAX_CTU_SIZE * MAX_CTU_SIZE)
 #define AVG_DST_BUF_SIZE (MAX_PB_SIZE * MAX_PB_SIZE * 2)
 
-static void check_avg(void)
+static av_noinline void check_avg(void)
 {
     LOCAL_ALIGNED_32(int16_t, src00, [AVG_SRC_BUF_SIZE]);
     LOCAL_ALIGNED_32(int16_t, src01, [AVG_SRC_BUF_SIZE]);
@@ -333,7 +333,7 @@ static void check_avg(void)
 }
 
 #define SR_RANGE 2
-static void check_dmvr(void)
+static av_noinline void check_dmvr(void)
 {
     LOCAL_ALIGNED_32(uint16_t, dst0, [DST_BUF_SIZE]);
     LOCAL_ALIGNED_32(uint16_t, dst1, [DST_BUF_SIZE]);
@@ -394,7 +394,7 @@ static void check_dmvr(void)
 #define BDOF_SRC_SIZE   (MAX_PB_SIZE* (BDOF_BLOCK_SIZE + 2))
 #define BDOF_SRC_OFFSET (MAX_PB_SIZE + 1)
 #define BDOF_DST_SIZE   (BDOF_BLOCK_SIZE * BDOF_BLOCK_SIZE * 2)
-static void check_bdof(void)
+static av_noinline void check_bdof(void)
 {
     LOCAL_ALIGNED_32(uint8_t, dst0, [BDOF_DST_SIZE]);
     LOCAL_ALIGNED_32(uint8_t, dst1, [BDOF_DST_SIZE]);
@@ -431,7 +431,7 @@ static void check_bdof(void)
     report("apply_bdof");
 }
 
-static void check_vvc_sad(void)
+static av_noinline void check_vvc_sad(void)
 {
     const int bit_depth = 10;
     VVCDSPContext c;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to