libavfilter/vf_transpose.c File Reference

transposition filter Based on MPlayer libmpcodecs/vf_rotate.c. More...

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

Go to the source code of this file.

Data Structures

struct  TransContext


static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static int query_formats (AVFilterContext *ctx)
static int config_props_output (AVFilterLink *outlink)
static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static void end_frame (AVFilterLink *inlink)
static void null_draw_slice (AVFilterLink *link, int y, int h, int slice_dir)


AVFilter avfilter_vf_transpose

Detailed Description

transposition filter Based on MPlayer libmpcodecs/vf_rotate.c.

Definition in file vf_transpose.c.

Function Documentation

static int config_props_output ( AVFilterLink outlink  )  [static]

Definition at line 87 of file vf_transpose.c.

static void end_frame ( AVFilterLink inlink  )  [static]

Definition at line 132 of file vf_transpose.c.

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

Definition at line 44 of file vf_transpose.c.

static void null_draw_slice ( AVFilterLink link,
int  y,
int  h,
int  slice_dir 
) [static]

Definition at line 195 of file vf_transpose.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 60 of file vf_transpose.c.

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

Definition at line 114 of file vf_transpose.c.

Variable Documentation

Initial value:

    .name      = "transpose",
    .description = NULL_IF_CONFIG_SMALL("Transpose input video."),

    .init = init,
    .priv_size = sizeof(TransContext),

    .query_formats = query_formats,

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

Definition at line 197 of file vf_transpose.c.

Generated on Fri Oct 26 02:38:20 2012 for FFmpeg by  doxygen 1.5.8