|
|
@ -115,6 +115,7 @@ namespace SixLabors.ImageSharp.PixelFormats |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
internal override void PackFromVector4(ReadOnlySpan<Vector4> sourceVectors, Span<Rgba32> destColors, int count) |
|
|
internal override void PackFromVector4(ReadOnlySpan<Vector4> sourceVectors, Span<Rgba32> destColors, int count) |
|
|
{ |
|
|
{ |
|
|
GuardSpans(sourceVectors, nameof(sourceVectors), destColors, nameof(destColors), count); |
|
|
GuardSpans(sourceVectors, nameof(sourceVectors), destColors, nameof(destColors), count); |
|
|
@ -144,6 +145,18 @@ namespace SixLabors.ImageSharp.PixelFormats |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
|
internal override void ToScaledVector4(ReadOnlySpan<Rgba32> sourceColors, Span<Vector4> destinationVectors, int count) |
|
|
|
|
|
{ |
|
|
|
|
|
this.ToVector4(sourceColors, destinationVectors, count); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
|
internal override void PackFromScaledVector4(ReadOnlySpan<Vector4> sourceVectors, Span<Rgba32> destinationColors, int count) |
|
|
|
|
|
{ |
|
|
|
|
|
this.PackFromVector4(sourceVectors, destinationColors, count); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
/// <inheritdoc />
|
|
|
internal override void PackFromRgba32(ReadOnlySpan<Rgba32> source, Span<Rgba32> destPixels, int count) |
|
|
internal override void PackFromRgba32(ReadOnlySpan<Rgba32> source, Span<Rgba32> destPixels, int count) |
|
|
{ |
|
|
{ |
|
|
|