libvmaf
Loading...
Searching...
No Matches
adm_options.h
Go to the documentation of this file.
1
18
19#pragma once
20
21#ifndef ADM_OPTIONS_H_
22#define ADM_OPTIONS_H_
23
24/* Percentage of frame to discard on all 4 sides */
25#define ADM_BORDER_FACTOR (0.1)
26
27/* Whether to use a trigonometry-free method for comparing angles. */
28#define ADM_OPT_AVOID_ATAN
29
30/* Whether to save intermediate results to files. */
31/* #define ADM_OPT_DEBUG_DUMP */
32
33/* Whether to perform division by reciprocal-multiplication. */
34#define ADM_OPT_RECIP_DIVISION
35
36/* Enhancement gain imposed on adm, must be >= 1.0, where 1.0 means the gain is completely disabled */
37#define DEFAULT_ADM_ENHN_GAIN_LIMIT (100.0)
38
39/* normalized viewing distance = viewing distance / ref display's physical height */
40#define DEFAULT_ADM_NORM_VIEW_DIST (3.0)
41
42/* reference display height in pixels */
43#define DEFAULT_ADM_REF_DISPLAY_HEIGHT (1080)
44
45/* noise multiplicative weight */
46#define DEFAULT_ADM_NOISE_WEIGHT (0.03125)
47
48/* CSF scale factor */
49#define DEFAULT_ADM_CSF_SCALE (1.0)
50
51/* CSF diagonal scale factor */
52#define DEFAULT_ADM_CSF_DIAG_SCALE (1.0)
53
54/* Contrast sensitivity function */
60
61/* Default contrast sensitivity function */
62#define DEFAULT_ADM_CSF_MODE (ADM_CSF_MODE_WATSON97)
63
64/* Default luminance level (in cd/m2) for contrast sensitivity function calculation */
65#define DEFAULT_ADM_CSF_LUMINANCE_LEVEL (100.0)
66
67/* Default minimum value allowed for the feature */
68#define DEFAULT_ADM_MIN_VAL (0.0)
69
70#endif /* ADM_OPTIONS_H_ */
ADM_CSF_MODE
Definition adm_options.h:55
@ ADM_CSF_MODE_WATSON97
Definition adm_options.h:56
@ ADM_CSF_MODE_ADM
Definition adm_options.h:58
@ ADM_CSF_MODE_BARTEN
Definition adm_options.h:57