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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7dd6487800582fbf5c50836f135a2d1ce14d7fec
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Sun Jan 25 21:04:21 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Thu Jan 29 01:33:30 2026 +0100

    avcodec/x86/cfhdencdsp: Don't load twice
    
    Sign extend the integer arguments directly from the stack
    instead of loading qwords, followed by sign-extending the
    lower half.
    
    Reviewed-by: James Almer <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/cfhdencdsp.asm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/cfhdencdsp.asm b/libavcodec/x86/cfhdencdsp.asm
index 73e12f283e..83676cea81 100644
--- a/libavcodec/x86/cfhdencdsp.asm
+++ b/libavcodec/x86/cfhdencdsp.asm
@@ -35,7 +35,8 @@ SECTION .text
 
 %if ARCH_X86_64
 INIT_XMM sse2
-cglobal cfhdenc_horiz_filter, 8, 10, 11, input, low, high, istride, lwidth, 
hwidth, width, y, x, temp
+cglobal cfhdenc_horiz_filter, 6, 10, 11, input, low, high, istride, lwidth, 
hwidth, width, y, x, temp
+    movsxdifnidn widthq, widthm
     shl  istrideq, 1
     shl   lwidthq, 1
     shl   hwidthq, 1
@@ -43,8 +44,7 @@ cglobal cfhdenc_horiz_filter, 8, 10, 11, input, low, high, 
istride, lwidth, hwid
     mova       m8, [pw_1]
     pcmpeqw        m9, m9       ; -1
     mova       m10,[pw_p1_n1]
-    movsxdifnidn yq, yd
-    movsxdifnidn widthq, widthd
+    movsxdifnidn   yq, ym
     neg        yq
 .looph:
     movsx          xq, word [inputq]

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

Reply via email to