FFmpeg
|
Audio merging filter. More...
#include "framequeue.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "audio.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | AMergeContext |
struct | AMergeContext::amerge_input |
Macros | |
#define | FF_INTERNAL_FIELDS 1 |
#define | SWR_CH_MAX 64 |
#define | OFFSET(x) offsetof(AMergeContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (amerge) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static void | copy_samples (int nb_inputs, struct amerge_input in[], int *route, uint8_t *ins[], uint8_t **outs, int ns, int bps) |
Copy samples from several input streams to one output stream. More... | |
static void | free_frames (int nb_inputs, AVFrame **input_frames) |
static int | try_push_frame (AVFilterContext *ctx, int nb_samples) |
static int | activate (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
Variables | |
static const AVOption | amerge_options [] |
static const AVFilterPad | amerge_outputs [] |
AVFilter | ff_af_amerge |
Audio merging filter.
Definition in file af_amerge.c.
#define FF_INTERNAL_FIELDS 1 |
Definition at line 26 of file af_amerge.c.
#define SWR_CH_MAX 64 |
Definition at line 38 of file af_amerge.c.
Referenced by conv_fltp_to_s16_nch_neon(), query_formats(), sane_layout(), swr_build_matrix(), swri_rematrix_init(), and try_push_frame().
#define OFFSET | ( | x | ) | offsetof(AMergeContext, x) |
Definition at line 50 of file af_amerge.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 51 of file af_amerge.c.
AVFILTER_DEFINE_CLASS | ( | amerge | ) |
|
static |
Definition at line 61 of file af_amerge.c.
|
static |
Definition at line 73 of file af_amerge.c.
|
static |
Definition at line 149 of file af_amerge.c.
|
inlinestatic |
Copy samples from several input streams to one output stream.
nb_inputs | number of inputs |
in | inputs; used only for the nb_ch field; |
route | routing values; input channel i goes to output channel route[i]; i < in[0].nb_ch are the channels from the first output; i >= in[0].nb_ch are the channels from the second output |
ins | pointer to the samples of each inputs, in packed format; will be left at the end of the copied samples |
outs | pointer to the samples of the output, in packet format; must point to a buffer big enough; will be left at the end of the copied samples |
ns | number of samples to copy |
bps | bytes per sample |
Definition at line 197 of file af_amerge.c.
Referenced by try_push_frame().
Definition at line 218 of file af_amerge.c.
Referenced by try_push_frame().
|
static |
Definition at line 225 of file af_amerge.c.
Referenced by activate().
|
static |
Definition at line 280 of file af_amerge.c.
|
static |
Definition at line 315 of file af_amerge.c.
|
static |
Definition at line 53 of file af_amerge.c.
|
static |
Definition at line 339 of file af_amerge.c.
AVFilter ff_af_amerge |
Definition at line 348 of file af_amerge.c.