diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-17 10:01:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-19 21:48:11 +0200 |
commit | f19c988911f4d03d396ab286138bd03c0a56fed4 (patch) | |
tree | af93de035b08bd3ceafb92423f2e517bee0288ea /libavfilter | |
parent | 6d75d44d905ec8047346c6f74c48d81549f31891 (diff) | |
download | ffmpeg-f19c988911f4d03d396ab286138bd03c0a56fed4.tar.gz |
lavfi/filters: move functions only used by generic code to avfilter_internal.h
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter_internal.h | 15 | ||||
-rw-r--r-- | 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 @@ -304,21 +304,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. */ |