@ -47,10 +47,7 @@ internal interface IShuffle4 : IComponentShuffle
internal readonly struct DefaultShuffle4 : IShuffle4
{
public DefaultShuffle4(byte control)
DebugGuard.MustBeBetweenOrEqualTo<byte>(control, 0, 3, nameof(control));
this.Control = control;
}
=> this.Control = control;
public byte Control { get; }
@ -15,10 +15,7 @@ internal interface IPad3Shuffle4 : IComponentShuffle
internal readonly struct DefaultPad3Shuffle4 : IPad3Shuffle4
public DefaultPad3Shuffle4(byte control)
@ -15,10 +15,7 @@ internal interface IShuffle3 : IComponentShuffle
internal readonly struct DefaultShuffle3 : IShuffle3
public DefaultShuffle3(byte control)
@ -15,10 +15,7 @@ internal interface IShuffle4Slice3 : IComponentShuffle
internal readonly struct DefaultShuffle4Slice3 : IShuffle4Slice3
public DefaultShuffle4Slice3(byte control)
@ -1,9 +1,7 @@
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Runtime.InteropServices;
using BenchmarkDotNet.Attributes;
using Iced.Intel;
namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk;