FFmpeg
|
#include "libavutil/mem.h"
#include "libavutil/tx.h"
#include "libavutil/avassert.h"
#include "libavutil/cpu.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "audio.h"
#include "filters.h"
#include "window_func.h"
Go to the source code of this file.
Data Structures | |
struct | SpectrumSynthContext |
Macros | |
#define | OFFSET(x) offsetof(SpectrumSynthContext, x) |
#define | A AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
#define | V AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | MagnitudeScale { LINEAR, LOG, NB_SCALES } |
enum | SlideMode { REPLACE, SCROLL, NB_SLIDES, SLIDE_REPLACE, SLIDE_SCROLL, SLIDE_FRAME, NB_SLIDE, REPLACE, SCROLL, FULLFRAME, RSCROLL, LREPLACE, NB_SLIDES, REPLACE, SCROLL, FULLFRAME, RSCROLL, NB_SLIDES } |
enum | Orientation { VERTICAL, HORIZONTAL, NB_ORIENTATIONS, VERTICAL, HORIZONTAL, NB_ORIENTATIONS } |
enum | { MAGNITUDE = 0, PHASE = 1 } |
Functions | |
AVFILTER_DEFINE_CLASS (spectrumsynth) | |
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static int | config_output (AVFilterLink *outlink) |
static void | read16_fft_bin (SpectrumSynthContext *s, int x, int y, int f, int ch) |
static void | read8_fft_bin (SpectrumSynthContext *s, int x, int y, int f, int ch) |
static void | read_fft_data (AVFilterContext *ctx, int x, int h, int ch) |
static void | synth_window (AVFilterContext *ctx, int x) |
static int | try_push_frame (AVFilterContext *ctx, int x) |
static int | try_push_frames (AVFilterContext *ctx) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | spectrumsynth_options [] |
static const AVFilterPad | spectrumsynth_inputs [] |
static const AVFilterPad | spectrumsynth_outputs [] |
const AVFilter | ff_vaf_spectrumsynth |
#define OFFSET | ( | x | ) | offsetof(SpectrumSynthContext, x) |
Definition at line 71 of file vaf_spectrumsynth.c.
Definition at line 72 of file vaf_spectrumsynth.c.
Definition at line 73 of file vaf_spectrumsynth.c.
enum MagnitudeScale |
Enumerator | |
---|---|
LINEAR | |
LOG | |
NB_SCALES |
Definition at line 39 of file vaf_spectrumsynth.c.
enum SlideMode |
Enumerator | |
---|---|
REPLACE | |
SCROLL | |
NB_SLIDES | |
SLIDE_REPLACE | |
SLIDE_SCROLL | |
SLIDE_FRAME | |
NB_SLIDE | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
LREPLACE | |
NB_SLIDES | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
NB_SLIDES |
Definition at line 40 of file vaf_spectrumsynth.c.
enum Orientation |
Enumerator | |
---|---|
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS | |
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS |
Definition at line 41 of file vaf_spectrumsynth.c.
anonymous enum |
Enumerator | |
---|---|
MAGNITUDE | |
PHASE |
Definition at line 96 of file vaf_spectrumsynth.c.
AVFILTER_DEFINE_CLASS | ( | spectrumsynth | ) |
|
static |
Definition at line 101 of file vaf_spectrumsynth.c.
|
static |
Definition at line 142 of file vaf_spectrumsynth.c.
|
static |
Definition at line 232 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 257 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 282 of file vaf_spectrumsynth.c.
Referenced by synth_window().
|
static |
Definition at line 328 of file vaf_spectrumsynth.c.
Referenced by try_push_frame().
|
static |
Definition at line 352 of file vaf_spectrumsynth.c.
Referenced by try_push_frames().
|
static |
Definition at line 421 of file vaf_spectrumsynth.c.
Referenced by activate().
|
static |
Definition at line 460 of file vaf_spectrumsynth.c.
|
static |
Definition at line 499 of file vaf_spectrumsynth.c.
|
static |
Definition at line 75 of file vaf_spectrumsynth.c.
|
static |
Definition at line 523 of file vaf_spectrumsynth.c.
|
static |
Definition at line 534 of file vaf_spectrumsynth.c.
const AVFilter ff_vaf_spectrumsynth |
Definition at line 542 of file vaf_spectrumsynth.c.