|
FFmpeg
|
#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.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) |
Functions | |
| AVFILTER_DEFINE_CLASS (vmafmotion) | |
| static uint64_t | image_sad (const uint16_t *img1, const uint16_t *img2, int w, int h, ptrdiff_t _img1_stride, ptrdiff_t _img2_stride) |
| static void | convolution_x (const uint16_t *filter, int filt_w, const uint16_t *src, uint16_t *dst, int w, int h, ptrdiff_t _src_stride, ptrdiff_t _dst_stride) |
| conv_y_fn (uint8_t, 8) | |
| double | ff_vmafmotion_process (VMAFMotionData *s, AVFrame *ref) |
| static void | set_meta (AVDictionary **metadata, const char *key, float d) |
| static void | do_vmafmotion (AVFilterContext *ctx, AVFrame *ref) |
| int | ff_vmafmotion_init (VMAFMotionData *s, int w, int h, enum AVPixelFormat fmt) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | config_input_ref (AVFilterLink *inlink) |
| double | ff_vmafmotion_uninit (VMAFMotionData *s) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *ref) |
| static av_cold int | init (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
| static const float | FILTER_5 [5] |
| static const AVOption | vmafmotion_options [] |
| static const AVFilterPad | vmafmotion_inputs [] |
| static const AVFilterPad | vmafmotion_outputs [] |
| const AVFilter | ff_vf_vmafmotion |
Calculate VMAF Motion score.
Definition in file vf_vmafmotion.c.
| #define BIT_SHIFT 15 |
Definition at line 34 of file vf_vmafmotion.c.
| #define OFFSET | ( | x | ) | offsetof(VMAFMotionContext, x) |
Definition at line 51 of file vf_vmafmotion.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 52 of file vf_vmafmotion.c.
Definition at line 127 of file vf_vmafmotion.c.
| AVFILTER_DEFINE_CLASS | ( | vmafmotion | ) |
|
static |
Definition at line 61 of file vf_vmafmotion.c.
Referenced by conv_y_fn().
|
static |
Definition at line 80 of file vf_vmafmotion.c.
Referenced by conv_y_fn().
| conv_y_fn | ( | uint8_t | , |
| 8 | |||
| ) |
Definition at line 179 of file vf_vmafmotion.c.
| double ff_vmafmotion_process | ( | VMAFMotionData * | s, |
| AVFrame * | ref | ||
| ) |
Definition at line 188 of file vf_vmafmotion.c.
Referenced by do_vmafmotion().
|
static |
Definition at line 213 of file vf_vmafmotion.c.
Referenced by do_vmafmotion().
|
static |
Definition at line 220 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 234 of file vf_vmafmotion.c.
Referenced by config_input_ref().
|
static |
Definition at line 264 of file vf_vmafmotion.c.
|
static |
Definition at line 282 of file vf_vmafmotion.c.
| double ff_vmafmotion_uninit | ( | VMAFMotionData * | s | ) |
Definition at line 291 of file vf_vmafmotion.c.
Referenced by uninit().
|
static |
Definition at line 300 of file vf_vmafmotion.c.
|
static |
Definition at line 307 of file vf_vmafmotion.c.
|
static |
Definition at line 330 of file vf_vmafmotion.c.
|
static |
Definition at line 36 of file vf_vmafmotion.c.
Referenced by ff_vmafmotion_init().
|
static |
Definition at line 54 of file vf_vmafmotion.c.
|
static |
Definition at line 343 of file vf_vmafmotion.c.
|
static |
Definition at line 352 of file vf_vmafmotion.c.
| const AVFilter ff_vf_vmafmotion |
Definition at line 359 of file vf_vmafmotion.c.
1.8.17