FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "libavcodec/avfft.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "internal.h"
#include "formats.h"
#include "window_func.h"
Go to the source code of this file.
Data Structures | |
struct | AudioSurroundContext |
Macros | |
#define | OFFSET(x) offsetof(AudioSurroundContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static void | stereo_transform (float *x, float *y, float angle) |
static void | stereo_position (float a, float p, float *x, float *y) |
static void | get_lfe (int output_lfe, int n, float lowcut, float highcut, float *lfe_mag, float *mag_total, int lfe_mode) |
static void | upmix_1_0 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_stereo (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_2_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_3_0 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_3_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_3_1_surround (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float c_mag, float mag_total, float x, float y, int n) |
static void | upmix_4_0 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_4_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_5_0_back (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_5_1_back (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_6_0 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_6_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_5_1_back_surround (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float c_mag, float mag_total, float x, float y, int n) |
static void | upmix_5_1_back_2_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float lfe_re, float lfe_im, float x, float y, int n) |
static void | upmix_7_0 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_7_1 (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n) |
static void | upmix_7_1_5_0_side (AVFilterContext *ctx, float c_re, float c_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n) |
static void | upmix_7_1_5_1 (AVFilterContext *ctx, float c_re, float c_im, float lfe_re, float lfe_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n) |
static void | filter_stereo (AVFilterContext *ctx) |
static void | filter_surround (AVFilterContext *ctx) |
static void | filter_2_1 (AVFilterContext *ctx) |
static void | filter_5_0_side (AVFilterContext *ctx) |
static void | filter_5_1_side (AVFilterContext *ctx) |
static void | filter_5_1_back (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static int | fft_channel (AVFilterContext *ctx, void *arg, int ch, int nb_jobs) |
static int | ifft_channel (AVFilterContext *ctx, void *arg, int ch, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (surround) | |
Variables | |
static const AVOption | surround_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
const AVFilter | ff_af_surround |
#define OFFSET | ( | x | ) | offsetof(AudioSurroundContext, x) |
Definition at line 1687 of file af_surround.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 1688 of file af_surround.c.
|
static |
Definition at line 159 of file af_surround.c.
|
static |
Definition at line 194 of file af_surround.c.
|
static |
Definition at line 257 of file af_surround.c.
|
static |
Definition at line 314 of file af_surround.c.
Referenced by filter_2_1(), filter_stereo(), and filter_surround().
|
static |
Definition at line 334 of file af_surround.c.
Referenced by filter_2_1(), filter_5_0_side(), filter_5_1_back(), filter_5_1_side(), filter_stereo(), and filter_surround().
|
inlinestatic |
Definition at line 342 of file af_surround.c.
Referenced by upmix_2_1(), upmix_3_1(), upmix_3_1_surround(), upmix_4_1(), upmix_5_1_back(), upmix_5_1_back_surround(), upmix_6_1(), upmix_7_1(), and upmix_7_1_5_0_side().
|
static |
Definition at line 355 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 374 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 398 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 428 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 457 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 492 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 527 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 561 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 601 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 640 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 685 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 729 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 779 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 825 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 871 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 921 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 977 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1037 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1093 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1126 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1162 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1197 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1254 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1313 of file af_surround.c.
Referenced by init().
|
static |
Definition at line 1372 of file af_surround.c.
|
static |
Definition at line 1528 of file af_surround.c.
Referenced by filter_frame().
|
static |
Definition at line 1547 of file af_surround.c.
Referenced by filter_frame().
|
static |
Definition at line 1577 of file af_surround.c.
Referenced by activate().
|
static |
Definition at line 1607 of file af_surround.c.
|
static |
Definition at line 1664 of file af_surround.c.
AVFILTER_DEFINE_CLASS | ( | surround | ) |
|
static |
Definition at line 1690 of file af_surround.c.
|
static |
Definition at line 1746 of file af_surround.c.
|
static |
Definition at line 1754 of file af_surround.c.
const AVFilter ff_af_surround |
Definition at line 1762 of file af_surround.c.