Browse Source

Prefer const

pull/3153/head
winscripter 1 month ago
parent
commit
a1cae71e4d
  1. 4
      src/ImageSharp/Formats/Jxl/Processing/Butteraugli/Butteraugli.cs

4
src/ImageSharp/Formats/Jxl/Processing/Butteraugli/Butteraugli.cs

@ -36,10 +36,10 @@ internal static class Butteraugli
private const float IntensityTargetNormalizationHack = 0.79079917404f;
private static readonly float InternalGoodQualityThreshold =
private const float InternalGoodQualityThreshold =
17.83f * IntensityTargetNormalizationHack;
private static readonly float GlobalScale =
private const float GlobalScale =
1.0f / InternalGoodQualityThreshold;
public static ReadOnlySpan<double> Wmul =>

Loading…
Cancel
Save