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

Git pushed a commit to branch master
in repository ffmpeg.

commit b3a998699c53aa3be37919becb6496dddb6b0a7b
Author:     Niklas Haas <[email protected]>
AuthorDate: Tue Jul 7 14:17:28 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Jul 14 12:24:01 2026 +0000

    swscale/x86/ops: add micro-op dump to compile_uops_x86() as well
    
    This was only done in compile_uops_c(). Add it here as well for consistency.
    Long-term I want to move this code to ops_dispatch.c, but that requires
    moving the packed shuffle solver there as well, which is still WIP.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/x86/ops.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c
index d716e13000..8812da0ad2 100644
--- a/libswscale/x86/ops.c
+++ b/libswscale/x86/ops.c
@@ -640,6 +640,14 @@ static int compile_uops_x86(SwsContext *ctx, const 
SwsUOpList *uops, SwsCompiled
     out->cpu_flags = chain->cpu_flags;
     memcpy(out->over_read,  chain->over_read,  sizeof(out->over_read));
     memcpy(out->over_write, chain->over_write, sizeof(out->over_write));
+
+    av_log(ctx, AV_LOG_DEBUG, "Compiled micro-ops:\n");
+    for (int i = 0; i < uops->num_ops; i++) {
+        char name[SWS_UOP_NAME_MAX];
+        ff_sws_uop_name(&uops->ops[i], name);
+        av_log(ctx, AV_LOG_DEBUG, "    %s\n", name);
+    }
+
     return 0;
 
 fail:

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

Reply via email to