FFmpeg
|
#include <float.h>
#include <math.h>
#include "libavutil/tx.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/cpu.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"
Go to the source code of this file.
Data Structures | |
struct | ShowCWTContext |
Macros | |
#define | OFFSET(x) offsetof(ShowCWTContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | DRAW_BAR_COLOR(x) |
Enumerations | |
enum | FrequencyScale { FSCALE_LINEAR, FSCALE_LOG, FSCALE_BARK, FSCALE_MEL, FSCALE_ERBS, FSCALE_SQRT, FSCALE_CBRT, FSCALE_QDRT, NB_FSCALE, FS_LINEAR, FS_LOG, FS_RLOG, NB_FSCALES, F_LINEAR, F_LOG, NB_FSCALES } |
enum | IntensityScale { ISCALE_LOG, ISCALE_LINEAR, ISCALE_SQRT, ISCALE_CBRT, ISCALE_QDRT, NB_ISCALE } |
enum | DirectionMode { DIRECTION_LR, DIRECTION_RL, DIRECTION_UD, DIRECTION_DU, NB_DIRECTION } |
enum | SlideMode { REPLACE, SCROLL, NB_SLIDES, SLIDE_REPLACE, SLIDE_SCROLL, SLIDE_FRAME, NB_SLIDE, REPLACE, SCROLL, FULLFRAME, RSCROLL, LREPLACE, NB_SLIDES, REPLACE, SCROLL, FULLFRAME, RSCROLL, NB_SLIDES } |
Functions | |
AVFILTER_DEFINE_CLASS (showcwt) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static float | frequency_band (float *frequency_band, int frequency_band_count, float frequency_range, float frequency_offset, int frequency_scale, float deviation) |
static float | remap_log (ShowCWTContext *s, float value, int iscale, float log_factor) |
static int | run_channel_cwt_prepare (AVFilterContext *ctx, void *arg, int jobnr, int ch) |
static void | draw_bar (ShowCWTContext *s, int y, float Y, float U, float V) |
static int | draw (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | run_channel_cwt (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | compute_kernel (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | output_frame (AVFilterContext *ctx) |
static int | run_channels_cwt_prepare (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | activate (AVFilterContext *ctx) |
Variables | |
static const AVOption | showcwt_options [] |
static const AVFilterPad | showcwt_outputs [] |
const AVFilter | ff_avf_showcwt |
#define OFFSET | ( | x | ) | offsetof(ShowCWTContext, x) |
Definition at line 130 of file avf_showcwt.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 131 of file avf_showcwt.c.
#define DRAW_BAR_COLOR | ( | x | ) |
Definition at line 369 of file avf_showcwt.c.
enum FrequencyScale |
Enumerator | |
---|---|
FSCALE_LINEAR | |
FSCALE_LOG | |
FSCALE_BARK | |
FSCALE_MEL | |
FSCALE_ERBS | |
FSCALE_SQRT | |
FSCALE_CBRT | |
FSCALE_QDRT | |
NB_FSCALE | |
FS_LINEAR | |
FS_LOG | |
FS_RLOG | |
NB_FSCALES | |
F_LINEAR | |
F_LOG | |
NB_FSCALES |
Definition at line 39 of file avf_showcwt.c.
enum IntensityScale |
Enumerator | |
---|---|
ISCALE_LOG | |
ISCALE_LINEAR | |
ISCALE_SQRT | |
ISCALE_CBRT | |
ISCALE_QDRT | |
NB_ISCALE |
Definition at line 51 of file avf_showcwt.c.
enum DirectionMode |
Enumerator | |
---|---|
DIRECTION_LR | |
DIRECTION_RL | |
DIRECTION_UD | |
DIRECTION_DU | |
NB_DIRECTION |
Definition at line 60 of file avf_showcwt.c.
enum SlideMode |
Enumerator | |
---|---|
REPLACE | |
SCROLL | |
NB_SLIDES | |
SLIDE_REPLACE | |
SLIDE_SCROLL | |
SLIDE_FRAME | |
NB_SLIDE | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
LREPLACE | |
NB_SLIDES | |
REPLACE | |
SCROLL | |
FULLFRAME | |
RSCROLL | |
NB_SLIDES |
Definition at line 68 of file avf_showcwt.c.
AVFILTER_DEFINE_CLASS | ( | showcwt | ) |
|
static |
Definition at line 182 of file avf_showcwt.c.
Referenced by config_output().
|
static |
Definition at line 224 of file avf_showcwt.c.
|
static |
Definition at line 253 of file avf_showcwt.c.
Referenced by config_output().
|
static |
Definition at line 306 of file avf_showcwt.c.
Referenced by draw().
|
static |
Definition at line 339 of file avf_showcwt.c.
Referenced by run_channels_cwt_prepare().
|
static |
Definition at line 383 of file avf_showcwt.c.
Referenced by draw().
|
static |
Definition at line 443 of file avf_showcwt.c.
Referenced by draw_line(), draw_text(), ff_blend_mask(), ff_blend_rectangle(), ff_copy_rectangle2(), ff_draw_color(), ff_draw_init(), ff_draw_init2(), ff_draw_round_to_sub(), ff_draw_supported_pixel_formats(), ff_fill_rectangle(), main(), mss2_decode_frame(), output_frame(), pick_color16(), pick_color8(), pointer_at(), reverse_color16(), and reverse_color8().
|
static |
Definition at line 627 of file avf_showcwt.c.
Referenced by activate().
|
static |
Definition at line 697 of file avf_showcwt.c.
Referenced by config_output().
|
static |
Definition at line 786 of file avf_showcwt.c.
|
static |
Definition at line 1016 of file avf_showcwt.c.
Referenced by activate().
|
static |
Definition at line 1202 of file avf_showcwt.c.
Referenced by activate().
|
static |
Definition at line 1215 of file avf_showcwt.c.
|
static |
Definition at line 133 of file avf_showcwt.c.
|
static |
Definition at line 1291 of file avf_showcwt.c.
const AVFilter ff_avf_showcwt |
Definition at line 1299 of file avf_showcwt.c.