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

Git pushed a commit to branch master
in repository ffmpeg.

commit 4c7c1163b19c3e9114d4fce68ee601148a8f64f2
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 28 19:41:20 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Nov 8 00:36:29 2026 +0000

    swscale/x86/ops: don't expand clear values
    
    They are already expanded to 32 bits, as documented for SwsClearUOp.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/x86/ops.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c
index f1349a9ec9..e477c3e917 100644
--- a/libswscale/x86/ops.c
+++ b/libswscale/x86/ops.c
@@ -622,12 +622,6 @@ do {
     return 0;
 }
 
-static void normalize_clear(SwsUOp *uop)
-{
-    for (int i = 0; i < 4; i++)
-        uop->data.vec4[i] = ff_sws_pixel_expand32(uop->type, 
uop->data.vec4[i]);
-}
-
 static int compile_uops_x86(SwsContext *ctx, const SwsUOpList *uops, 
SwsCompiledOp *out)
 {
     int ret, mmsize = get_mmsize();
@@ -662,8 +656,6 @@ static int compile_uops_x86(SwsContext *ctx, const 
SwsUOpList *uops, SwsCompiled
         int op_block_size = out->block_size;
 
         if (uop_is_type_invariant(uop->uop)) {
-            if (uop->uop == SWS_UOP_CLEAR)
-                normalize_clear(uop);
             op_block_size *= ff_sws_pixel_type_size(uop->type);
             uop->type = SWS_PIXEL_U8;
         }

-- 
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