libavfilter/vf_hflip.c File Reference

horizontal flip filter More...

#include "avfilter.h"
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"

Go to the source code of this file.

Data Structures

struct  FlipContext


static int query_formats (AVFilterContext *ctx)
static int config_props (AVFilterLink *inlink)
static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static void draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)


AVFilter avfilter_vf_hflip

Detailed Description

horizontal flip filter

Definition in file vf_hflip.c.

Function Documentation

static int config_props ( AVFilterLink inlink  )  [static]

Definition at line 71 of file vf_hflip.c.

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

Definition at line 98 of file vf_hflip.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 37 of file vf_hflip.c.

static void start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
) [static]

Definition at line 83 of file vf_hflip.c.

Variable Documentation

Initial value:

    .name      = "hflip",
    .description = NULL_IF_CONFIG_SMALL("Horizontally flip the input video."),
    .priv_size = sizeof(FlipContext),
    .query_formats = query_formats,

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

Definition at line 162 of file vf_hflip.c.

Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8