libavfilter/vf_swapuv.c File Reference

swap UV filter More...

#include "avfilter.h"

Go to the source code of this file.

Functions

static AVFilterBufferRefget_video_buffer (AVFilterLink *link, int perms, int w, int h)
static void start_frame (AVFilterLink *link, AVFilterBufferRef *inpicref)
static int query_formats (AVFilterContext *ctx)

Variables

AVFilter avfilter_vf_swapuv


Detailed Description

swap UV filter

Definition in file vf_swapuv.c.


Function Documentation

static AVFilterBufferRef* get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
) [static]

Definition at line 28 of file vf_swapuv.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 60 of file vf_swapuv.c.

static void start_frame ( AVFilterLink link,
AVFilterBufferRef inpicref 
) [static]

Definition at line 47 of file vf_swapuv.c.


Variable Documentation

Initial value:

 {
    .name      = "swapuv",
    .description = NULL_IF_CONFIG_SMALL("Swap U and V components."),
    .priv_size = 0,
    .query_formats = query_formats,

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

Definition at line 75 of file vf_swapuv.c.


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