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)
 Gets a filter instance with name name from graph.
int avfilter_graph_add_filter (AVFilterGraph *graphctx, AVFilterContext *filter)
 Adds an existing filter instance to a filter graph.
int avfilter_graph_check_validity (AVFilterGraph *graphctx, AVClass *log_ctx)
 Checks for the validity of graph.
int avfilter_graph_config_links (AVFilterGraph *graphctx, AVClass *log_ctx)
 Configures all the links of graphctx.
int avfilter_graph_config_formats (AVFilterGraph *graphctx, AVClass *log_ctx)
 Configures the formats of all the links in the graph.
void avfilter_graph_destroy (AVFilterGraph *graph)
 Frees a graph and destroys its links.


Function Documentation

int avfilter_graph_add_filter ( AVFilterGraph graphctx,
AVFilterContext filter 
)

Adds 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(), query_formats(), and video_thread().

int avfilter_graph_check_validity ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Checks 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.

Referenced by main(), and video_thread().

int avfilter_graph_config_formats ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Configures the formats of all the links in the graph.

Definition at line 193 of file avfiltergraph.c.

Referenced by main(), and video_thread().

int avfilter_graph_config_links ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Configures all the links of graphctx.

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

Definition at line 80 of file avfiltergraph.c.

Referenced by main(), and video_thread().

void avfilter_graph_destroy ( AVFilterGraph graph  ) 

Frees a graph and destroys its links.

Definition at line 29 of file avfiltergraph.c.

Referenced by avfilter_graph_parse(), and video_thread().

AVFilterContext* avfilter_graph_get_filter ( AVFilterGraph graph,
char *  name 
)

Gets a filter instance with name name from graph.

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

Definition at line 97 of file avfiltergraph.c.


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8