FFmpeg
|
split.c File Reference
audio and video splitter More...
#include <stdio.h>
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "internal.h"
#include "video.h"
Include dependency graph for split.c:
Go to the source code of this file.
Data Structures | |
struct | SplitContext |
Macros | |
#define | OFFSET(x) offsetof(SplitContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
#define | split_options options |
#define | asplit_options options |
Typedefs | |
typedef struct SplitContext | SplitContext |
Functions | |
static int | split_init (AVFilterContext *ctx) |
static void | split_uninit (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
AVFILTER_DEFINE_CLASS (split) | |
AVFILTER_DEFINE_CLASS (asplit) | |
Variables | |
static const AVOption | options [] |
static const AVFilterPad | avfilter_vf_split_inputs [] |
AVFilter | avfilter_vf_split |
static const AVFilterPad | avfilter_af_asplit_inputs [] |
AVFilter | avfilter_af_asplit |
Detailed Description
audio and video splitter
Definition in file split.c.
Macro Definition Documentation
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
#define OFFSET | ( | x | ) | offsetof(SplitContext, x) |
Typedef Documentation
typedef struct SplitContext SplitContext |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | split | ) |
AVFILTER_DEFINE_CLASS | ( | asplit | ) |
|
static |
|
static |
|
static |
Variable Documentation
AVFilter avfilter_af_asplit |
Initial value:
= {
.name = "asplit",
.description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),
.priv_size = sizeof(SplitContext),
.priv_class = &asplit_class,
.init = split_init,
.uninit = split_uninit,
}
struct SplitContext SplitContext
#define AVFILTER_FLAG_DYNAMIC_OUTPUTS
The number of the filter outputs is not determined just by AVFilter.outputs.
Definition: avfilter.h:430
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static const AVFilterPad avfilter_af_asplit_inputs[]
Definition: split.c:132
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:216
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.get_audio_buffer = ff_null_get_audio_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}
Definition: avutil.h:144
AVFrame * ff_null_get_audio_buffer(AVFilterLink *link, int nb_samples)
get_audio_buffer() handler for filters which simply pass audio along
Definition: audio.c:36
AVFilter avfilter_vf_split |
Initial value:
= {
.name = "split",
.description = NULL_IF_CONFIG_SMALL("Pass on the input video to N outputs."),
.priv_size = sizeof(SplitContext),
.priv_class = &split_class,
.init = split_init,
.uninit = split_uninit,
}
struct SplitContext SplitContext
#define AVFILTER_FLAG_DYNAMIC_OUTPUTS
The number of the filter outputs is not determined just by AVFilter.outputs.
Definition: avfilter.h:430
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:216
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
Definition: video.c:35
Definition: avutil.h:143
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11