This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a9212c2862b000e12993b08ff56dbfc296dea3dd Author: Ramiro Polla <[email protected]> AuthorDate: Tue Oct 27 17:05:46 2026 +0100 Commit: Ramiro Polla <[email protected]> CommitDate: Wed Oct 28 12:32:01 2026 +0100 swscale: name backend compile callbacks consistently Name the SwsOpBackend.compile callbacks compile_ops_<backend> and the SwsOpBackend.compile_uops callbacks compile_uops_<backend>. --- libswscale/aarch64/ops.c | 12 ++++++------ libswscale/ops_memcpy.c | 4 ++-- libswscale/uops_backend.c | 4 ++-- libswscale/vulkan/ops.c | 6 +++--- libswscale/x86/ops.c | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libswscale/aarch64/ops.c b/libswscale/aarch64/ops.c index 1497352ad4..0c4fb7d768 100644 --- a/libswscale/aarch64/ops.c +++ b/libswscale/aarch64/ops.c @@ -151,7 +151,7 @@ static int aarch64_setup(const SwsUOp *uop, const SwsAArch64OpImplParams *p, } /*********************************************************************/ -static int aarch64_compile_uops(SwsContext *ctx, const SwsUOpList *uops, +static int compile_uops_aarch64(SwsContext *ctx, const SwsUOpList *uops, SwsCompiledOp *out) { int ret; @@ -218,8 +218,8 @@ error: } /*********************************************************************/ -static int aarch64_compile(SwsContext *ctx, const SwsOpList *ops, - SwsCompiledOp *out) +static int compile_ops_aarch64(SwsContext *ctx, const SwsOpList *ops, + SwsCompiledOp *out) { SwsUOpList *uops = ff_sws_uop_list_alloc(); if (!uops) @@ -232,7 +232,7 @@ static int aarch64_compile(SwsContext *ctx, const SwsOpList *ops, if (ret < 0) goto error; - ret = aarch64_compile_uops(ctx, uops, out); + ret = compile_uops_aarch64(ctx, uops, out); error: ff_sws_uop_list_free(&uops); @@ -243,7 +243,7 @@ error: const SwsOpBackend backend_aarch64 = { .name = "aarch64", .flags = SWS_BACKEND_AARCH64, - .compile = aarch64_compile, - .compile_uops = aarch64_compile_uops, + .compile = compile_ops_aarch64, + .compile_uops = compile_uops_aarch64, .hw_format = AV_PIX_FMT_NONE, }; diff --git a/libswscale/ops_memcpy.c b/libswscale/ops_memcpy.c index 0f003a81c9..9c8345569f 100644 --- a/libswscale/ops_memcpy.c +++ b/libswscale/ops_memcpy.c @@ -75,7 +75,7 @@ static void process_memcpy(const SwsOpExec *exec, const void *priv, } } -static int compile(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) +static int compile_ops_memcpy(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) { MemcpyPriv p = {0}; @@ -149,6 +149,6 @@ static int compile(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) const SwsOpBackend backend_murder = { .name = "memcpy", .flags = SWS_BACKEND_MEMCPY, - .compile = compile, + .compile = compile_ops_memcpy, .hw_format = AV_PIX_FMT_NONE, }; diff --git a/libswscale/uops_backend.c b/libswscale/uops_backend.c index 3c38497387..f206d45443 100644 --- a/libswscale/uops_backend.c +++ b/libswscale/uops_backend.c @@ -179,7 +179,7 @@ fail: return ret; } -static int compile_c(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) +static int compile_ops_c(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) { SwsUOpList *uops = ff_sws_uop_list_alloc(); if (!uops) @@ -203,7 +203,7 @@ fail: const SwsOpBackend backend_c = { .name = "c", .flags = SWS_BACKEND_C, - .compile = compile_c, + .compile = compile_ops_c, .compile_uops = compile_uops_c, .hw_format = AV_PIX_FMT_NONE, }; diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c index fb6486d5a2..c0dcd71b6c 100644 --- a/libswscale/vulkan/ops.c +++ b/libswscale/vulkan/ops.c @@ -1265,8 +1265,8 @@ fail: return err; } -static int compile_spirv(SwsContext *sws, const SwsOpList *ops, - SwsCompiledOp *out) +static int compile_ops_spirv(SwsContext *sws, const SwsOpList *ops, + SwsCompiledOp *out) { SwsUOpList *uops = NULL; int err; @@ -1334,6 +1334,6 @@ fail: const SwsOpBackend backend_spirv = { .name = "spirv", .flags = SWS_BACKEND_SPIRV, - .compile = compile_spirv, + .compile = compile_ops_spirv, .hw_format = AV_PIX_FMT_VULKAN, }; diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c index 6337711b33..fa75491036 100644 --- a/libswscale/x86/ops.c +++ b/libswscale/x86/ops.c @@ -716,7 +716,7 @@ fail: return ret; } -static int compile_x86(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) +static int compile_ops_x86(SwsContext *ctx, const SwsOpList *ops, SwsCompiledOp *out) { const int cpu_flags = av_get_cpu_flags(); const int mmsize = get_mmsize(); @@ -749,7 +749,7 @@ fail: const SwsOpBackend backend_x86 = { .name = "x86", .flags = SWS_BACKEND_X86, - .compile = compile_x86, + .compile = compile_ops_x86, .compile_uops = compile_uops_x86, .hw_format = AV_PIX_FMT_NONE, }; -- 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]
