Skip to content

Commit f0cb89e

Browse files
committed
Change IsSupported check from SSE2 to Ssse3
1 parent 50013d7 commit f0cb89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ public static void HFilter8i(Span<byte> u, Span<byte> v, int offset, int stride,
945945
public static void Mean16x4(Span<byte> input, Span<uint> dc)
946946
{
947947
#if SUPPORTS_RUNTIME_INTRINSICS
948-
if (Sse2.IsSupported)
948+
if (Ssse3.IsSupported)
949949
{
950950
Vector128<byte> a0 = Unsafe.As<byte, Vector128<byte>>(ref MemoryMarshal.GetReference(input));
951951
Vector128<byte> a1 = Unsafe.As<byte, Vector128<byte>>(ref MemoryMarshal.GetReference(input.Slice(WebpConstants.Bps, 16)));

0 commit comments

Comments
 (0)