libavfilter/avfiltergraph.h File Reference

#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  AVFilterGraph

Functions

AVFilterContextavfilter_graph_get_filter (AVFilterGraph *graph, char *name)
 Get from graph a filter instance with name name.
int avfilter_graph_add_filter (AVFilterGraph *graphctx, AVFilterContext *filter)
 Add an existing filter instance to a filter graph.
int avfilter_graph_check_validity (AVFilterGraph *graphctx, AVClass *log_ctx)
 Check for the validity of graph.
int avfilter_graph_config_formats (AVFilterGraph *graphctx)
 Configure the formats of all the links in the graph.
void avfilter_graph_destroy (AVFilterGraph *graph)
 Free a graph and destroy its links.


Function Documentation

int avfilter_graph_add_filter ( AVFilterGraph graphctx,
AVFilterContext filter 
)

Add an existing filter instance to a filter graph.

Parameters:
graph The filter graph
filter The filter to be added

Definition at line 37 of file avfiltergraph.c.

Referenced by create_filter(), and query_formats().

int avfilter_graph_check_validity ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Check for the validity of graph.

A graph is considered valid if all its input and output pads are connected.

Returns:
0 in case of success, a negative value otherwise

Definition at line 50 of file avfiltergraph.c.

int avfilter_graph_config_formats ( AVFilterGraph graphctx  ) 

Configure the formats of all the links in the graph.

Definition at line 172 of file avfiltergraph.c.

void avfilter_graph_destroy ( AVFilterGraph graph  ) 

Free a graph and destroy its links.

Definition at line 29 of file avfiltergraph.c.

Referenced by avfilter_graph_parse().

AVFilterContext* avfilter_graph_get_filter ( AVFilterGraph graph,
char *  name 
)

Get from graph a filter instance with name name.

Returns:
the pointer to the found filter instance or NULL if it cannot be found.

Definition at line 80 of file avfiltergraph.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8