Go to the source code of this file.
Enumerator |
---|
VAR_VOLUME |
|
VAR_CHANNEL |
|
VAR_VARS_NB |
|
Definition at line 35 of file avf_showvolume.c.
AVFILTER_DEFINE_CLASS |
( |
showvolume |
| ) |
|
static void drawtext |
( |
AVFrame * |
pic, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const char * |
txt, |
|
|
int |
o |
|
) |
| |
|
static |
const char* const var_names[] = { "VOLUME", "CHANNEL", NULL } |
|
static |
Initial value:= {
{
"c",
"set volume color expression",
OFFSET(
color),
AV_OPT_TYPE_STRING, {.str=
"if(gte(VOLUME,-6), if(gte(VOLUME,-2), if(gte(VOLUME,-1), if(gt(VOLUME,0), 0xff0000ff, 0xff0066ff), 0xff00ffff),0xff00ff00),0xffff0000)"}, 0, 0,
FLAGS },
}
static void draw_text(DatascopeContext *s, AVFrame *frame, FFDrawColor *color, int x0, int y0, const uint8_t *text, int vertical)
offset must point to AVRational
Definition at line 57 of file avf_showvolume.c.
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
static int config_input(AVFilterLink *inlink)
Definition at line 318 of file avf_showvolume.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 328 of file avf_showvolume.c.
Initial value:= {
.name = "showvolume",
.priv_class = &showvolume_class,
}
static const AVFilterPad showvolume_outputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad showvolume_inputs[]
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static int query_formats(AVFilterContext *ctx)
static av_cold int init(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
Definition at line 337 of file avf_showvolume.c.