FFmpeg
|
Calculate the VMAF between two input videos. More...
#include <pthread.h>
#include <libvmaf.h>
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | LIBVMAFContext |
Macros | |
#define | OFFSET(x) offsetof(LIBVMAFContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | read_frame_fn(type, bits) |
Functions | |
FRAMESYNC_DEFINE_CLASS (libvmaf, LIBVMAFContext, fs) | |
read_frame_fn (uint8_t, 8) | |
read_frame_fn (uint16_t, 10) | |
static void | compute_vmaf_score (LIBVMAFContext *s) |
static void * | call_vmaf (void *ctx) |
static int | do_vmaf (FFFrameSync *fs) |
static av_cold int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input_ref (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | libvmaf_options [] |
static const AVFilterPad | libvmaf_inputs [] |
static const AVFilterPad | libvmaf_outputs [] |
AVFilter | ff_vf_libvmaf |
Calculate the VMAF between two input videos.
Definition in file vf_libvmaf.c.
#define OFFSET | ( | x | ) | offsetof(LIBVMAFContext, x) |
Definition at line 71 of file vf_libvmaf.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 72 of file vf_libvmaf.c.
#define read_frame_fn | ( | type, | |
bits | |||
) |
Definition at line 92 of file vf_libvmaf.c.
FRAMESYNC_DEFINE_CLASS | ( | libvmaf | , |
LIBVMAFContext | , | ||
fs | |||
) |
read_frame_fn | ( | uint8_t | , |
8 | |||
) |
read_frame_fn | ( | uint16_t | , |
10 | |||
) |
|
static |
Definition at line 157 of file vf_libvmaf.c.
Referenced by call_vmaf().
Definition at line 179 of file vf_libvmaf.c.
Referenced by config_input_ref().
|
static |
Definition at line 194 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 231 of file vf_libvmaf.c.
|
static |
Definition at line 247 of file vf_libvmaf.c.
|
static |
Definition at line 262 of file vf_libvmaf.c.
|
static |
Definition at line 292 of file vf_libvmaf.c.
|
static |
Definition at line 313 of file vf_libvmaf.c.
|
static |
Definition at line 319 of file vf_libvmaf.c.
|
static |
Definition at line 74 of file vf_libvmaf.c.
|
static |
Definition at line 343 of file vf_libvmaf.c.
|
static |
Definition at line 355 of file vf_libvmaf.c.
AVFilter ff_vf_libvmaf |
Definition at line 364 of file vf_libvmaf.c.