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

Git pushed a commit to branch master
in repository ffmpeg.

commit b2760fdd7ebc8bc120f3d1b626f549a3accda31e
Author:     Jun Zhao <[email protected]>
AuthorDate: Fri Nov 20 20:23:27 2026 +0800
Commit:     Jun Zhao <[email protected]>
CommitDate: Sat Nov 21 23:16:24 2026 +0000

    tests/checkasm/vvc_mc: fix DMVR destination buffer element count
    
    DST_BUF_SIZE is a byte count (32768), but the DMVR destination buffers were
    declared as uint16_t[DST_BUF_SIZE], making each 65536 bytes. The memset
    clears only DST_BUF_SIZE bytes, so the upper half was never zeroed. Use the
    DST_BUF_SIZE / 2 conversion already applied to the int16_t destination
    buffers elsewhere in this file, giving 32768 bytes that the existing memset
    fully covers. The output comparison reads at most ~5 KiB, well inside.
    
    Signed-off-by: Jun Zhao <[email protected]>
---
 tests/checkasm/vvc_mc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/checkasm/vvc_mc.c b/tests/checkasm/vvc_mc.c
index a59a11d9ce..a5513861db 100644
--- a/tests/checkasm/vvc_mc.c
+++ b/tests/checkasm/vvc_mc.c
@@ -335,8 +335,8 @@ static av_noinline void check_avg(void)
 #define SR_RANGE 2
 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]);
+    LOCAL_ALIGNED_32(uint16_t, dst0, [DST_BUF_SIZE / 2]);
+    LOCAL_ALIGNED_32(uint16_t, dst1, [DST_BUF_SIZE / 2]);
     LOCAL_ALIGNED_32(uint8_t,  src0, [SRC_BUF_SIZE]);
     LOCAL_ALIGNED_32(uint8_t,  src1, [SRC_BUF_SIZE]);
     const int dst_stride = MAX_PB_SIZE;

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to