libavfilter/defaults.c File Reference

#include "libavcodec/imgconvert.h"
#include "avfilter.h"

Go to the source code of this file.

Functions

static void avfilter_default_free_video_buffer (AVFilterPic *pic)
AVFilterPicRefavfilter_default_get_video_buffer (AVFilterLink *link, int perms, int w, int h)
 default handler for get_video_buffer() for video inputs
void avfilter_default_start_frame (AVFilterLink *link, AVFilterPicRef *picref)
 default handler for start_frame() for video inputs
void avfilter_default_draw_slice (AVFilterLink *link, int y, int h, int slice_dir)
 default handler for draw_slice() for video inputs
void avfilter_default_end_frame (AVFilterLink *link)
 default handler for end_frame() for video inputs
int avfilter_default_config_output_link (AVFilterLink *link)
 default config_link() implementation for output video links to simplify the implementation of one input one output video filters
void avfilter_set_common_formats (AVFilterContext *ctx, AVFilterFormats *formats)
 A helper for query_formats() which sets all links to the same list of formats.
int avfilter_default_query_formats (AVFilterContext *ctx)
 Default handler for query_formats().
void avfilter_null_start_frame (AVFilterLink *link, AVFilterPicRef *picref)
 start_frame() handler for filters which simply pass video along
void avfilter_null_draw_slice (AVFilterLink *link, int y, int h, int slice_dir)
 draw_slice() handler for filters which simply pass video along
void avfilter_null_end_frame (AVFilterLink *link)
 end_frame() handler for filters which simply pass video along
AVFilterPicRefavfilter_null_get_video_buffer (AVFilterLink *link, int perms, int w, int h)
 get_video_buffer() handler for filters which simply pass video along


Function Documentation

int avfilter_default_config_output_link ( AVFilterLink link  ) 

default config_link() implementation for output video links to simplify the implementation of one input one output video filters

default handler for config_props() for video outputs

Definition at line 116 of file defaults.c.

Referenced by avfilter_config_links().

void avfilter_default_draw_slice ( AVFilterLink link,
int  y,
int  h,
int  slice_dir 
)

default handler for draw_slice() for video inputs

Definition at line 83 of file defaults.c.

Referenced by avfilter_draw_slice().

void avfilter_default_end_frame ( AVFilterLink link  ) 

default handler for end_frame() for video inputs

Definition at line 94 of file defaults.c.

Referenced by avfilter_end_frame().

static void avfilter_default_free_video_buffer ( AVFilterPic pic  )  [static]

Definition at line 26 of file defaults.c.

Referenced by avfilter_default_get_video_buffer().

AVFilterPicRef* avfilter_default_get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
)

default handler for get_video_buffer() for video inputs

Definition at line 35 of file defaults.c.

Referenced by avfilter_get_video_buffer(), and avfilter_start_frame().

int avfilter_default_query_formats ( AVFilterContext ctx  ) 

Default handler for query_formats().

Definition at line 162 of file defaults.c.

Referenced by query_formats().

void avfilter_default_start_frame ( AVFilterLink link,
AVFilterPicRef picref 
)

default handler for start_frame() for video inputs

Definition at line 67 of file defaults.c.

Referenced by avfilter_start_frame().

void avfilter_null_draw_slice ( AVFilterLink link,
int  y,
int  h,
int  slice_dir 
)

draw_slice() handler for filters which simply pass video along

Definition at line 173 of file defaults.c.

void avfilter_null_end_frame ( AVFilterLink link  ) 

end_frame() handler for filters which simply pass video along

Definition at line 178 of file defaults.c.

AVFilterPicRef* avfilter_null_get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
)

get_video_buffer() handler for filters which simply pass video along

Definition at line 183 of file defaults.c.

void avfilter_null_start_frame ( AVFilterLink link,
AVFilterPicRef picref 
)

start_frame() handler for filters which simply pass video along

Definition at line 168 of file defaults.c.

void avfilter_set_common_formats ( AVFilterContext ctx,
AVFilterFormats formats 
)

A helper for query_formats() which sets all links to the same list of formats.

If there are no links hooked to this filter, the list of formats is freed.

FIXME: this will need changed for filters with a mix of pad types (video + audio, etc)

Definition at line 138 of file defaults.c.

Referenced by avfilter_default_query_formats(), and query_formats().


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8