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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8434869cfdf3c708c048ce7db1519d4a27f20e1d
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Jul 23 01:47:49 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sat Aug 1 16:50:06 2026 +0200

    avcodec/x86/vc1dsp_loopfilter: Reduce number of GPRs used
    
    Reuse the register that held pq for this instead of using
    another one. This saves a push+pop on 32bit systems and avoids
    REX prefixes on Unix64.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/vc1dsp_loopfilter.asm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavcodec/x86/vc1dsp_loopfilter.asm 
b/libavcodec/x86/vc1dsp_loopfilter.asm
index 373608588f..0db1ebc8e3 100644
--- a/libavcodec/x86/vc1dsp_loopfilter.asm
+++ b/libavcodec/x86/vc1dsp_loopfilter.asm
@@ -235,9 +235,9 @@ cglobal vc1_v_loop_filter8, 3,5,8
     RET
 
 ; void ff_vc1_h_loop_filter8_sse2(uint8_t *src, ptrdiff_t stride, int pq)
-cglobal vc1_h_loop_filter8, 3,6,8
+cglobal vc1_h_loop_filter8, 3,5,8
     START_H_FILTER 8
-    VC1_H_LOOP_FILTER 8, r5
+    VC1_H_LOOP_FILTER 8, r2
     RET
 
 INIT_MMX ssse3
@@ -248,9 +248,9 @@ cglobal vc1_v_loop_filter4, 3,5,0
     RET
 
 ; void ff_vc1_h_loop_filter4_ssse3(uint8_t *src, ptrdiff_t stride, int pq)
-cglobal vc1_h_loop_filter4, 3,5,0
+cglobal vc1_h_loop_filter4, 3,4,0
     START_H_FILTER 4
-    VC1_H_LOOP_FILTER 4, r4
+    VC1_H_LOOP_FILTER 4, r2
     RET
 
 INIT_XMM ssse3
@@ -261,9 +261,9 @@ cglobal vc1_v_loop_filter8, 3,5,8
     RET
 
 ; void ff_vc1_h_loop_filter8_ssse3(uint8_t *src, ptrdiff_t stride, int pq)
-cglobal vc1_h_loop_filter8, 3,6,8
+cglobal vc1_h_loop_filter8, 3,5,8
     START_H_FILTER 8
-    VC1_H_LOOP_FILTER 8, r5
+    VC1_H_LOOP_FILTER 8, r2
     RET
 
 INIT_XMM sse4

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

Reply via email to