Go to the source code of this file.
|
enum | DisplayMode {
SINGLE,
SEPARATE,
NB_DMODES,
LINE,
BAR,
DOT,
NB_MODES,
COMBINED,
SEPARATE,
NB_MODES
} |
|
enum | ChannelMode { COMBINED,
SEPARATE,
NB_CMODES
} |
|
enum | FrequencyScale { FS_LINEAR,
FS_LOG,
FS_RLOG,
NB_FSCALES
} |
|
enum | AmplitudeScale {
ALINEAR,
ALOG,
NB_ASCALES,
AS_LINEAR,
AS_SQRT,
AS_CBRT,
AS_LOG,
NB_ASCALES
} |
|
|
| AVFILTER_DEFINE_CLASS (showfreqs) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static int | config_output (AVFilterLink *outlink) |
|
static void | draw_dot (AVFrame *out, int x, int y, uint8_t fg[4]) |
|
static int | get_sx (ShowFreqsContext *s, int f) |
|
static float | get_bsize (ShowFreqsContext *s, int f) |
|
static void | plot_freq (ShowFreqsContext *s, int ch, double a, int f, uint8_t fg[4], int *prev_y, AVFrame *out, AVFilterLink *outlink) |
|
static int | plot_freqs (AVFilterLink *inlink, AVFrame *in) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
#define RE |
( |
|
x, |
|
|
|
ch |
|
) |
| s->fft_data[ch][x].re |
#define IM |
( |
|
x, |
|
|
|
ch |
|
) |
| s->fft_data[ch][x].im |
#define M |
( |
|
a, |
|
|
|
b |
|
) |
| (sqrt((a) * (a) + (b) * (b))) |
Enumerator |
---|
SINGLE |
|
SEPARATE |
|
NB_DMODES |
|
LINE |
|
BAR |
|
DOT |
|
NB_MODES |
|
COMBINED |
|
SEPARATE |
|
NB_MODES |
|
Definition at line 38 of file avf_showfreqs.c.
Enumerator |
---|
FS_LINEAR |
|
FS_LOG |
|
FS_RLOG |
|
NB_FSCALES |
|
Definition at line 40 of file avf_showfreqs.c.
Enumerator |
---|
ALINEAR |
|
ALOG |
|
NB_ASCALES |
|
AS_LINEAR |
|
AS_SQRT |
|
AS_CBRT |
|
AS_LOG |
|
NB_ASCALES |
|
Definition at line 41 of file avf_showfreqs.c.
AVFILTER_DEFINE_CLASS |
( |
showfreqs |
| ) |
|
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 497 of file avf_showfreqs.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 506 of file avf_showfreqs.c.
Initial value:= {
.name = "showfreqs",
.priv_class = &showfreqs_class,
}
static av_cold int init(AVFilterContext *ctx)
static const AVFilterPad showfreqs_outputs[]
static int query_formats(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad outputs[]
static av_cold void uninit(AVFilterContext *ctx)
static const AVFilterPad inputs[]
static const AVFilterPad showfreqs_inputs[]
Definition at line 515 of file avf_showfreqs.c.