|
libvmaf
|
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 |
Configuration needed to initialize a VmafContext.
| log_level | How verbose the logger is. |
| n_threads | How many threads can be used to run feature extractors concurrently. |
| n_subsample | Compute 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 |
| cpumask | Restrict 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 |
| gpumask | Restrict permitted GPU operations. if gpumask: disable CUDA |
| uint64_t VmafConfiguration::cpumask |
| uint64_t VmafConfiguration::gpumask |
| enum VmafLogLevel VmafConfiguration::log_level |
| unsigned VmafConfiguration::n_subsample |
| unsigned VmafConfiguration::n_threads |