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

Git pushed a commit to branch master
in repository ffmpeg.

commit 88870f33abea3788287cd501aea6782c94b2df68
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Mar 26 00:12:40 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Mar 29 01:05:23 2026 +0100

    avcodec/x86/h26x/h2656_inter: Remove always-true checks
    
    It has already been checked before that we are only dealing
    with high bitdepth here.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/h26x/h2656_inter.asm | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/libavcodec/x86/h26x/h2656_inter.asm 
b/libavcodec/x86/h26x/h2656_inter.asm
index 49a95d58fb..429f9b4667 100644
--- a/libavcodec/x86/h26x/h2656_inter.asm
+++ b/libavcodec/x86/h26x/h2656_inter.asm
@@ -408,13 +408,9 @@ SECTION .text
     pmaddwd        %%reg1, %3
     pmaddwd        %%reg3, %4
     paddd          %%reg1, %%reg3
-%if %1 != 8
     psrad          %%reg1, %1-8
 %endif
-%endif
-%if %1 != 8
     psrad          %%reg0, %1-8
-%endif
     packssdw       %%reg0, %%reg1
 %endif
 %endmacro
@@ -437,9 +433,7 @@ SECTION .text
     paddd             m0, m2
     paddd             m4, m6
     paddd             m0, m4
-%if %2 != 8
     psrad             m0, %2-8
-%endif
 %if %1 > 4
     pmaddwd           m1, [%3q+4*mmsize]
     pmaddwd           m3, [%3q+5*mmsize]
@@ -448,9 +442,7 @@ SECTION .text
     paddd             m1, m3
     paddd             m5, m7
     paddd             m1, m5
-%if %2 != 8
     psrad             m1, %2-8
-%endif
 %endif
     p%4               m0, m1
 %endif
@@ -503,9 +495,7 @@ SECTION .text
     paddd             m0, m2
     paddd             m4, m6
     paddd             m0, m4
-%if %2 != 8
     psrad             m0, %2-8
-%endif
 %if %1 > 4
     pmaddwd           m1, m12
     pmaddwd           m3, m13
@@ -514,11 +504,9 @@ SECTION .text
     paddd             m1, m3
     paddd             m5, m7
     paddd             m1, m5
-%if %2 != 8
     psrad             m1, %2-8
 %endif
 %endif
-%endif
 %endmacro
 %macro UNI_COMPUTE 5
     pmulhrsw          %3, %5

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

Reply via email to