From 901e6b39b07c13ddabc22cfcf1a5958fec9e1146 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 22:13:24 +0000 Subject: [PATCH] Move default entry point implementations to their own file. Make them externally visible because they may be useful for filters to use. Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05 Originally committed as revision 12091 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index d306e84dde..013e63dece 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -152,9 +152,13 @@ struct AVFilterPad int (*config_props)(AVFilterLink *link); }; -/* the default implementations of start_frame() and end_frame() */ +/* the default implementations of filter entry points */ 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_query_output_formats(AVFilterLink *link); +AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, + int perms); typedef struct {