FFmpeg
4.0
|
SpectrumSynth filter. More...
#include "libavcodec/avfft.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "avfilter.h"
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.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, REPLACE, SCROLL, FULLFRAME, RSCROLL, NB_SLIDES, REPLACE, SCROLL, FULLFRAME, RSCROLL, NB_SLIDES } |
enum | Orientation { VERTICAL, HORIZONTAL, NB_ORIENTATIONS, VERTICAL, HORIZONTAL, NB_ORIENTATIONS } |
Functions | |
AVFILTER_DEFINE_CLASS (spectrumsynth) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | request_frame (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 | filter_frame_magnitude (AVFilterLink *inlink, AVFrame *magnitude) |
static int | filter_frame_phase (AVFilterLink *inlink, AVFrame *phase) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | spectrumsynth_options [] |
static const AVFilterPad | spectrumsynth_inputs [] |
static const AVFilterPad | spectrumsynth_outputs [] |
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 40 of file vaf_spectrumsynth.c.
enum SlideMode |
Enumerator | |
---|---|
REPLACE | |
SCROLL | |
NB_SLIDES | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
NB_SLIDES | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
NB_SLIDES |
Definition at line 41 of file vaf_spectrumsynth.c.
enum Orientation |
Enumerator | |
---|---|
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS | |
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS |
Definition at line 42 of file vaf_spectrumsynth.c.
AVFILTER_DEFINE_CLASS | ( | spectrumsynth | ) |
|
static |
Definition at line 102 of file vaf_spectrumsynth.c.
|
static |
Definition at line 144 of file vaf_spectrumsynth.c.
|
static |
Definition at line 225 of file vaf_spectrumsynth.c.
Definition at line 244 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
Definition at line 269 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 294 of file vaf_spectrumsynth.c.
Referenced by synth_window().
|
static |
Definition at line 340 of file vaf_spectrumsynth.c.
Referenced by try_push_frame().
|
static |
Definition at line 365 of file vaf_spectrumsynth.c.
Referenced by try_push_frames().
|
static |
Definition at line 434 of file vaf_spectrumsynth.c.
Referenced by filter_frame_magnitude(), and filter_frame_phase().
|
static |
Definition at line 473 of file vaf_spectrumsynth.c.
|
static |
Definition at line 482 of file vaf_spectrumsynth.c.
|
static |
Definition at line 491 of file vaf_spectrumsynth.c.
|
static |
Definition at line 75 of file vaf_spectrumsynth.c.
|
static |
Definition at line 508 of file vaf_spectrumsynth.c.
|
static |
Definition at line 524 of file vaf_spectrumsynth.c.
AVFilter ff_vaf_spectrumsynth |
Definition at line 534 of file vaf_spectrumsynth.c.