libvmaf
Loading...
Searching...
No Matches
vif_options.h
Go to the documentation of this file.
1
18
19#pragma once
20
21#ifndef VIF_OPTIONS_H_
22#define VIF_OPTIONS_H_
23
24/* Whether to use an alternate arrangement of the core VIF statistic. */
25#define VIF_OPT_ALTERNATE_STATISTIC
26
27/* Whether to use an approximate implementation of log2 / log2f. */
28#define VIF_OPT_FAST_LOG2
29
30/* Whether to save intermedate results to files. */
31/* #define VIF_OPT_DEBUG_DUMP */
32
33/* Whether to keep the borders of the image after filtering. */
34#define VIF_OPT_HANDLE_BORDERS
35
36/* Enhancement gain imposed on vif, must be >= 1.0, where 1.0 means the gain is completely disabled */
37#define DEFAULT_VIF_ENHN_GAIN_LIMIT (100.0)
38
39/* Scaling factor for the Gaussian kernel, where 2.0 means multiplying the
40 * standard deviation by 2 and expand the kernel length accordingly. */
41#define DEFAULT_VIF_KERNELSCALE (1.0)
42
43/* Scaling factor for the frame, where 2.0 means multiplying the frame width and height by 2 */
44#define DEFAULT_VIF_PRESCALE (1.0)
45
46/* Scaling method for the frame, supported options: [nearest, bilinear, bicubic, lanczos4] */
47#define DEFAULT_VIF_PRESCALE_METHOD ("nearest")
48
49#endif /* VIF_OPTIONS_H_ */