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

Functions

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

Variables

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 69 of file vf_hflip.c.

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

Definition at line 81 of file vf_hflip.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 37 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,
                                    .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 145 of file vf_hflip.c.


Generated on Fri Oct 26 02:46:12 2012 for FFmpeg by  doxygen 1.5.8