#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Value:static void aderivative_##
name ##p(
void **
d,
void **p,
const void **
s, \
for (n = 0; n < nb_samples; n++) { \
const
type current = src[n]; \
\
dst[n] = current - prv[0]; \
prv[0] = current; \
} \
} \
}
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
Definition at line 65 of file af_aderivative.c.
Value:static void aintegral_##
name ##p(
void **
d,
void **p,
const void **
s, \
for (n = 0; n < nb_samples; n++) { \
const
type current = src[n]; \
\
dst[n] = current + prv[0]; \
prv[0] = dst[n]; \
} \
} \
}
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
Definition at line 90 of file af_aderivative.c.
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
static int config_input(AVFilterLink *inlink)
Definition at line 171 of file af_aderivative.c.
Initial value:= {
.name = "aderivative",
}
static const AVFilterPad aderivative_outputs[]
static const AVFilterPad aderivative_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
static const AVFilterPad outputs[]
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
Definition at line 189 of file af_aderivative.c.
Initial value:= {
.name = "aintegral",
}
static const AVFilterPad aderivative_outputs[]
static const AVFilterPad aderivative_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
static const AVFilterPad outputs[]
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
Definition at line 199 of file af_aderivative.c.