|
|
|
@ -13,31 +13,31 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Common |
|
|
|
internal static class FastFloatingPointDCT |
|
|
|
{ |
|
|
|
#pragma warning disable SA1310 // FieldNamesMustNotContainUnderscore
|
|
|
|
private static readonly float C_1_175876 = 1.175875602f; |
|
|
|
private const float C_1_175876 = 1.175875602f; |
|
|
|
|
|
|
|
private static readonly float C_1_961571 = -1.961570560f; |
|
|
|
private const float C_1_961571 = -1.961570560f; |
|
|
|
|
|
|
|
private static readonly float C_0_390181 = -0.390180644f; |
|
|
|
private const float C_0_390181 = -0.390180644f; |
|
|
|
|
|
|
|
private static readonly float C_0_899976 = -0.899976223f; |
|
|
|
private const float C_0_899976 = -0.899976223f; |
|
|
|
|
|
|
|
private static readonly float C_2_562915 = -2.562915447f; |
|
|
|
private const float C_2_562915 = -2.562915447f; |
|
|
|
|
|
|
|
private static readonly float C_0_298631 = 0.298631336f; |
|
|
|
private const float C_0_298631 = 0.298631336f; |
|
|
|
|
|
|
|
private static readonly float C_2_053120 = 2.053119869f; |
|
|
|
private const float C_2_053120 = 2.053119869f; |
|
|
|
|
|
|
|
private static readonly float C_3_072711 = 3.072711026f; |
|
|
|
private const float C_3_072711 = 3.072711026f; |
|
|
|
|
|
|
|
private static readonly float C_1_501321 = 1.501321110f; |
|
|
|
private const float C_1_501321 = 1.501321110f; |
|
|
|
|
|
|
|
private static readonly float C_0_541196 = 0.541196100f; |
|
|
|
private const float C_0_541196 = 0.541196100f; |
|
|
|
|
|
|
|
private static readonly float C_1_847759 = -1.847759065f; |
|
|
|
private const float C_1_847759 = -1.847759065f; |
|
|
|
|
|
|
|
private static readonly float C_0_765367 = 0.765366865f; |
|
|
|
private const float C_0_765367 = 0.765366865f; |
|
|
|
|
|
|
|
private static readonly float C_0_125 = 0.1250f; |
|
|
|
private const float C_0_125 = 0.1250f; |
|
|
|
#pragma warning restore SA1310 // FieldNamesMustNotContainUnderscore
|
|
|
|
private static readonly Vector4 InvSqrt2 = new Vector4(0.707107f); |
|
|
|
|
|
|
|
|