Go to the source code of this file.
Value:static void delay_channel_##
name ##p(
ChanDelay *d,
int nb_samples, \
{ \
\
if (d->delay_index < d->delay) { \
const
int len =
FFMIN(nb_samples, d->delay - d->delay_index); \
\
memcpy(&samples[d->delay_index], src, len *
sizeof(
type)); \
memset(dst, fill, len *
sizeof(
type)); \
} else { \
*dst = samples[d->index]; \
samples[d->index] = *
src; \
nb_samples--; \
d->index = d->index >= d->delay ? 0 : d->index; \
} \
} \
}
Definition at line 89 of file af_adelay.c.
AVFILTER_DEFINE_CLASS |
( |
adelay |
| ) |
|
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
static int config_input(AVFilterLink *inlink)
Definition at line 258 of file af_adelay.c.
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
Definition at line 268 of file af_adelay.c.
Initial value:= {
.name = "adelay",
.priv_class = &adelay_class,
}
static av_cold void uninit(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
static const AVFilterPad adelay_inputs[]
static const AVFilterPad adelay_outputs[]
Definition at line 277 of file af_adelay.c.