libavfilter/split.c File Reference

audio and video splitter More...

#include "avfilter.h"
#include "audio.h"
#include "video.h"

Go to the source code of this file.

Functions

static int split_init (AVFilterContext *ctx, const char *args, void *opaque)
static void split_uninit (AVFilterContext *ctx)
static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static void draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
static void end_frame (AVFilterLink *inlink)
static void filter_samples (AVFilterLink *inlink, AVFilterBufferRef *samplesref)

Variables

AVFilter avfilter_vf_split
AVFilter avfilter_af_asplit


Detailed Description

audio and video splitter

Definition in file split.c.


Function Documentation

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

Definition at line 75 of file split.c.

Referenced by avfilter_draw_slice().

static void end_frame ( AVFilterLink inlink  )  [static]

Definition at line 84 of file split.c.

static void filter_samples ( AVFilterLink inlink,
AVFilterBufferRef samplesref 
) [static]

Definition at line 112 of file split.c.

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

Definition at line 30 of file split.c.

static void split_uninit ( AVFilterContext ctx  )  [static]

Definition at line 57 of file split.c.

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

Definition at line 65 of file split.c.


Variable Documentation

Initial value:

 {
    .name        = "asplit",
    .description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),

    .init   = split_init,
    .uninit = split_uninit,

    .inputs  = (const AVFilterPad[]) {{ .name             = "default",
                                        .type             = AVMEDIA_TYPE_AUDIO,
                                        .get_audio_buffer = ff_null_get_audio_buffer,
                                        .filter_samples   = filter_samples },
                                      { .name = NULL }},
    .outputs = (const AVFilterPad[]) {{ .name = NULL }},
}

Definition at line 122 of file split.c.

Initial value:

 {
    .name      = "split",
    .description = NULL_IF_CONFIG_SMALL("Pass on the input to two outputs."),

    .init   = split_init,
    .uninit = split_uninit,

    .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,
                                    .end_frame       = end_frame, },
                                  { .name = NULL}},
    .outputs   = (AVFilterPad[]) {{ .name = NULL}},
}

Definition at line 95 of file split.c.


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