FFmpeg
|
#include <math.h>
#include "libavutil/mem.h"
#include "libavutil/tx.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "formats.h"
#include "video.h"
#include "avfilter.h"
#include "filters.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 (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
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_outputs [] |
const AVFilter | ff_avf_showspatial |
#define OFFSET | ( | x | ) | offsetof(ShowSpatialContext, x) |
Definition at line 54 of file avf_showspatial.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 55 of file avf_showspatial.c.
#define RE | ( | y, | |
ch | |||
) | s->fft_data[ch][y].re |
Definition at line 190 of file avf_showspatial.c.
#define IM | ( | y, | |
ch | |||
) | s->fft_data[ch][y].im |
Definition at line 191 of file avf_showspatial.c.
AVFILTER_DEFINE_CLASS | ( | showspatial | ) |
|
static |
Definition at line 69 of file avf_showspatial.c.
|
static |
Definition at line 83 of file avf_showspatial.c.
|
static |
Definition at line 108 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 126 of file avf_showspatial.c.
|
static |
Definition at line 193 of file avf_showspatial.c.
Referenced by draw_spatial().
|
static |
Definition at line 202 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 253 of file avf_showspatial.c.
|
static |
Definition at line 57 of file avf_showspatial.c.
|
static |
Definition at line 316 of file avf_showspatial.c.
const AVFilter ff_avf_showspatial |
Definition at line 324 of file avf_showspatial.c.