diff --git a/src/ImageSharp/Formats/Jxl/Fields/JxlBitsCoder.cs b/src/ImageSharp/Formats/Jxl/Fields/JxlBitsCoder.cs index 398587baa..0b2640467 100644 --- a/src/ImageSharp/Formats/Jxl/Fields/JxlBitsCoder.cs +++ b/src/ImageSharp/Formats/Jxl/Fields/JxlBitsCoder.cs @@ -1,8 +1,7 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -using System.Runtime.CompilerServices; -using SixLabors.ImageSharp.Formats.Jxl.IO; +using SixLabors.ImageSharp.Formats.Jxl.Processing.Decoder; namespace SixLabors.ImageSharp.Formats.Jxl.Fields; @@ -17,7 +16,6 @@ internal static class JxlBitsCoder /// // Looks like that's what the function does (fields.cc:406): // it returns whatever is passed to it. - [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int MaxEncodedBits(int bits) => bits; public static bool CanEncode(int bits, uint value, ref int encodedBits) diff --git a/src/ImageSharp/Formats/Jxl/Fields/JxlF16Coder.cs b/src/ImageSharp/Formats/Jxl/Fields/JxlF16Coder.cs index 3c4126c4b..d45b0968a 100644 --- a/src/ImageSharp/Formats/Jxl/Fields/JxlF16Coder.cs +++ b/src/ImageSharp/Formats/Jxl/Fields/JxlF16Coder.cs @@ -2,7 +2,7 @@ // Licensed under the Six Labors Split License. using System.Runtime.CompilerServices; -using SixLabors.ImageSharp.Formats.Jxl.IO; +using SixLabors.ImageSharp.Formats.Jxl.Processing.Decoder; namespace SixLabors.ImageSharp.Formats.Jxl.Fields; @@ -15,7 +15,6 @@ internal static class JxlF16Coder /// Always returns 16, which is the maximum possible encoded bits. /// The F16 coder always reads 16 bits from the bitstream. /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int MaxEncodedBits() => 16; /// @@ -24,7 +23,6 @@ internal static class JxlF16Coder /// Also stores the maximum encodeable bits into encodedBits (which is /// always 16). /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool CanEncode(float value, ref int encodedBits) { encodedBits = MaxEncodedBits(); diff --git a/src/ImageSharp/Formats/Jxl/Fields/JxlU32Coder.cs b/src/ImageSharp/Formats/Jxl/Fields/JxlU32Coder.cs index b097311ab..8cd2fe7ea 100644 --- a/src/ImageSharp/Formats/Jxl/Fields/JxlU32Coder.cs +++ b/src/ImageSharp/Formats/Jxl/Fields/JxlU32Coder.cs @@ -1,7 +1,6 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -using System.Runtime.CompilerServices; using SixLabors.ImageSharp.Formats.Jxl.Processing.Decoder; namespace SixLabors.ImageSharp.Formats.Jxl.Fields; @@ -14,7 +13,6 @@ internal static class JxlU32Coder /// /// Maximum number of writeable and/or readable bits in a variable-length integer. /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] public static int MaxEncodedBits(in JxlU32Enc enc) { int extraBits = 0; diff --git a/src/ImageSharp/Formats/Jxl/Fields/JxlU64Coder.cs b/src/ImageSharp/Formats/Jxl/Fields/JxlU64Coder.cs index ba121cafe..659b6f994 100644 --- a/src/ImageSharp/Formats/Jxl/Fields/JxlU64Coder.cs +++ b/src/ImageSharp/Formats/Jxl/Fields/JxlU64Coder.cs @@ -1,7 +1,7 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -using SixLabors.ImageSharp.Formats.Jxl.IO; +using SixLabors.ImageSharp.Formats.Jxl.Processing.Decoder; namespace SixLabors.ImageSharp.Formats.Jxl.Fields;