FFmpeg
|
#include <float.h>
#include <math.h>
#include "libavcodec/avfft.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "audio.h"
#include "video.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "window_func.h"
Go to the source code of this file.
Data Structures | |
struct | ShowSpatialContext |
Macros | |
#define | OFFSET(x) offsetof(ShowSpatialContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | RE(y, ch) s->fft_data[ch][y].re |
#define | IM(y, ch) s->fft_data[ch][y].im |
Functions | |
AVFILTER_DEFINE_CLASS (showspatial) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | run_channel_fft (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | config_output (AVFilterLink *outlink) |
static void | draw_dot (uint8_t *dst, int linesize, int value) |
static int | draw_spatial (AVFilterLink *inlink, AVFrame *insamples) |
static int | spatial_activate (AVFilterContext *ctx) |
Variables | |
static const AVOption | showspatial_options [] |
static const AVFilterPad | showspatial_inputs [] |
static const AVFilterPad | showspatial_outputs [] |
AVFilter | ff_avf_showspatial |
#define OFFSET | ( | x | ) | offsetof(ShowSpatialContext, x) |
Definition at line 56 of file avf_showspatial.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 57 of file avf_showspatial.c.
AVFILTER_DEFINE_CLASS | ( | showspatial | ) |
|
static |
Definition at line 91 of file avf_showspatial.c.
|
static |
Definition at line 106 of file avf_showspatial.c.
|
static |
Definition at line 133 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 152 of file avf_showspatial.c.
Definition at line 223 of file avf_showspatial.c.
Referenced by draw_spatial().
|
static |
Definition at line 232 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 281 of file avf_showspatial.c.
|
static |
Definition at line 59 of file avf_showspatial.c.
|
static |
Definition at line 344 of file avf_showspatial.c.
|
static |
Definition at line 352 of file avf_showspatial.c.
AVFilter ff_avf_showspatial |
Definition at line 361 of file avf_showspatial.c.