Go to the source code of this file.
|
#define | MEAN_SUM(suffix, type, zero) |
|
#define | SQUARE_SUM(suffix, type, zero) |
|
#define | XCORRELATE(suffix, type, zero, small, sqrtfun) |
|
#define | XCORRELATE_SLOW(suffix, type) |
|
#define | clipf(x) (av_clipf(x, -1.f, 1.f)) |
|
#define | clipd(x) (av_clipd(x, -1.0, 1.0)) |
|
#define | XCORRELATE_FAST(suffix, type, zero, small, sqrtfun, CLIP) |
|
#define | XCORRELATE_BEST(suffix, type, zero, small, sqrtfun, FMAX, CLIP) |
|
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
|
#define | OFFSET(x) offsetof(AudioXCorrelateContext, x) |
|
◆ MEAN_SUM
◆ SQUARE_SUM
Value:
{ \
type square_sum =
zero;
\
square_sum += x[
i] * y[
i]; \
\
return square_sum; \
}
Definition at line 63 of file af_axcorrelate.c.
◆ XCORRELATE
Value:
{ \
\
num += xd * yd; \
den0 += xd * xd; \
den1 += yd * yd; \
} \
\
den = sqrtfun((den0 * den1) /
size /
size); \
\
return den <= small ?
zero : num / den; \
}
Definition at line 79 of file af_axcorrelate.c.
◆ XCORRELATE_SLOW
◆ clipf
◆ clipd
#define clipd |
( |
|
x | ) |
(av_clipd(x, -1.0, 1.0)) |
◆ XCORRELATE_FAST
◆ XCORRELATE_BEST
◆ AF
◆ OFFSET
◆ activate()
◆ config_output()
◆ uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
axcorrelate |
| ) |
|
◆ inputs
Initial value:= {
{
.name = "axcorrelate0",
},
{
.name = "axcorrelate1",
},
}
Definition at line 424 of file af_axcorrelate.c.
◆ outputs
◆ axcorrelate_options
◆ ff_af_axcorrelate
Initial value:= {
.name = "axcorrelate",
.priv_class = &axcorrelate_class,
}
Definition at line 457 of file af_axcorrelate.c.