libavfilter/vf_slicify.c File Reference

video slicing filter More...

#include "avfilter.h"
#include "internal.h"
#include "video.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"

Go to the source code of this file.

Data Structures

struct  SliceContext


static av_cold int init (AVFilterContext *ctx, const char *args)
static int config_props (AVFilterLink *link)
static int start_frame (AVFilterLink *link, AVFilterBufferRef *picref)
static int draw_slice (AVFilterLink *link, int y, int h, int slice_dir)


static const AVFilterPad avfilter_vf_slicify_inputs []
static const AVFilterPad avfilter_vf_slicify_outputs []
AVFilter avfilter_vf_slicify

Detailed Description

video slicing filter

Definition in file vf_slicify.c.

Function Documentation

static int config_props ( AVFilterLink link  )  [static]

Definition at line 54 of file vf_slicify.c.

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

Definition at line 83 of file vf_slicify.c.

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

Definition at line 39 of file vf_slicify.c.

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

Definition at line 64 of file vf_slicify.c.

Variable Documentation

Initial value:

    .name      = "slicify",
    .description = NULL_IF_CONFIG_SMALL("Pass the images of input video on to next video filter as multiple slices."),

    .init      = init,

    .priv_size = sizeof(SliceContext),

    .inputs    = avfilter_vf_slicify_inputs,
    .outputs   = avfilter_vf_slicify_outputs,

Definition at line 131 of file vf_slicify.c.

Initial value:

        .name             = "default",
        .type             = AVMEDIA_TYPE_VIDEO,
        .get_video_buffer = ff_null_get_video_buffer,
        .start_frame      = start_frame,
        .draw_slice       = draw_slice,
        .config_props     = config_props,
        .end_frame        = ff_null_end_frame,
    { NULL }

Definition at line 110 of file vf_slicify.c.

Initial value:

        .name = "default",
        .type = AVMEDIA_TYPE_VIDEO,
    { NULL }

Definition at line 123 of file vf_slicify.c.

Generated on Wed Nov 28 19:21:38 2012 for FFmpeg by  doxygen 1.5.8