Go to the documentation of this file.
25 #ifndef AVFILTER_AVFILTER_INTERNAL_H
26 #define AVFILTER_AVFILTER_INTERNAL_H
static FilterLinkInternal * ff_link_internal(AVFilterLink *link)
int ff_filter_opt_parse(void *logctx, const AVClass *priv_class, AVDictionary **options, const char *args)
Parse filter options into a dictionary.
struct FilterLinkInternal ** sink_links
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
A link between two filters.
@ AVLINK_UNINIT
not started
avfilter_execute_func * thread_execute
Structure to hold global options and statistics for frame queues.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a link
void ff_avfilter_graph_update_heap(AVFilterGraph *graph, struct FilterLinkInternal *li)
Update the position of a link in the age heap.
Describe the class of an AVClass context structure.
static FFFilterGraph * fffiltergraph(AVFilterGraph *graph)
AVFilterContext * ff_filter_alloc(const AVFilter *filter, const char *inst_name)
Allocate a new filter context and return it.
int status_out
Link output status.
int ff_filter_activate(AVFilterContext *filter)
Queue of AVFrame pointers.
const OptionDef options[]
enum FilterLinkInternal::@244 init_state
stage of the initialization of the link properties (dimensions, etc)
int age_index
Index in the age array.
int() avfilter_execute_func(AVFilterContext *ctx, avfilter_action_func *func, void *arg, int *ret, int nb_jobs)
A function executing multiple jobs, possibly in parallel.
struct AVFilterCommand * next
FFFrameQueueGlobal frame_queues
int frame_blocked_in
If set, the source filter can not generate a frame as is.
unsigned disable_auto_convert
int status_in
Link input status.
void ff_filter_graph_remove_filter(AVFilterGraph *graph, AVFilterContext *filter)
Remove a filter from a graph;.
@ AVLINK_STARTINIT
started, but incomplete
char * arg
optional argument for the command
AVFilterGraph p
The public AVFilterGraph.
void ff_graph_thread_free(FFFilterGraph *graph)
int ff_graph_thread_init(FFFilterGraph *graph)
struct FFFramePool * frame_pool
FFFrameQueue fifo
Queue of frames waiting to be filtered.
int64_t status_in_pts
Timestamp of the input status change.
double time
time expressed in seconds