|
|
@ -54,7 +54,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Normalization |
|
|
ParallelFor.WithConfiguration( |
|
|
ParallelFor.WithConfiguration( |
|
|
0, |
|
|
0, |
|
|
source.Width, |
|
|
source.Width, |
|
|
Configuration.Default, |
|
|
configuration, |
|
|
x => |
|
|
x => |
|
|
{ |
|
|
{ |
|
|
using (System.Buffers.IMemoryOwner<int> histogramBuffer = memoryAllocator.Allocate<int>(this.LuminanceLevels, AllocationOptions.Clean)) |
|
|
using (System.Buffers.IMemoryOwner<int> histogramBuffer = memoryAllocator.Allocate<int>(this.LuminanceLevels, AllocationOptions.Clean)) |
|
|
|