FFmpeg
|
SpectrumSynth filter. More...
#include "libavcodec/avfft.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.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 70 of file vaf_spectrumsynth.c.
Definition at line 71 of file vaf_spectrumsynth.c.
Definition at line 72 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 | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
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.
AVFILTER_DEFINE_CLASS | ( | spectrumsynth | ) |
|
static |
Definition at line 101 of file vaf_spectrumsynth.c.
|
static |
Definition at line 143 of file vaf_spectrumsynth.c.
|
static |
Definition at line 224 of file vaf_spectrumsynth.c.
|
static |
Definition at line 243 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 268 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 293 of file vaf_spectrumsynth.c.
Referenced by synth_window().
|
static |
Definition at line 339 of file vaf_spectrumsynth.c.
Referenced by try_push_frame().
|
static |
Definition at line 364 of file vaf_spectrumsynth.c.
Referenced by try_push_frames().
|
static |
Definition at line 431 of file vaf_spectrumsynth.c.
Referenced by filter_frame_magnitude(), and filter_frame_phase().
|
static |
Definition at line 470 of file vaf_spectrumsynth.c.
|
static |
Definition at line 479 of file vaf_spectrumsynth.c.
|
static |
Definition at line 488 of file vaf_spectrumsynth.c.
|
static |
Definition at line 74 of file vaf_spectrumsynth.c.
|
static |
Definition at line 505 of file vaf_spectrumsynth.c.
|
static |
Definition at line 521 of file vaf_spectrumsynth.c.
AVFilter ff_vaf_spectrumsynth |
Definition at line 531 of file vaf_spectrumsynth.c.