FFmpeg
4.0
|
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 67 of file vf_libvmaf.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 68 of file vf_libvmaf.c.
#define read_frame_fn | ( | type, | |
bits | |||
) |
Definition at line 85 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 150 of file vf_libvmaf.c.
Referenced by call_vmaf().
Definition at line 171 of file vf_libvmaf.c.
Referenced by config_input_ref().
|
static |
Definition at line 186 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 223 of file vf_libvmaf.c.
|
static |
Definition at line 238 of file vf_libvmaf.c.
|
static |
Definition at line 253 of file vf_libvmaf.c.
|
static |
Definition at line 282 of file vf_libvmaf.c.
|
static |
Definition at line 303 of file vf_libvmaf.c.
|
static |
Definition at line 309 of file vf_libvmaf.c.
|
static |
Definition at line 70 of file vf_libvmaf.c.
|
static |
Definition at line 329 of file vf_libvmaf.c.
|
static |
Definition at line 341 of file vf_libvmaf.c.
AVFilter ff_vf_libvmaf |
Definition at line 350 of file vf_libvmaf.c.