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

Git pushed a commit to branch master
in repository ffmpeg.

commit 9fe9fd95b6e87b8d23505f3e52337547cdfe4460
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sat Feb 28 15:37:52 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Fri Mar 6 20:02:41 2026 +0100

    avcodec/x86/vvc/of: Only clip for >8bpp
    
    packuswb does it already for 8bpp.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/vvc/of.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm
index 5184144739..64c972786c 100644
--- a/libavcodec/x86/vvc/of.asm
+++ b/libavcodec/x86/vvc/of.asm
@@ -69,7 +69,6 @@ INIT_YMM avx2
     paddw                         %4, [src1q + (%5 + 1) * SRC_STRIDE + SRC_PS]
     paddsw                        %1, %4                                       
  ; src0[x] + src1[x] + bdof_offset
     pmulhrsw                      %1, m11
-    CLIPW                         %1, m9, m10
 %endmacro
 
 %macro SAVE 2 ; dst, src
@@ -85,6 +84,7 @@ INIT_YMM avx2
     jmp                      %%end
 
 %%save_16bpc:
+    CLIPW                      m%2, m9, m10
     cmp                         wd, 16
     jne                       %%w8_16
     movu                        %1, m%2

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

Reply via email to