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

Git pushed a commit to branch master
in repository ffmpeg.

commit b494a82321774bfe3cb940d0f92f2a782a562704
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Jun 17 17:29:40 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Jun 23 11:48:13 2026 +0000

    swscale/ops: remove now-unneeded function
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_internal.h  | 10 ----------
 libswscale/ops_optimizer.c | 12 ------------
 2 files changed, 22 deletions(-)

diff --git a/libswscale/ops_internal.h b/libswscale/ops_internal.h
index 01bc921697..f1da34a272 100644
--- a/libswscale/ops_internal.h
+++ b/libswscale/ops_internal.h
@@ -97,14 +97,4 @@ int ff_sws_solve_shuffle(const SwsOpList *ops, uint8_t 
shuffle[], int size,
  */
 int ff_sws_op_list_split_at(SwsOpList *ops1, SwsOpList **ops2, int index);
 
-/**
- * Eliminate SWS_OP_FILTER_* operations by merging them with prior SWS_OP_READ
- * operations. This may require splitting the op list into multiple subpasses,
- * along filter boundaries. After this function, `ops` will no longer contain
- * bare filtering operations. The remainder, if any, is output to `out_rest`.
- *
- * Returns 0 or a negative error code.
- */
-int ff_sws_op_list_subpass(SwsOpList *ops, SwsOpList **out_rest);
-
 #endif /* SWSCALE_OPS_INTERNAL_H */
diff --git a/libswscale/ops_optimizer.c b/libswscale/ops_optimizer.c
index 103df0bcd6..ebb9fa026f 100644
--- a/libswscale/ops_optimizer.c
+++ b/libswscale/ops_optimizer.c
@@ -1057,15 +1057,3 @@ fail:
     ff_sws_op_list_free(&ops2);
     return ret;
 }
-
-int ff_sws_op_list_subpass(SwsOpList *ops, SwsOpList **out_rest)
-{
-    for (int idx = 0; idx < ops->num_ops; idx++) {
-        const SwsOp *op = &ops->ops[idx];
-        if (op->op == SWS_OP_FILTER_H || op->op == SWS_OP_FILTER_V)
-            return ff_sws_op_list_split_at(ops, out_rest, idx);
-    }
-
-    *out_rest = NULL;
-    return 0;
-}

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

Reply via email to