From 904f06bb330232dd7d7ee2e2e064fead48599adf Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sat, 30 Jul 2016 11:57:47 +1000 Subject: [PATCH] Use parallel options Former-commit-id: aae845c84ad301e7d943131659014bae575fb5c6 Former-commit-id: 261f2e2042032e8c7ac8e4da0f18b44faa969b1c Former-commit-id: 1d4b93a2b7e871ef95a647915d2d30a459617d7e --- .../Samplers/Processors/RotateFlipProcessor.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ImageProcessorCore/Samplers/Processors/RotateFlipProcessor.cs b/src/ImageProcessorCore/Samplers/Processors/RotateFlipProcessor.cs index 5ca46cd44..3ea12c369 100644 --- a/src/ImageProcessorCore/Samplers/Processors/RotateFlipProcessor.cs +++ b/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++)