FFmpeg
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/cpu.h"
#include "libavutil/mem.h"
#include "libavutil/tx.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/frame.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/rational.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "af_afirdsp.h"
#include "afir_template.c"
Go to the source code of this file.
Data Structures | |
struct | AudioFIRSegment |
struct | AudioFIRContext |
Macros | |
#define | MAX_IR_STREAMS 32 |
#define | DEPTH 32 |
#define | DEPTH 64 |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | AFR AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
#define | VF AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | OFFSET(x) offsetof(AudioFIRContext, x) |
Functions | |
static int | fir_channel (AVFilterContext *ctx, AVFrame *out, int ch) |
static int | fir_channels (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | fir_frame (AudioFIRContext *s, AVFrame *in, AVFilterLink *outlink) |
static int | init_segment (AVFilterContext *ctx, AudioFIRSegment *seg, int selir, int offset, int nb_partitions, int part_size, int index) |
static void | uninit_segment (AVFilterContext *ctx, AudioFIRSegment *seg) |
static int | convert_coeffs (AVFilterContext *ctx, int selir) |
static int | check_ir (AVFilterLink *link, int selir) |
static int | activate (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags) |
AVFILTER_DEFINE_CLASS (afir) | |
Variables | |
static const AVOption | afir_options [] |
static const AVFilterPad | outputs [] |
const AVFilter | ff_af_afir |
An arbitrary audio FIR filter
Definition in file af_afir.c.
#define OFFSET | ( | x | ) | offsetof(AudioFIRContext, x) |
|
static |
Definition at line 132 of file af_afir.c.
Referenced by fir_channels().
|
static |
Definition at line 156 of file af_afir.c.
Referenced by fir_frame().
|
static |
Definition at line 168 of file af_afir.c.
Referenced by activate().
|
static |
Definition at line 192 of file af_afir.c.
Referenced by convert_coeffs().
|
static |
|
static |
Definition at line 307 of file af_afir.c.
Referenced by activate().
|
static |
Definition at line 456 of file af_afir.c.
Referenced by activate().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
AVFILTER_DEFINE_CLASS | ( | afir | ) |
|
static |
const AVFilter ff_af_afir |