Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (mpdecimate) |
|
static int | diff_planes (AVFilterContext *ctx, uint8_t *cur, uint8_t *ref, int linesize, int w, int h) |
| Return 1 if the two planes are different, 0 otherwise. More...
|
|
static int | decimate_frame (AVFilterContext *ctx, AVFrame *cur, AVFrame *ref) |
| Tell if the frame should be decimated, for example if it is no much different with respect to the reference frame ref. More...
|
|
static av_cold int | init (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *cur) |
|
static int | request_frame (AVFilterLink *outlink) |
|
AVFILTER_DEFINE_CLASS |
( |
mpdecimate |
| ) |
|
Tell if the frame should be decimated, for example if it is no much different with respect to the reference frame ref.
Definition at line 107 of file vf_mpdecimate.c.
Referenced by filter_frame().
Initial value:= {
.name = "mpdecimate",
.priv_class = &mpdecimate_class,
}
static const AVFilterPad mpdecimate_inputs[]
static const AVFilterPad outputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad mpdecimate_outputs[]
static av_cold int init(AVFilterContext *ctx)
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
Definition at line 247 of file vf_mpdecimate.c.
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *cur)
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
static int config_input(AVFilterLink *inlink)
Definition at line 227 of file vf_mpdecimate.c.
Initial value:= {
{ "max", "set the maximum number of consecutive dropped frames (positive), or the minimum interval between dropped frames (negative)",
{
"hi",
"set high dropping threshold",
OFFSET(hi),
AV_OPT_TYPE_INT, {.i64=64*12}, INT_MIN, INT_MAX, FLAGS },
{
"lo",
"set low dropping threshold",
OFFSET(lo),
AV_OPT_TYPE_INT, {.i64=64*5}, INT_MIN, INT_MAX, FLAGS },
}
Definition at line 58 of file vf_mpdecimate.c.
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
Definition at line 238 of file vf_mpdecimate.c.