FFmpeg
4.0
|
Calculate VMAF Motion score. More...
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "vmaf_motion.h"
Go to the source code of this file.
Data Structures | |
struct | VMAFMotionContext |
Macros | |
#define | BIT_SHIFT 15 |
#define | OFFSET(x) offsetof(VMAFMotionContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | conv_y_fn(type, bits) |
Variables | |
static const float | FILTER_5 [5] |
static const AVOption | vmafmotion_options [] |
static const AVFilterPad | vmafmotion_inputs [] |
static const AVFilterPad | vmafmotion_outputs [] |
AVFilter | ff_vf_vmafmotion |
Calculate VMAF Motion score.
Definition in file vf_vmafmotion.c.
#define BIT_SHIFT 15 |
Definition at line 35 of file vf_vmafmotion.c.
Referenced by convolution_x(), ff_vmafmotion_init(), and ff_vmafmotion_process().
#define OFFSET | ( | x | ) | offsetof(VMAFMotionContext, x) |
Definition at line 52 of file vf_vmafmotion.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 53 of file vf_vmafmotion.c.
#define conv_y_fn | ( | type, | |
bits | |||
) |
Definition at line 128 of file vf_vmafmotion.c.
AVFILTER_DEFINE_CLASS | ( | vmafmotion | ) |
|
static |
Definition at line 62 of file vf_vmafmotion.c.
Referenced by vmafmotiondsp_init().
|
static |
Definition at line 81 of file vf_vmafmotion.c.
Referenced by vmafmotiondsp_init().
conv_y_fn | ( | uint8_t | , |
8 | |||
) |
conv_y_fn | ( | uint16_t | , |
10 | |||
) |
|
static |
Definition at line 183 of file vf_vmafmotion.c.
Referenced by ff_vmafmotion_init().
double ff_vmafmotion_process | ( | VMAFMotionData * | s, |
AVFrame * | ref | ||
) |
Definition at line 189 of file vf_vmafmotion.c.
Referenced by do_vmafmotion().
|
static |
Definition at line 214 of file vf_vmafmotion.c.
Referenced by do_vmafmotion().
|
static |
Definition at line 221 of file vf_vmafmotion.c.
Referenced by filter_frame().
int ff_vmafmotion_init | ( | VMAFMotionData * | s, |
int | w, | ||
int | h, | ||
enum AVPixelFormat | fmt | ||
) |
Definition at line 235 of file vf_vmafmotion.c.
Referenced by config_input_ref().
|
static |
Definition at line 262 of file vf_vmafmotion.c.
|
static |
Definition at line 280 of file vf_vmafmotion.c.
double ff_vmafmotion_uninit | ( | VMAFMotionData * | s | ) |
Definition at line 289 of file vf_vmafmotion.c.
Referenced by uninit().
|
static |
Definition at line 298 of file vf_vmafmotion.c.
|
static |
Definition at line 305 of file vf_vmafmotion.c.
|
static |
Definition at line 328 of file vf_vmafmotion.c.
|
static |
Definition at line 37 of file vf_vmafmotion.c.
Referenced by ff_vmafmotion_init().
|
static |
Definition at line 55 of file vf_vmafmotion.c.
|
static |
Definition at line 341 of file vf_vmafmotion.c.
|
static |
Definition at line 351 of file vf_vmafmotion.c.
AVFilter ff_vf_vmafmotion |
Definition at line 359 of file vf_vmafmotion.c.