libavfilter/split.c File Reference

audio and video splitter More...

#include <stdio.h>
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "avfilter.h"
#include "audio.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.


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


AVFilter avfilter_vf_split
AVFilter avfilter_af_asplit

Detailed Description

audio and video splitter

Definition in file split.c.

Function Documentation

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

Definition at line 92 of file split.c.

static int end_frame ( AVFilterLink inlink  )  [static]

Definition at line 107 of file split.c.

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

Definition at line 139 of file split.c.

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

Definition at line 35 of file split.c.

static void split_uninit ( AVFilterContext ctx  )  [static]

Definition at line 63 of file split.c.

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

Definition at line 71 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 = NULL,

Definition at line 160 of file split.c.

Initial value:

    .name      = "split",
    .description = NULL_IF_CONFIG_SMALL("Pass on the input video to N 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   = NULL,

Definition at line 122 of file split.c.

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