Browse Source
Update src/ImageSharp/Formats/Jpeg/Components/ColorConverters/JpegColorConverter.RgbArm.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
pull/2397/head
Stefan Nikolei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Formats/Jpeg/Components/ColorConverters/JpegColorConverter.RgbArm.cs
|
|
|
@ -30,7 +30,7 @@ internal abstract partial class JpegColorConverterBase |
|
|
|
|
|
|
|
// Used for the color conversion
|
|
|
|
var scale = Vector128.Create(1 / this.MaximumValue); |
|
|
|
nint n = values.Component0.Length / Vector128<float>.Count; |
|
|
|
nint n = (nint)(uint)values.Component0.Length / Vector128<float>.Count; |
|
|
|
for (nint i = 0; i < n; i++) |
|
|
|
{ |
|
|
|
ref Vector128<float> r = ref Unsafe.Add(ref rBase, i); |
|
|
|
|