diff options
author | 2016-04-18 20:25:28 +0200 | |
---|---|---|
committer | 2016-04-19 21:13:20 +0200 | |
commit | 8ed3a7d94a65ee01bf1adce3ea8118c04d41a18d (patch) | |
tree | ef8996c9bae5d8498b45064924d0831a285e8434 /src/osd/windows/winmain.h | |
parent | a86983713dffcc926c50227a9e26091022bbc32c (diff) |
Refactored distortion pass
- separated curvature parameter into distortion, cubic_distortion and distort_corner
- distortion and cubic_distortion can be negative, to compensate each other
- distort_corner is intependent from the image distortion
Diffstat (limited to 'src/osd/windows/winmain.h')
-rw-r--r-- | src/osd/windows/winmain.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h index 94d422a545b..48559039d0f 100644 --- a/src/osd/windows/winmain.h +++ b/src/osd/windows/winmain.h @@ -42,7 +42,9 @@ #define WINOPTION_SHADOW_MASK_UOFFSET "shadow_mask_uoffset" #define WINOPTION_SHADOW_MASK_VOFFSET "shadow_mask_voffset" #define WINOPTION_REFLECTION "reflection" -#define WINOPTION_CURVATURE "curvature" +#define WINOPTION_DISTORTION "distortion" +#define WINOPTION_CUBIC_DISTORTION "cubic_distortion" +#define WINOPTION_DISTORT_CORNER "distort_corner" #define WINOPTION_ROUND_CORNER "round_corner" #define WINOPTION_SMOOTH_BORDER "smooth_border" #define WINOPTION_VIGNETTING "vignetting" @@ -149,7 +151,9 @@ public: float screen_scanline_jitter() const { return float_value(WINOPTION_SCANLINE_JITTER); } float screen_hum_bar_alpha() const { return float_value(WINOPTION_HUM_BAR_ALPHA); } float screen_reflection() const { return float_value(WINOPTION_REFLECTION); } - float screen_curvature() const { return float_value(WINOPTION_CURVATURE); } + float screen_distortion() const { return float_value(WINOPTION_DISTORTION); } + float screen_cubic_distortion() const { return float_value(WINOPTION_CUBIC_DISTORTION); } + float screen_distort_corner() const { return float_value(WINOPTION_DISTORT_CORNER); } float screen_round_corner() const { return float_value(WINOPTION_ROUND_CORNER); } float screen_smooth_border() const { return float_value(WINOPTION_SMOOTH_BORDER); } float screen_vignetting() const { return float_value(WINOPTION_VIGNETTING); } |