FFmpeg
|
#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 |
Functions | |
FRAMESYNC_DEFINE_CLASS (libvmaf, LIBVMAFContext, fs) | |
static enum VmafPixelFormat | pix_fmt_map (enum AVPixelFormat av_pix_fmt) |
static int | copy_picture_data (AVFrame *src, VmafPicture *dst, unsigned bpc) |
static int | do_vmaf (FFFrameSync *fs) |
static AVDictionary ** | delimited_dict_parse (char *str, unsigned *cnt) |
static int | parse_features (AVFilterContext *ctx) |
static int | parse_models (AVFilterContext *ctx) |
static enum VmafLogLevel | log_level_map (int log_level) |
static int | parse_deprecated_options (AVFilterContext *ctx) |
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 enum VmafOutputFormat | log_fmt_map (const char *log_fmt) |
static enum VmafPoolingMethod | pool_method_map (const char *pool_method) |
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 63 of file vf_libvmaf.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 64 of file vf_libvmaf.c.
FRAMESYNC_DEFINE_CLASS | ( | libvmaf | , |
LIBVMAFContext | , | ||
fs | |||
) |
|
static |
Definition at line 86 of file vf_libvmaf.c.
Referenced by copy_picture_data().
Definition at line 109 of file vf_libvmaf.c.
Referenced by do_vmaf().
|
static |
Definition at line 130 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 167 of file vf_libvmaf.c.
Referenced by parse_features(), and parse_models().
|
static |
Definition at line 219 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 274 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 406 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 424 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 510 of file vf_libvmaf.c.
|
static |
Definition at line 547 of file vf_libvmaf.c.
|
static |
Definition at line 578 of file vf_libvmaf.c.
|
static |
Definition at line 599 of file vf_libvmaf.c.
|
static |
Definition at line 605 of file vf_libvmaf.c.
Referenced by uninit().
|
static |
Definition at line 621 of file vf_libvmaf.c.
Referenced by uninit().
|
static |
Definition at line 635 of file vf_libvmaf.c.
|
static |
Definition at line 66 of file vf_libvmaf.c.
|
static |
Definition at line 541 of file vf_libvmaf.c.
|
static |
Definition at line 681 of file vf_libvmaf.c.
|
static |
Definition at line 692 of file vf_libvmaf.c.
const AVFilter ff_vf_libvmaf |
Definition at line 700 of file vf_libvmaf.c.