Go to the source code of this file.
◆ INPUT_MAIN
◆ INPUT_CLEANSRC
◆ OFFSET
◆ FLAGS
◆ CALC_DIFF
#define CALC_DIFF |
( |
|
nbits | ) |
|
Value:do { \
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().
◆ PF_NOALPHA
#define PF_NOALPHA |
( |
|
suf | ) |
AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
◆ PF_ALPHA
#define PF_ALPHA |
( |
|
suf | ) |
AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
◆ PF
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
decimate |
| ) |
|
◆ calc_diffs()
◆ filter_frame()
◆ config_input()
◆ decimate_init()
◆ decimate_uninit()
◆ request_inlink()
◆ request_frame()
◆ query_formats()
◆ config_output()
◆ decimate_options
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.
◆ decimate_outputs
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
static int config_output(AVFilterLink *outlink)
Definition at line 397 of file vf_decimate.c.
◆ ff_vf_decimate
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 407 of file vf_decimate.c.