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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8b065539837a8d511a3226f88e2819ce9e5d49e5
Author:     Ramiro Polla <[email protected]>
AuthorDate: Tue Oct 27 17:02:01 2026 +0100
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Oct 28 12:32:01 2026 +0100

    swscale: name backend process functions consistently
    
    Name the SwsCompiledOp.func c callbacks process_<backend>.
---
 libswscale/ops_memcpy.c   | 6 +++---
 libswscale/uops_backend.c | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libswscale/ops_memcpy.c b/libswscale/ops_memcpy.c
index 735006ab18..0f003a81c9 100644
--- a/libswscale/ops_memcpy.c
+++ b/libswscale/ops_memcpy.c
@@ -38,8 +38,8 @@ typedef struct MemcpyPriv {
 
 /* Memcpy backend for trivial cases */
 
-static void process(const SwsOpExec *exec, const void *priv,
-                    int x_start, int y_start, int x_end, int y_end)
+static void process_memcpy(const SwsOpExec *exec, const void *priv,
+                           int x_start, int y_start, int x_end, int y_end)
 {
     const MemcpyPriv *p = priv;
     const int lines = y_end - y_start;
@@ -139,7 +139,7 @@ static int compile(SwsContext *ctx, const SwsOpList *ops, 
SwsCompiledOp *out)
     *out = (SwsCompiledOp) {
         .slice_align = 1,
         .block_size  = 1,
-        .func = process,
+        .func = process_memcpy,
         .priv = av_memdup(&p, sizeof(p)),
         .free = av_free,
     };
diff --git a/libswscale/uops_backend.c b/libswscale/uops_backend.c
index aa8b4dd0b4..3c38497387 100644
--- a/libswscale/uops_backend.c
+++ b/libswscale/uops_backend.c
@@ -106,9 +106,9 @@ static const SwsUOpTable uop_table = {
     },
 };
 
-static void process(const SwsOpExec *exec, const void *priv,
-                    const int bx_start, const int y_start,
-                    int bx_end, int y_end)
+static void process_c(const SwsOpExec *exec, const void *priv,
+                      const int bx_start, const int y_start,
+                      int bx_end, int y_end)
 {
     const SwsOpChain *chain = priv;
     const SwsOpImpl *impl = chain->impl;
@@ -159,7 +159,7 @@ static int compile_uops_c(SwsContext *ctx, const SwsUOpList 
*uops, SwsCompiledOp
         .cpu_flags   = chain->cpu_flags,
         .priv        = chain,
         .free        = ff_sws_op_chain_free_cb,
-        .func        = process,
+        .func        = process_c,
     };
 
     memcpy(out->over_read,  chain->over_read,  sizeof(out->over_read));

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