[FFmpeg-cvslog] lavfi/filters: move functions only used by generic code to avfilter_internal.h

Anton Khirnov git at videolan.org
Mon Aug 19 22:50:01 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Aug 17 10:01:36 2024 +0200| [f19c988911f4d03d396ab286138bd03c0a56fed4] | committer: Anton Khirnov

lavfi/filters: move functions only used by generic code to avfilter_internal.h

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f19c988911f4d03d396ab286138bd03c0a56fed4
---

 libavfilter/avfilter_internal.h | 15 +++++++++++++++
 libavfilter/filters.h           | 15 ---------------
 2 files changed, 15 insertions(+), 15 deletions(-)

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.



More information about the ffmpeg-cvslog mailing list