[FFmpeg-devel] [PATCH 7/8] lavfi/filters: move functions only used by generic code to avfilter_internal.h
Anton Khirnov
anton at khirnov.net
Sat Aug 17 11:13:57 EEST 2024
---
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.
--
2.43.0
More information about the ffmpeg-devel
mailing list