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 129 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 166 of file vf_libvmaf.c.
Referenced by parse_features(), and parse_models().
|
static |
Definition at line 218 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 273 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 405 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 423 of file vf_libvmaf.c.
Referenced by init().
|
static |
Definition at line 509 of file vf_libvmaf.c.
|
static |
Definition at line 546 of file vf_libvmaf.c.
|
static |
Definition at line 577 of file vf_libvmaf.c.
|
static |
Definition at line 598 of file vf_libvmaf.c.
|
static |
Definition at line 604 of file vf_libvmaf.c.
Referenced by uninit().
|
static |
Definition at line 620 of file vf_libvmaf.c.
Referenced by uninit().
|
static |
Definition at line 634 of file vf_libvmaf.c.
|
static |
Definition at line 66 of file vf_libvmaf.c.
|
static |
Definition at line 540 of file vf_libvmaf.c.
|
static |
Definition at line 680 of file vf_libvmaf.c.
|
static |
Definition at line 691 of file vf_libvmaf.c.
const AVFilter ff_vf_libvmaf |
Definition at line 699 of file vf_libvmaf.c.