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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8417c289197cbf1eef3d7e551200356e3278b190
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 21 01:22:33 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Oct 25 02:23:01 2026 +0000

    swscale/uops_macros_gen: factor out common uop flags
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/uops_macros_gen.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/libswscale/uops_macros_gen.c b/libswscale/uops_macros_gen.c
index 5cdf35e802..d95b44f662 100644
--- a/libswscale/uops_macros_gen.c
+++ b/libswscale/uops_macros_gen.c
@@ -241,10 +241,14 @@ fail:
     return ret;
 }
 
+enum {
+    COMMON_FLAGS = SWS_UOP_FLAG_EXPAND_BIT | SWS_UOP_FLAG_READ_PALETTE |
+                   SWS_UOP_FLAG_ADD,
+};
+
 static const SwsUOpFlags uop_flags[] = {
-    SWS_UOP_FLAG_EXPAND_BIT | SWS_UOP_FLAG_READ_PALETTE | SWS_UOP_FLAG_ADD,
-    SWS_UOP_FLAG_EXPAND_BIT | SWS_UOP_FLAG_READ_PALETTE | SWS_UOP_FLAG_ADD |
-    SWS_UOP_FLAG_PSHUFB | SWS_UOP_FLAG_FMA, /* x86 backend */
+    COMMON_FLAGS,                                          /* C backend */
+    COMMON_FLAGS | SWS_UOP_FLAG_PSHUFB | SWS_UOP_FLAG_FMA, /* x86 backend */
 };
 
 static int register_uops(SwsContext *ctx, const SwsOpList *ops,

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