Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change IsSupported check from SSE2 to Ssse3
  • Loading branch information
brianpopow committed Nov 9, 2021
commit f0cb89e811be0fefc6a5a4d2f76797e7a2d8822c
2 changes: 1 addition & 1 deletion src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ public static void HFilter8i(Span<byte> u, Span<byte> v, int offset, int stride,
public static void Mean16x4(Span<byte> input, Span<uint> dc)
{
#if SUPPORTS_RUNTIME_INTRINSICS
if (Sse2.IsSupported)
if (Ssse3.IsSupported)
{
Vector128<byte> a0 = Unsafe.As<byte, Vector128<byte>>(ref MemoryMarshal.GetReference(input));
Vector128<byte> a1 = Unsafe.As<byte, Vector128<byte>>(ref MemoryMarshal.GetReference(input.Slice(WebpConstants.Bps, 16)));
Expand Down