FFmpeg
Data Structures | Functions
avfilter_internal.h File Reference
#include <stdint.h>
#include "avfilter.h"
#include "framequeue.h"

Go to the source code of this file.

Data Structures

struct  FilterLinkInternal
 
struct  AVFilterCommand
 
struct  FFFilterGraph
 

Functions

static FilterLinkInternalff_link_internal (AVFilterLink *link)
 
static FFFilterGraphfffiltergraph (AVFilterGraph *graph)
 
void ff_avfilter_graph_update_heap (AVFilterGraph *graph, struct FilterLinkInternal *li)
 Update the position of a link in the age heap. More...
 
AVFilterContextff_filter_alloc (const AVFilter *filter, const char *inst_name)
 Allocate a new filter context and return it. More...
 
void ff_filter_graph_remove_filter (AVFilterGraph *graph, AVFilterContext *filter)
 Remove a filter from a graph;. More...
 
int ff_filter_activate (AVFilterContext *filter)
 
int ff_filter_opt_parse (void *logctx, const AVClass *priv_class, AVDictionary **options, const char *args)
 Parse filter options into a dictionary. More...
 
int ff_graph_thread_init (FFFilterGraph *graph)
 
void ff_graph_thread_free (FFFilterGraph *graph)
 

Function Documentation

◆ ff_link_internal()

static FilterLinkInternal* ff_link_internal ( AVFilterLink link)
inlinestatic

◆ fffiltergraph()

static FFFilterGraph* fffiltergraph ( AVFilterGraph graph)
inlinestatic

◆ ff_avfilter_graph_update_heap()

void ff_avfilter_graph_update_heap ( AVFilterGraph graph,
struct FilterLinkInternal li 
)

Update the position of a link in the age heap.

Definition at line 1365 of file avfiltergraph.c.

Referenced by update_link_current_pts().

◆ ff_filter_alloc()

AVFilterContext* ff_filter_alloc ( const AVFilter filter,
const char *  inst_name 
)

Allocate a new filter context and return it.

Parameters
filterwhat filter to create an instance of
inst_namename to give to the new filter context
Returns
newly created filter context or NULL on failure

Definition at line 685 of file avfilter.c.

Referenced by avfilter_graph_alloc_filter().

◆ ff_filter_graph_remove_filter()

void ff_filter_graph_remove_filter ( AVFilterGraph graph,
AVFilterContext filter 
)

Remove a filter from a graph;.

Definition at line 98 of file avfiltergraph.c.

Referenced by avfilter_free().

◆ ff_filter_activate()

int ff_filter_activate ( AVFilterContext filter)

Definition at line 1374 of file avfilter.c.

Referenced by ff_filter_graph_run_once().

◆ ff_filter_opt_parse()

int ff_filter_opt_parse ( void *  logctx,
const AVClass priv_class,
AVDictionary **  options,
const char *  args 
)

Parse filter options into a dictionary.

Parameters
logctxcontext for logging
priv_classa filter's private class for shorthand options or NULL
optionsdictionary to store parsed options in
argsoptions string to parse
Returns
a non-negative number on success, a negative error code on failure

Definition at line 834 of file avfilter.c.

Referenced by avfilter_init_str(), and filter_parse().

◆ ff_graph_thread_init()

int ff_graph_thread_init ( FFFilterGraph graph)

Definition at line 74 of file avfiltergraph.c.

Referenced by avfilter_graph_alloc_filter().

◆ ff_graph_thread_free()

void ff_graph_thread_free ( FFFilterGraph graph)

Definition at line 70 of file avfiltergraph.c.

Referenced by avfilter_graph_free().