FFmpeg
|
#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 "filters.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 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 [] |
AVFilter | ff_vaf_spectrumsynth |
#define OFFSET | ( | x | ) | offsetof(SpectrumSynthContext, x) |
Definition at line 72 of file vaf_spectrumsynth.c.
Definition at line 73 of file vaf_spectrumsynth.c.
Definition at line 74 of file vaf_spectrumsynth.c.
enum MagnitudeScale |
Enumerator | |
---|---|
LINEAR | |
LOG | |
NB_SCALES |
Definition at line 41 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 42 of file vaf_spectrumsynth.c.
enum Orientation |
Enumerator | |
---|---|
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS | |
VERTICAL | |
HORIZONTAL | |
NB_ORIENTATIONS |
Definition at line 43 of file vaf_spectrumsynth.c.
AVFILTER_DEFINE_CLASS | ( | spectrumsynth | ) |
|
static |
Definition at line 103 of file vaf_spectrumsynth.c.
|
static |
Definition at line 145 of file vaf_spectrumsynth.c.
|
static |
Definition at line 226 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 251 of file vaf_spectrumsynth.c.
Referenced by read_fft_data().
|
static |
Definition at line 276 of file vaf_spectrumsynth.c.
Referenced by synth_window().
|
static |
Definition at line 322 of file vaf_spectrumsynth.c.
Referenced by try_push_frame().
|
static |
Definition at line 347 of file vaf_spectrumsynth.c.
Referenced by try_push_frames().
|
static |
Definition at line 416 of file vaf_spectrumsynth.c.
Referenced by activate().
|
static |
Definition at line 455 of file vaf_spectrumsynth.c.
|
static |
Definition at line 494 of file vaf_spectrumsynth.c.
|
static |
Definition at line 76 of file vaf_spectrumsynth.c.
|
static |
Definition at line 511 of file vaf_spectrumsynth.c.
|
static |
Definition at line 523 of file vaf_spectrumsynth.c.
AVFilter ff_vaf_spectrumsynth |
Definition at line 532 of file vaf_spectrumsynth.c.