FFmpeg
4.0
|
#include <math.h>
#include "libavutil/audio_fifo.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/intmath.h"
#include "libavutil/opt.h"
#include "libavcodec/avfft.h"
#include "avfilter.h"
#include "internal.h"
#include "audio.h"
Go to the source code of this file.
Data Structures | |
struct | HeadphoneContext |
struct | HeadphoneContext::headphone_inputs |
struct | ThreadData |
Macros | |
#define | TIME_DOMAIN 0 |
#define | FREQUENCY_DOMAIN 1 |
#define | HRIR_STEREO 0 |
#define | HRIR_MULTI 1 |
#define | OFFSET(x) offsetof(HeadphoneContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | parse_channel_name (HeadphoneContext *s, int x, char **arg, int *rchannel, char *buf) |
static void | parse_map (AVFilterContext *ctx) |
static int | headphone_convolute (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | headphone_fast_convolute (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | read_ir (AVFilterLink *inlink, AVFrame *frame) |
static int | headphone_frame (HeadphoneContext *s, AVFilterLink *outlink, int max_nb_samples) |
static int | convert_coeffs (AVFilterContext *ctx, AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static av_cold int | init (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (headphone) | |
Variables | |
static const AVOption | headphone_options [] |
static const AVFilterPad | outputs [] |
AVFilter | ff_af_headphone |
#define TIME_DOMAIN 0 |
Definition at line 35 of file af_headphone.c.
Referenced by convert_coeffs(), and headphone_frame().
#define FREQUENCY_DOMAIN 1 |
Definition at line 36 of file af_headphone.c.
Referenced by convert_coeffs().
#define HRIR_STEREO 0 |
Definition at line 38 of file af_headphone.c.
Referenced by convert_coeffs().
#define HRIR_MULTI 1 |
Definition at line 39 of file af_headphone.c.
Referenced by config_output(), parse_map(), and query_formats().
#define OFFSET | ( | x | ) | offsetof(HeadphoneContext, x) |
Definition at line 879 of file af_headphone.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 880 of file af_headphone.c.
|
static |
Definition at line 91 of file af_headphone.c.
Referenced by parse_map().
|
static |
Definition at line 115 of file af_headphone.c.
Referenced by init().
|
static |
Definition at line 164 of file af_headphone.c.
Referenced by headphone_frame().
|
static |
Definition at line 237 of file af_headphone.c.
Referenced by headphone_frame().
|
static |
Definition at line 331 of file af_headphone.c.
Referenced by init().
|
static |
Definition at line 360 of file af_headphone.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 398 of file af_headphone.c.
Referenced by filter_frame().
|
static |
Definition at line 627 of file af_headphone.c.
Referenced by init().
|
static |
Definition at line 661 of file af_headphone.c.
|
static |
Definition at line 714 of file af_headphone.c.
Referenced by init().
|
static |
Definition at line 727 of file af_headphone.c.
|
static |
Definition at line 775 of file af_headphone.c.
|
static |
Definition at line 801 of file af_headphone.c.
|
static |
Definition at line 847 of file af_headphone.c.
AVFILTER_DEFINE_CLASS | ( | headphone | ) |
|
static |
Definition at line 882 of file af_headphone.c.
|
static |
Definition at line 898 of file af_headphone.c.
AVFilter ff_af_headphone |
Definition at line 908 of file af_headphone.c.