From 032ea7ce8de6ee022294e72d446c3dedc5140b92 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Mon, 18 Jul 2016 11:16:56 +1000 Subject: [PATCH] Use ParallelOptions everywhere. Former-commit-id: 8bba0d7876f26688f1b7107107f3d5423f590cb5 Former-commit-id: cd6dc1e39f39c584ef1e75cc30f64f714a30b5ef Former-commit-id: 82b0d1b2dce9d947518ea330cc0957aa9b0f084a --- src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs b/src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs index c964dec48..ebf56ef85 100644 --- a/src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs +++ b/src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs @@ -222,6 +222,7 @@ namespace ImageProcessorCore.Formats Parallel.For( 0, height, + Bootstrapper.Instance.ParallelOptions, y => { int rowOffset = y * (arrayWidth + alignment); @@ -272,6 +273,7 @@ namespace ImageProcessorCore.Formats Parallel.For( 0, height, + Bootstrapper.Instance.ParallelOptions, y => { int rowOffset = y * ((width * 2) + alignment); @@ -318,6 +320,7 @@ namespace ImageProcessorCore.Formats Parallel.For( 0, height, + Bootstrapper.Instance.ParallelOptions, y => { int rowOffset = y * ((width * 3) + alignment); @@ -358,6 +361,7 @@ namespace ImageProcessorCore.Formats Parallel.For( 0, height, + Bootstrapper.Instance.ParallelOptions, y => { int rowOffset = y * ((width * 4) + alignment);