libvmaf
Loading...
Searching...
No Matches
VmafConfiguration Struct Reference

Configuration needed to initialize a VmafContext. More...

#include <libvmaf.h>

Data Fields

enum VmafLogLevel log_level
unsigned n_threads
unsigned n_subsample
uint64_t cpumask
uint64_t gpumask

Detailed Description

Configuration needed to initialize a VmafContext.

Parameters
log_levelHow verbose the logger is.
n_threadsHow many threads can be used to run feature extractors concurrently.
n_subsampleCompute scores only every N frames. Note that setting an even value for N can lead to inaccurate results. For more detail, see https://github.com/Netflix/vmaf/issues/1214
cpumaskRestrict permitted CPU instruction sets. if cpumask & 1: disable SSE2 / disable NEON (on arm64) if cpumask & 2: disable SSE3/SSSE3 if cpumask & 4: disable SSE4.1 if cpumask & 8: disable AVX2 if cpumask & 16: disable AVX512 if cpumask & 32: disable AVX512ICL
gpumaskRestrict permitted GPU operations. if gpumask: disable CUDA

Field Documentation

◆ cpumask

uint64_t VmafConfiguration::cpumask

◆ gpumask

uint64_t VmafConfiguration::gpumask

◆ log_level

enum VmafLogLevel VmafConfiguration::log_level

◆ n_subsample

unsigned VmafConfiguration::n_subsample

◆ n_threads

unsigned VmafConfiguration::n_threads

The documentation for this struct was generated from the following file: