libavfilter/vf_transpose.c File Reference

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

#include <stdio.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  TransContext


static av_cold int init (AVFilterContext *ctx, const char *args)
static int query_formats (AVFilterContext *ctx)
static int config_props_output (AVFilterLink *outlink)
static AVFilterBufferRefget_video_buffer (AVFilterLink *inlink, int perms, int w, int h)
static int start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static int end_frame (AVFilterLink *inlink)
static int draw_slice (AVFilterLink *inlink, 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 94 of file vf_transpose.c.

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

Definition at line 237 of file vf_transpose.c.

static int end_frame ( AVFilterLink inlink  )  [static]

Definition at line 171 of file vf_transpose.c.

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

Definition at line 133 of file vf_transpose.c.

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

Definition at line 51 of file vf_transpose.c.

static int query_formats ( AVFilterContext ctx  )  [static]

Definition at line 67 of file vf_transpose.c.

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

Definition at line 142 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    = (const AVFilterPad[]) {{ .name            = "default",
                                          .type            = AVMEDIA_TYPE_VIDEO,
                                          .get_video_buffer= get_video_buffer,
                                          .start_frame     = start_frame,
                                          .draw_slice      = draw_slice,
                                          .end_frame       = end_frame,
                                          .min_perms       = AV_PERM_READ, },
                                        { .name = NULL}},
    .outputs   = (const AVFilterPad[]) {{ .name            = "default",
                                          .config_props    = config_props_output,
                                          .type            = AVMEDIA_TYPE_VIDEO, },
                                        { .name = NULL}},

Definition at line 244 of file vf_transpose.c.

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