libavfilter/vf_hflip.c File Reference

horizontal flip filter More...

#include <string.h>
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/pixdesc.h"
#include "libavutil/internal.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 int start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static int 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 77 of file vf_hflip.c.

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

Definition at line 104 of file vf_hflip.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 43 of file vf_hflip.c.

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

Definition at line 89 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 168 of file vf_hflip.c.


Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8