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)


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 82 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 63 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    = (const AVFilterPad[]) {{ .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, },
                                        { .name = NULL}},
    .outputs   = (const AVFilterPad[]) {{ .name            = "default",
                                          .type            = AVMEDIA_TYPE_VIDEO, },
                                        { .name = NULL}},

Definition at line 109 of file vf_slicify.c.

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