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

Git pushed a commit to branch master
in repository ffmpeg.

commit d3d74f0ce452918e5c3f3123395c2c7f5d9d6636
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Aug 5 13:34:16 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Aug 9 21:03:33 2026 +0200

    swscale/aarch64/ops: set correct mask for SWS_OP_MIN/MAX
    
    This was already the established convention, aarch64 just didn't follow it.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/aarch64/ops_impl_conv.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/libswscale/aarch64/ops_impl_conv.c 
b/libswscale/aarch64/ops_impl_conv.c
index fbd69c9c87..9869c29608 100644
--- a/libswscale/aarch64/ops_impl_conv.c
+++ b/libswscale/aarch64/ops_impl_conv.c
@@ -190,8 +190,11 @@ static int convert_to_aarch64_impl(SwsContext *ctx, const 
SwsOpList *ops, int n,
             }
         }
         break;
-    case SWS_OP_MIN:        out->uop = SWS_UOP_MIN;        break;
-    case SWS_OP_MAX:        out->uop = SWS_UOP_MAX;        break;
+    case SWS_OP_MIN:
+    case SWS_OP_MAX:
+        out->uop = (op->op == SWS_OP_MIN) ? SWS_UOP_MIN : SWS_UOP_MAX;
+        out->mask &= ff_sws_comp_mask_q4(op->clamp.limit);
+        break;
     case SWS_OP_SCALE:      out->uop = SWS_UOP_SCALE;      break;
     case SWS_OP_LINEAR:
         out->uop = (ctx->flags & SWS_BITEXACT)

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

Reply via email to