diff mbox series

[FFmpeg-devel,7/8] lavfi/filters: move functions only used by generic code to avfilter_internal.h

Message ID 20240817081358.2354-7-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,1/8] lavfi/internal: move functions used by filters to filters.h | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Anton Khirnov Aug. 17, 2024, 8:13 a.m. UTC
---
 libavfilter/avfilter_internal.h | 15 +++++++++++++++
 libavfilter/filters.h           | 15 ---------------
 2 files changed, 15 insertions(+), 15 deletions(-)
diff mbox series

Patch

diff --git a/libavfilter/avfilter_internal.h b/libavfilter/avfilter_internal.h
index 3b8d6fe60e..8386183745 100644
--- a/libavfilter/avfilter_internal.h
+++ b/libavfilter/avfilter_internal.h
@@ -184,4 +184,19 @@  void ff_tlog_link(void *ctx, AVFilterLink *link, int end);
  */
 int ff_filter_graph_run_once(AVFilterGraph *graph);
 
+/**
+ * Process the commands queued in the link up to the time of the frame.
+ * Commands will trigger the process_command() callback.
+ * @return  >= 0 or AVERROR code.
+ */
+int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame);
+
+/**
+ * Evaluate the timeline expression of the link for the time and properties
+ * of the frame.
+ * @return  >0 if enabled, 0 if disabled
+ * @note  It does not update link->dst->is_disabled.
+ */
+int ff_inlink_evaluate_timeline_at_frame(AVFilterLink *link, const AVFrame *frame);
+
 #endif /* AVFILTER_AVFILTER_INTERNAL_H */
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index 4e763a94c0..636753b26a 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -303,21 +303,6 @@  enum FilterFormatsState {
  */
 void ff_filter_set_ready(AVFilterContext *filter, unsigned priority);
 
-/**
- * Process the commands queued in the link up to the time of the frame.
- * Commands will trigger the process_command() callback.
- * @return  >= 0 or AVERROR code.
- */
-int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame);
-
-/**
- * Evaluate the timeline expression of the link for the time and properties
- * of the frame.
- * @return  >0 if enabled, 0 if disabled
- * @note  It does not update link->dst->is_disabled.
- */
-int ff_inlink_evaluate_timeline_at_frame(AVFilterLink *link, const AVFrame *frame);
-
 /**
  * Get the number of frames available on the link.
  * @return the number of frames available in the link fifo.