libavfilter/vf_scale.c File Reference

scale video filter More...

#include "avfilter.h"
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"

Go to the source code of this file.

Data Structures

struct  ScaleContext


static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static av_cold void uninit (AVFilterContext *ctx)
static int query_formats (AVFilterContext *ctx)
static int config_props (AVFilterLink *outlink)
static void start_frame (AVFilterLink *link, AVFilterPicRef *picref)
static void draw_slice (AVFilterLink *link, int y, int h, int slice_dir)


AVFilter avfilter_vf_scale

Detailed Description

scale video filter

Definition in file vf_scale.c.

Function Documentation

static int config_props ( AVFilterLink outlink  )  [static]

Definition at line 100 of file vf_scale.c.

Referenced by avfilter_config_links().

static void draw_slice ( AVFilterLink link,
int  y,
int  h,
int  slice_dir 
) [static]

Definition at line 160 of file vf_scale.c.

static av_cold int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 45 of file vf_scale.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 70 of file vf_scale.c.

static void start_frame ( AVFilterLink link,
AVFilterPicRef picref 
) [static]

Definition at line 137 of file vf_scale.c.

static av_cold void uninit ( AVFilterContext ctx  )  [static]

Definition at line 63 of file vf_scale.c.

Variable Documentation

Initial value:

    .name      = "scale",
    .description = "Scale the input video to width:height size and/or convert the image format.",

    .init      = init,
    .uninit    = uninit,

    .query_formats = query_formats,

    .priv_size = sizeof(ScaleContext),

    .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .start_frame      = start_frame,
                                    .draw_slice       = draw_slice,
                                    .min_perms        = AV_PERM_READ, },
                                  { .name = NULL}},
    .outputs   = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .config_props     = config_props, },
                                  { .name = NULL}},

Definition at line 188 of file vf_scale.c.

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