mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
lavfi/filters: move functions only used by generic code to avfilter_internal.h
This commit is contained in:
parent
6d75d44d90
commit
f19c988911
@ -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 */
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user