FFmpeg
|
#include <float.h>
#include <math.h>
#include "libavutil/tx.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 "formats.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_outputs [] |
const 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.
#define RE | ( | y, | |
ch | |||
) | s->fft_data[ch][y].re |
Definition at line 193 of file avf_showspatial.c.
#define IM | ( | y, | |
ch | |||
) | s->fft_data[ch][y].im |
Definition at line 194 of file avf_showspatial.c.
AVFILTER_DEFINE_CLASS | ( | showspatial | ) |
|
static |
Definition at line 71 of file avf_showspatial.c.
|
static |
Definition at line 85 of file avf_showspatial.c.
|
static |
Definition at line 112 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 130 of file avf_showspatial.c.
Definition at line 196 of file avf_showspatial.c.
Referenced by draw_spatial().
|
static |
Definition at line 205 of file avf_showspatial.c.
Referenced by spatial_activate().
|
static |
Definition at line 256 of file avf_showspatial.c.
|
static |
Definition at line 59 of file avf_showspatial.c.
|
static |
Definition at line 319 of file avf_showspatial.c.
const AVFilter ff_avf_showspatial |
Definition at line 327 of file avf_showspatial.c.