diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:28 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:28 +0000 |
commit | 85322466efacc40158b0a27daeded52c40d48c94 (patch) | |
tree | d941df98a32b0a69111fa04de3659ee5b3334693 /libavfilter | |
parent | 901e6b39b07c13ddabc22cfcf1a5958fec9e1146 (diff) | |
download | ffmpeg-85322466efacc40158b0a27daeded52c40d48c94.tar.gz |
Separate the process of creating links between filters from that of configuring
the links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 013e63dece..180b0d6dec 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -156,6 +156,7 @@ struct AVFilterPad void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref); void avfilter_default_end_frame(AVFilterLink *link); int avfilter_default_config_output_link(AVFilterLink *link); +int avfilter_default_config_input_link (AVFilterLink *link); int *avfilter_default_query_output_formats(AVFilterLink *link); AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms); @@ -218,6 +219,9 @@ struct AVFilterLink int avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad); +/** Configure the colorspace, dimensions, etc of a link */ +int avfilter_config_link(AVFilterLink *link); + AVFilterPicRef *avfilter_get_video_buffer(AVFilterLink *link, int perms); void avfilter_request_frame(AVFilterLink *link); void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref); |