Go to the source code of this file.
|
enum | DataMode {
MAGNITUDE,
PHASE,
DELAY,
NB_DATA,
D_MAGNITUDE,
D_PHASE,
D_UPHASE,
NB_DMODES
} |
|
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,
F_LINEAR,
F_LOG,
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 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, int64_t pts) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static int | activate (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FLAGS
◆ RE
#define RE |
( |
|
x, |
|
|
|
ch |
|
) |
| s->fft_data[ch][x].re |
◆ IM
#define IM |
( |
|
x, |
|
|
|
ch |
|
) |
| s->fft_data[ch][x].im |
#define M |
( |
|
a, |
|
|
|
b |
|
) |
| (sqrt((a) * (a) + (b) * (b))) |
#define P |
( |
|
a, |
|
|
|
b |
|
) |
| (atan2((b), (a))) |
◆ DataMode
Enumerator |
---|
MAGNITUDE | |
PHASE | |
DELAY | |
NB_DATA | |
D_MAGNITUDE | |
D_PHASE | |
D_UPHASE | |
NB_DMODES | |
Definition at line 38 of file avf_showfreqs.c.
◆ DisplayMode
Enumerator |
---|
SINGLE | |
SEPARATE | |
NB_DMODES | |
LINE | |
BAR | |
DOT | |
NB_MODES | |
COMBINED | |
SEPARATE | |
NB_MODES | |
Definition at line 39 of file avf_showfreqs.c.
◆ ChannelMode
◆ FrequencyScale
Enumerator |
---|
FS_LINEAR | |
FS_LOG | |
FS_RLOG | |
NB_FSCALES | |
F_LINEAR | |
F_LOG | |
NB_FSCALES | |
Definition at line 41 of file avf_showfreqs.c.
◆ AmplitudeScale
Enumerator |
---|
ALINEAR | |
ALOG | |
NB_ASCALES | |
AS_LINEAR | |
AS_SQRT | |
AS_CBRT | |
AS_LOG | |
NB_ASCALES | |
Definition at line 42 of file avf_showfreqs.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
showfreqs |
| ) |
|
◆ query_formats()
◆ config_output()
◆ draw_dot()
static void draw_dot |
( |
AVFrame * |
out, |
|
|
int |
x, |
|
|
int |
y, |
|
|
uint8_t |
fg[4] |
|
) |
| |
|
inlinestatic |
◆ get_sx()
◆ get_bsize()
◆ plot_freq()
◆ plot_freqs()
◆ filter_frame()
◆ activate()
◆ uninit()
◆ showfreqs_options
◆ showfreqs_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 549 of file avf_showfreqs.c.
◆ showfreqs_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 556 of file avf_showfreqs.c.
◆ ff_avf_showfreqs
Initial value:= {
.name = "showfreqs",
.priv_class = &showfreqs_class,
}
Definition at line 564 of file avf_showfreqs.c.