FFmpeg
|
#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 | 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 enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | libvmaf_inputs [] |
static const AVFilterPad | libvmaf_outputs [] |
const 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.
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 158 of file vf_libvmaf.c.
Referenced by call_vmaf().
|
static |
Definition at line 180 of file vf_libvmaf.c.
Referenced by config_input_ref().
|
static |
Definition at line 195 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 232 of file vf_libvmaf.c.
|
static |
Definition at line 257 of file vf_libvmaf.c.
|
static |
Definition at line 283 of file vf_libvmaf.c.
|
static |
Definition at line 304 of file vf_libvmaf.c.
|
static |
Definition at line 310 of file vf_libvmaf.c.
|
static |
Definition at line 74 of file vf_libvmaf.c.
|
static |
Definition at line 251 of file vf_libvmaf.c.
|
static |
Definition at line 334 of file vf_libvmaf.c.
|
static |
Definition at line 345 of file vf_libvmaf.c.
const AVFilter ff_vf_libvmaf |
Definition at line 353 of file vf_libvmaf.c.