libavfilter/vf_slicify.c File Reference

video slicing filter More...

#include "avfilter.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, void *opaque)
static int config_props (AVFilterLink *link)
static void start_frame (AVFilterLink *link, AVFilterBufferRef *picref)
static void draw_slice (AVFilterLink *link, int y, int h, int slice_dir)


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 51 of file vf_slicify.c.

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

Definition at line 78 of file vf_slicify.c.

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

Definition at line 36 of file vf_slicify.c.

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

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

Definition at line 98 of file vf_slicify.c.

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