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
This commit is contained in:
Vitor Sessak 2008-02-15 22:13:28 +00:00
parent 901e6b39b0
commit 85322466ef
1 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,7 @@ struct AVFilterPad
void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref); void avfilter_default_start_frame(AVFilterLink *link, AVFilterPicRef *picref);
void avfilter_default_end_frame(AVFilterLink *link); void avfilter_default_end_frame(AVFilterLink *link);
int avfilter_default_config_output_link(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); int *avfilter_default_query_output_formats(AVFilterLink *link);
AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link,
int perms); int perms);
@ -218,6 +219,9 @@ struct AVFilterLink
int avfilter_link(AVFilterContext *src, unsigned srcpad, int avfilter_link(AVFilterContext *src, unsigned srcpad,
AVFilterContext *dst, unsigned dstpad); 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); AVFilterPicRef *avfilter_get_video_buffer(AVFilterLink *link, int perms);
void avfilter_request_frame(AVFilterLink *link); void avfilter_request_frame(AVFilterLink *link);
void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref); void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref);