From 0d9c160ea506df97aabef903a46df40ad507833d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20Pint=C3=A9r?= Date: Fri, 11 Mar 2022 11:52:12 +0100 Subject: [PATCH] comment Tweak --- avs_core/filters/levels.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avs_core/filters/levels.cpp b/avs_core/filters/levels.cpp index a7cf5ecf5..d6b92f76a 100644 --- a/avs_core/filters/levels.cpp +++ b/avs_core/filters/levels.cpp @@ -1500,6 +1500,8 @@ static bool ProcessPixel(double X, double Y, double startHue, double endHue, if (p == 0.0) return false; // Interpolation range is +/-p for p>0 + // 180 is not in degrees! + // its sqrt(127^2 + 127^2): max overshoot for 8 bits; U and V is 0 +/- 127 const double max = min(maxSat + p, 180.0); const double min = ::max(minSat - p, 0.0);