This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 2cc8f29b689dc1c1fffb25cbd82c39cf17d9520b Author: Niklas Haas <[email protected]> AuthorDate: Tue Oct 20 20:55:52 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Tue Oct 20 21:33:01 2026 +0000 swscale/ops: rename ff_sws_op_list_update_comps() Could also be ff_sws_op_list_update_metadata(), but I type this function name often enough to prefer a shorter name. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/graph.c | 2 +- libswscale/ops.c | 4 ++-- libswscale/ops.h | 6 +++--- libswscale/ops_dispatch.c | 2 +- libswscale/ops_optimizer.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libswscale/graph.c b/libswscale/graph.c index b8c2f65ae0..a980af1ee1 100644 --- a/libswscale/graph.c +++ b/libswscale/graph.c @@ -721,7 +721,7 @@ static int add_ops_convert_pass(SwsGraph *graph, const SwsFormat *src, av_get_pix_fmt_name(src->format), av_get_pix_fmt_name(dst->format)); av_log(ctx, AV_LOG_DEBUG, "Unoptimized operation list:\n"); - ff_sws_op_list_update_comps(ops); + ff_sws_op_list_update(ops); ff_sws_op_list_print(ctx, AV_LOG_DEBUG, AV_LOG_TRACE, ops); const int flags = SWS_OP_FLAG_OPTIMIZE | SWS_OP_FLAG_SPLIT_MEMCPY; diff --git a/libswscale/ops.c b/libswscale/ops.c index cf300ed6c3..6b8ec400ca 100644 --- a/libswscale/ops.c +++ b/libswscale/ops.c @@ -673,8 +673,8 @@ static void update_input_pads(SwsOpList *ops, SwsOp *op, SwsCompMask need_out[4] memcpy(need_out, need_in, sizeof(need_in)); } -/* Infer + propagate known information about components */ -void ff_sws_op_list_update_comps(SwsOpList *ops) +/* Infer + propagate output pad metadata */ +void ff_sws_op_list_update(SwsOpList *ops) { /* Forward pass, solves for output pad metadata */ for (int n = 0; n < ops->num_ops; n++) diff --git a/libswscale/ops.h b/libswscale/ops.h index e2bd6e93a5..25b137f8b4 100644 --- a/libswscale/ops.h +++ b/libswscale/ops.h @@ -268,7 +268,7 @@ struct SwsOp { /** * Metadata about the operation's input/output components. Discarded - * and regenerated automatically by `ff_sws_op_list_update_comps()`. + * and regenerated automatically by `ff_sws_op_list_update()`. * * Note that backends may rely on the presence and accuracy of this * metadata for all operations, during ff_sws_ops_compile(). @@ -377,7 +377,7 @@ void ff_sws_op_list_remove_at(SwsOpList *ops, int index, int count); /** * Print out the contents of an operation list. * - * Note: This requires having called `ff_sws_op_list_update_comps()` to + * Note: This requires having called `ff_sws_op_list_update()` to * refresh the output pads, or the output may be stale/missing. */ void ff_sws_op_list_print(void *log_ctx, int log_level, int log_level_extra, @@ -387,7 +387,7 @@ void ff_sws_op_list_print(void *log_ctx, int log_level, int log_level_extra, * Infer + propagate known information about components. Called automatically * when needed by the optimizer and compiler. */ -void ff_sws_op_list_update_comps(SwsOpList *ops); +void ff_sws_op_list_update(SwsOpList *ops); /** * Fuse compatible and eliminate redundant operations, as well as replacing diff --git a/libswscale/ops_dispatch.c b/libswscale/ops_dispatch.c index 2268100154..21e5535f14 100644 --- a/libswscale/ops_dispatch.c +++ b/libswscale/ops_dispatch.c @@ -74,7 +74,7 @@ static int compile_backend(SwsContext *ctx, const SwsOpBackend *backend, return AVERROR(ENOMEM); /* Ensure these are always set during compilation */ - ff_sws_op_list_update_comps(copy); + ff_sws_op_list_update(copy); ret = backend->compile(ctx, copy, &compiled); if (ret < 0) { diff --git a/libswscale/ops_optimizer.c b/libswscale/ops_optimizer.c index e910fb4e3d..83b69f29ab 100644 --- a/libswscale/ops_optimizer.c +++ b/libswscale/ops_optimizer.c @@ -348,7 +348,7 @@ int ff_sws_op_list_optimize(SwsOpList *ops) int ret; retry: - ff_sws_op_list_update_comps(ops); + ff_sws_op_list_update(ops); /* Try to push filters towards the input; do this first to unblock * in-place optimizations like linear op fusion */ -- 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]
