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 92 of file af_adelay.c.
 
 
      
        
          | AVFILTER_DEFINE_CLASS  | 
          ( | 
          adelay  | 
           | ) | 
           | 
        
      
 
 
Initial value:= {
    {
        .name         = "default",
    },
}
static int config_input(AVFilterLink *inlink)
 
 
Definition at line 319 of file af_adelay.c.
 
 
Initial value:= {
    {
        .name = "default",
    },
}
 
Definition at line 328 of file af_adelay.c.
 
 
Initial value:= {
    .name          = "adelay",
    .priv_class    = &adelay_class,
}
static int activate(AVFilterContext *ctx)
 
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 inputs[]
 
static const AVFilterPad outputs[]
 
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
 
#define flags(name, subs,...)
 
static const AVFilterPad adelay_inputs[]
 
static const AVFilterPad adelay_outputs[]
 
 
Definition at line 336 of file af_adelay.c.