diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:59 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:59 +0000 |
commit | 13a75d5a76a94e7c9c05cfd435b2a1a2e3a5902c (patch) | |
tree | 0d35cd091031d706add57b0c0b662c4b0acf4770 /libavfilter | |
parent | dcea24825f4f8f08ececd5c08dcf0e916ed52eff (diff) | |
download | ffmpeg-streaming-13a75d5a76a94e7c9c05cfd435b2a1a2e3a5902c.zip ffmpeg-streaming-13a75d5a76a94e7c9c05cfd435b2a1a2e3a5902c.tar.gz |
Add a simple filter graph structure and functions
Commited in SoC by Bobby Bingham on 2007-07-14 20:12:54
Originally committed as revision 12085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 675da11..1f1045d 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -225,4 +225,24 @@ void avfilter_destroy(AVFilterContext *filter); int *avfilter_make_format_list(int len, ...); +typedef struct AVFilterGraph AVFilterGraph; + +/** + * Create a new filter graph + */ +AVFilterGraph *avfilter_create_graph(void); + +/** + * Destroy a filter graph, and any filters in it. + * @param graph The filter graph to destroy + */ +void avfilter_destroy_graph(AVFilterGraph *graph); + +/** + * Add an existing filter instance to a filter graph. + * @param graph The filter graph + * @param filter The filter to be added + */ +void avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter); + #endif /* FFMPEG_AVFILTER_H */ |