Browse Source

Use ParallelOptions everywhere.

Former-commit-id: 8bba0d7876f26688f1b7107107f3d5423f590cb5
Former-commit-id: cd6dc1e39f39c584ef1e75cc30f64f714a30b5ef
Former-commit-id: 82b0d1b2dce9d947518ea330cc0957aa9b0f084a
af/merge-core
James Jackson-South 10 years ago
parent
commit
032ea7ce8d
  1. 4
      src/ImageProcessorCore/Formats/Bmp/BmpDecoderCore.cs

4
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);

Loading…
Cancel
Save