Browse Source

Use parallel options

Former-commit-id: aae845c84ad301e7d943131659014bae575fb5c6
Former-commit-id: 261f2e2042032e8c7ac8e4da0f18b44faa969b1c
Former-commit-id: 1d4b93a2b7e871ef95a647915d2d30a459617d7e
af/merge-core
James Jackson-South 10 years ago
parent
commit
904f06bb33
  1. 5
      src/ImageProcessorCore/Samplers/Processors/RotateFlipProcessor.cs

5
src/ImageProcessorCore/Samplers/Processors/RotateFlipProcessor.cs

@ -86,6 +86,7 @@ namespace ImageProcessorCore.Processors
Parallel.For(
0,
height,
Bootstrapper.Instance.ParallelOptions,
y =>
{
for (int x = 0; x < width; x++)
@ -122,6 +123,7 @@ namespace ImageProcessorCore.Processors
Parallel.For(
0,
height,
Bootstrapper.Instance.ParallelOptions,
y =>
{
for (int x = 0; x < width; x++)
@ -155,6 +157,7 @@ namespace ImageProcessorCore.Processors
Parallel.For(
0,
height,
Bootstrapper.Instance.ParallelOptions,
y =>
{
for (int x = 0; x < width; x++)
@ -191,6 +194,7 @@ namespace ImageProcessorCore.Processors
Parallel.For(
0,
halfHeight,
Bootstrapper.Instance.ParallelOptions,
y =>
{
for (int x = 0; x < width; x++)
@ -226,6 +230,7 @@ namespace ImageProcessorCore.Processors
Parallel.For(
0,
height,
Bootstrapper.Instance.ParallelOptions,
y =>
{
for (int x = 0; x < halfWidth; x++)

Loading…
Cancel
Save