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) |
| |
| #define | clipd(x) |
| |
| #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) |
| |
◆ MEAN_SUM
Value:static type mean_sum_##suffix(
const type *in, \
{ \
\
\
return mean_sum; \
}
#define i(width, name, range_min, range_max)
static int zero(InterplayACMContext *s, unsigned ind, unsigned col)
Definition at line 48 of file af_axcorrelate.c.
◆ SQUARE_SUM
| #define SQUARE_SUM |
( |
| suffix, |
|
|
| type, |
|
|
| zero ) |
Value:static type square_sum_##suffix(
const type *x, \
{ \
\
square_sum += x[
i] * y[
i]; \
\
return square_sum; \
}
Definition at line 63 of file af_axcorrelate.c.
◆ XCORRELATE
| #define XCORRELATE |
( |
| suffix, |
|
|
| type, |
|
|
| zero, |
|
|
| small, |
|
|
| sqrtfun ) |
Value:static type xcorrelate_##suffix(
const type *x, \
{ \
\
\
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
| #define XCORRELATE_SLOW |
( |
| suffix, |
|
|
| type ) |
◆ clipf
◆ clipd
◆ XCORRELATE_FAST
| #define XCORRELATE_FAST |
( |
| suffix, |
|
|
| type, |
|
|
| zero, |
|
|
| small, |
|
|
| sqrtfun, |
|
|
| CLIP ) |
◆ 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
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVBitStreamFilterLink *outlink)
Definition at line 435 of file af_axcorrelate.c.
◆ axcorrelate_options
Initial value:= {
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 446 of file af_axcorrelate.c.
◆ ff_af_axcorrelate
Initial value:= {
.p.name = "axcorrelate",
.p.priv_class = &axcorrelate_class,
}
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
@ AV_SAMPLE_FMT_FLTP
float, planar
@ AV_SAMPLE_FMT_DBLP
double, planar
static av_cold void uninit(AVBitStreamFilterContext *ctx)
static int activate(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_SAMPLEFMTS(...)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 457 of file af_axcorrelate.c.