summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:08:49 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:08:49 +0000
commitf2ee8083c8fcc866c883194ab11751d55347aea5 (patch)
treed8583b6c569b3dcf6ef9655fe19fe0bb30f8278f /libavfilter/avfiltergraph.h
parent7264695fe1f155aacbcf4a10b1c3498497321907 (diff)
Remove avfilter_vf_graph
Commited in SoC by Vitor Sessak on 2008-03-24 20:13:01 Originally committed as revision 12734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r--libavfilter/avfiltergraph.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 31ebe347ac..4e3497e369 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -66,7 +66,10 @@ typedef struct
AVFilterGraphDescExport *outputs; ///< outputs to export
} AVFilterGraphDesc;
-extern AVFilter avfilter_vf_graph;
+typedef struct AVFilterGraph {
+ unsigned filter_count;
+ AVFilterContext **filters;
+} GraphContext;
/**
* Parse a graph composed of a simple chain of filters which is described by
@@ -87,20 +90,20 @@ void avfilter_graph_free_desc(AVFilterGraphDesc *desc);
* @param graph The filter graph
* @param filter The filter to be added
*/
-void avfilter_graph_add_filter(AVFilterContext *graphctx, AVFilterContext *filter);
+void avfilter_graph_add_filter(GraphContext *graphctx, AVFilterContext *filter);
/**
* Configure the formats of all the links in the graph.
*/
-int avfilter_graph_config_formats(AVFilterContext *graphctx);
+int avfilter_graph_config_formats(GraphContext *graphctx);
/**
* Configure the parameters (resolution, etc) of all links in the graph.
*/
-int avfilter_graph_config_links(AVFilterContext *graphctx);
+int avfilter_graph_config_links(GraphContext *graphctx);
-int graph_load_from_desc3(AVFilterContext *ctx, AVFilterGraphDesc *desc,
+int graph_load_from_desc3(GraphContext *ctx, AVFilterGraphDesc *desc,
AVFilterContext *in, int inpad,
AVFilterContext *out, int outpad);