libavfilter/defaults.c File Reference

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

Go to the source code of this file.

Defines

#define ALIGN(a)

Functions

void avfilter_default_free_video_buffer (AVFilterPic *pic)
AVFilterPicRefavfilter_default_get_video_buffer (AVFilterLink *link, int perms)
 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)
 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().


Define Documentation

#define ALIGN (  ) 

Value:

do{ \
                     (a) = ((a) + 15) & (~15); \
                 } while(0);

Definition at line 32 of file defaults.c.


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 118 of file defaults.c.

Referenced by avfilter_config_links().

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

default handler for draw_slice() for video inputs

Definition at line 85 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 96 of file defaults.c.

Referenced by avfilter_end_frame().

void avfilter_default_free_video_buffer ( AVFilterPic pic  ) 

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 
)

default handler for get_video_buffer() for video inputs

Definition at line 39 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 164 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 71 of file defaults.c.

Referenced by avfilter_start_frame().

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 140 of file defaults.c.

Referenced by avfilter_default_query_formats().


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8