Go to the source code of this file.
#define CALC_DIFF |
( |
|
nbits | ) |
|
Value:
for (x = 0; x <
width; x += hblockx) { \
int
m =
FFMIN(width, x + hblockx);
\
for (xl = x; xl <
m; xl++) \
acc += abs(((const uint##nbits##_t *)f1p)[xl] - \
((const uint##nbits##_t *)f2p)[xl]); \
bdiffs[ydest * dm->nxblocks + xdest] +=
acc; \
xdest++; \
} \
} while (0)
Referenced by calc_diffs().
#define PF_NOALPHA |
( |
|
suf | ) |
AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
#define PF_ALPHA |
( |
|
suf | ) |
AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
AVFILTER_DEFINE_CLASS |
( |
decimate |
| ) |
|
Initial value:= {
{
"blockx",
"set the size of the x-axis blocks used during metric calculations",
OFFSET(blockx),
AV_OPT_TYPE_INT, {.i64 = 32}, 4, 1<<9,
FLAGS },
{
"blocky",
"set the size of the y-axis blocks used during metric calculations",
OFFSET(blocky),
AV_OPT_TYPE_INT, {.i64 = 32}, 4, 1<<9,
FLAGS },
{
"ppsrc",
"mark main input as a pre-processed input and activate clean source input stream",
OFFSET(ppsrc),
AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1,
FLAGS },
}
Definition at line 68 of file vf_decimate.c.
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
static int config_output(AVFilterLink *outlink)
Definition at line 396 of file vf_decimate.c.
Initial value:= {
.name = "decimate",
.priv_class = &decimate_class,
}
static const AVFilterPad decimate_outputs[]
#define AVFILTER_FLAG_DYNAMIC_INPUTS
The number of the filter inputs is not determined just by AVFilter.inputs.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold void decimate_uninit(AVFilterContext *ctx)
static const AVFilterPad outputs[]
static av_cold int decimate_init(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
Definition at line 406 of file vf_decimate.c.