|
FFmpeg
|
#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/pixelutils.h"#include "libavutil/timestamp.h"#include "avfilter.h"#include "filters.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | DecimateContext |
Macros | |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
| enum | DecimateResult { DECIMATE_DROP , DECIMATE_KEEP_UPDATE , DECIMATE_KEEP_NO_UPDATE } |
Functions | |
| AVFILTER_DEFINE_CLASS (mpdecimate) | |
| static int | diff_planes (AVFilterContext *ctx, uint8_t *cur, int cur_linesize, uint8_t *ref, int ref_linesize, int w, int h) |
| Return 1 if the two planes are different, 0 otherwise. | |
| static int | is_frame_different (AVFilterContext *ctx, AVFrame *cur, AVFrame *ref) |
| Tell if the frame is different with respect to the reference frame ref. | |
| static DecimateResult | 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. | |
| static av_cold int | init (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | config_input (AVFilterLink *inlink) |
| static int | filter_frame_mode_0 (AVFilterLink *inlink, AVFrame *cur) |
| static int | filter_frame_mode_1 (AVFilterLink *inlink, AVFrame *cur) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *cur) |
Variables | |
| static const AVOption | mpdecimate_options [] |
| static enum AVPixelFormat | pix_fmts [] |
| static const AVFilterPad | mpdecimate_inputs [] |
| const FFFilter | ff_vf_mpdecimate |
| #define OFFSET | ( | x | ) |
Definition at line 67 of file vf_mpdecimate.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 68 of file vf_mpdecimate.c.
| enum DecimateResult |
Definition at line 36 of file vf_mpdecimate.c.
| AVFILTER_DEFINE_CLASS | ( | mpdecimate | ) |
|
static |
Return 1 if the two planes are different, 0 otherwise.
Definition at line 89 of file vf_mpdecimate.c.
Referenced by is_frame_different().
|
static |
Tell if the frame is different with respect to the reference frame ref.
Definition at line 126 of file vf_mpdecimate.c.
Referenced by decimate_frame(), and filter_frame_mode_1().
|
static |
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 155 of file vf_mpdecimate.c.
Referenced by filter_frame_mode_0().
|
static |
Definition at line 180 of file vf_mpdecimate.c.
|
static |
Definition at line 199 of file vf_mpdecimate.c.
|
static |
Definition at line 221 of file vf_mpdecimate.c.
|
static |
Definition at line 232 of file vf_mpdecimate.c.
Referenced by filter_frame().
|
static |
Definition at line 281 of file vf_mpdecimate.c.
Referenced by filter_frame().
|
static |
Definition at line 325 of file vf_mpdecimate.c.
|
static |
Definition at line 70 of file vf_mpdecimate.c.
|
static |
Definition at line 205 of file vf_mpdecimate.c.
|
static |
Definition at line 331 of file vf_mpdecimate.c.
| const FFFilter ff_vf_mpdecimate |
Definition at line 340 of file vf_mpdecimate.c.