libavfilter/vf_slicify.c File Reference

video slicing filter More...

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

Go to the source code of this file.

Data Structures

struct  SliceContext

Functions

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)

Variables

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

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

Definition at line 79 of file vf_slicify.c.

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

Definition at line 37 of file vf_slicify.c.

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

Definition at line 61 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 99 of file vf_slicify.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8