libavfilter/vf_aspect.c File Reference

aspect ratio modification video filter More...

#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  AspectContext

Functions

static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static void start_frame (AVFilterLink *link, AVFilterPicRef *picref)
static int frameaspect_config_props (AVFilterLink *inlink)

Variables

AVFilter avfilter_vf_aspect
AVFilter avfilter_vf_pixelaspect


Detailed Description

aspect ratio modification video filter

Definition in file vf_aspect.c.


Function Documentation

static int frameaspect_config_props ( AVFilterLink inlink  )  [static]

Definition at line 69 of file vf_aspect.c.

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

Definition at line 33 of file vf_aspect.c.

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

Definition at line 59 of file vf_aspect.c.


Variable Documentation

Initial value:

 {
    .name      = "aspect",
    .description = NULL_IF_CONFIG_SMALL("Set the frame aspect ratio."),

    .init      = init,

    .priv_size = sizeof(AspectContext),

    .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .config_props     = frameaspect_config_props,
                                    .get_video_buffer = avfilter_null_get_video_buffer,
                                    .start_frame      = start_frame,
                                    .end_frame        = avfilter_null_end_frame },
                                  { .name = NULL}},

    .outputs   = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO, },
                                  { .name = NULL}},
}

Definition at line 80 of file vf_aspect.c.

Initial value:

 {
    .name      = "pixelaspect",
    .description = NULL_IF_CONFIG_SMALL("Set the pixel aspect ratio."),

    .init      = init,

    .priv_size = sizeof(AspectContext),

    .inputs    = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer = avfilter_null_get_video_buffer,
                                    .start_frame      = start_frame,
                                    .end_frame        = avfilter_null_end_frame },
                                  { .name = NULL}},

    .outputs   = (AVFilterPad[]) {{ .name             = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO, },
                                  { .name = NULL}},
}

Definition at line 103 of file vf_aspect.c.


Generated on Tue Apr 20 17:39:48 2010 for FFmpeg by  doxygen 1.5.6