Browse Source

rename namespace: SixLabors.ImageSharp.Memory -> SixLabors.Memory

af/merge-core
Anton Firszov 8 years ago
parent
commit
85d7548049
  1. 2
      src/ImageSharp.Drawing/Primitives/ShapeRegion.cs
  2. 2
      src/ImageSharp.Drawing/Processing/Drawing/Brushes/BrushApplicator.cs
  3. 2
      src/ImageSharp.Drawing/Processing/Drawing/Brushes/ImageBrush{TPixel}.cs
  4. 2
      src/ImageSharp.Drawing/Processing/Drawing/Brushes/PatternBrush{TPixel}.cs
  5. 2
      src/ImageSharp.Drawing/Processing/Drawing/Brushes/RecolorBrush{TPixel}.cs
  6. 2
      src/ImageSharp.Drawing/Processing/Drawing/Brushes/SolidBrush{TPixel}.cs
  7. 2
      src/ImageSharp.Drawing/Processing/Drawing/Processors/DrawImageProcessor.cs
  8. 2
      src/ImageSharp.Drawing/Processing/Drawing/Processors/FillProcessor.cs
  9. 2
      src/ImageSharp.Drawing/Processing/Drawing/Processors/FillRegionProcessor.cs
  10. 2
      src/ImageSharp/Advanced/AdvancedImageExtensions.cs
  11. 2
      src/ImageSharp/Advanced/IPixelSource.cs
  12. 2
      src/ImageSharp/Common/Helpers/ParallelFor.cs
  13. 2
      src/ImageSharp/Configuration.cs
  14. 2
      src/ImageSharp/Formats/Bmp/BmpDecoderCore.cs
  15. 2
      src/ImageSharp/Formats/Bmp/BmpEncoderCore.cs
  16. 2
      src/ImageSharp/Formats/Gif/GifDecoderCore.cs
  17. 2
      src/ImageSharp/Formats/Gif/GifEncoderCore.cs
  18. 2
      src/ImageSharp/Formats/Gif/LzwDecoder.cs
  19. 2
      src/ImageSharp/Formats/Gif/LzwEncoder.cs
  20. 2
      src/ImageSharp/Formats/Jpeg/Components/Block8x8F.CopyTo.cs
  21. 2
      src/ImageSharp/Formats/Jpeg/Components/Decoder/ColorConverters/JpegColorConverter.cs
  22. 2
      src/ImageSharp/Formats/Jpeg/Components/Decoder/IJpegComponent.cs
  23. 2
      src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegBlockPostProcessor.cs
  24. 2
      src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegComponentPostProcessor.cs
  25. 4
      src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegImagePostProcessor.cs
  26. 3
      src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs
  27. 2
      src/ImageSharp/Formats/Jpeg/GolangPort/Components/Decoder/GolangComponent.cs
  28. 2
      src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/DoubleBufferedStreamReader.cs
  29. 2
      src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsFrameComponent.cs
  30. 2
      src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsHuffmanTable.cs
  31. 2
      src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsScanDecoder.cs
  32. 2
      src/ImageSharp/Formats/Jpeg/PdfJsPort/PdfJsJpegDecoderCore.cs
  33. 2
      src/ImageSharp/Formats/Png/PngChunk.cs
  34. 2
      src/ImageSharp/Formats/Png/PngDecoderCore.cs
  35. 2
      src/ImageSharp/Formats/Png/PngEncoderCore.cs
  36. 2
      src/ImageSharp/Image.Decode.cs
  37. 2
      src/ImageSharp/Image.WrapMemory.cs
  38. 2
      src/ImageSharp/ImageFrameCollection.cs
  39. 2
      src/ImageSharp/ImageFrame{TPixel}.cs
  40. 2
      src/ImageSharp/Image{TPixel}.cs
  41. 2
      src/ImageSharp/Memory/ArrayPoolMemoryAllocator.Buffer{T}.cs
  42. 2
      src/ImageSharp/Memory/ArrayPoolMemoryAllocator.CommonFactoryMethods.cs
  43. 4
      src/ImageSharp/Memory/ArrayPoolMemoryAllocator.cs
  44. 4
      src/ImageSharp/Memory/BasicArrayBuffer.cs
  45. 5
      src/ImageSharp/Memory/BasicByteBuffer.cs
  46. 2
      src/ImageSharp/Memory/Buffer2DExtensions.cs
  47. 6
      src/ImageSharp/Memory/Buffer2D{T}.cs
  48. 12
      src/ImageSharp/Memory/BufferArea{T}.cs
  49. 2
      src/ImageSharp/Memory/BufferExtensions.cs
  50. 2
      src/ImageSharp/Memory/ConsumedBuffer.cs
  51. 2
      src/ImageSharp/Memory/IBuffer2D{T}.cs
  52. 2
      src/ImageSharp/Memory/IBuffer{T}.cs
  53. 2
      src/ImageSharp/Memory/IManagedByteBuffer.cs
  54. 2
      src/ImageSharp/Memory/ManagedBufferBase.cs
  55. 2
      src/ImageSharp/Memory/MemoryAllocator.cs
  56. 2
      src/ImageSharp/Memory/MemoryAllocatorExtensions.cs
  57. 2
      src/ImageSharp/Memory/SimpleGcMemoryAllocator.cs
  58. 2
      src/ImageSharp/PixelAccessor{TPixel}.cs
  59. 2
      src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.cs
  60. 2
      src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs
  61. 2
      src/ImageSharp/PixelFormats/Rgba32.PixelOperations.cs
  62. 2
      src/ImageSharp/Processing/Convolution/Processors/Convolution2DProcessor.cs
  63. 2
      src/ImageSharp/Processing/Convolution/Processors/Convolution2PassProcessor.cs
  64. 2
      src/ImageSharp/Processing/Convolution/Processors/ConvolutionProcessor.cs
  65. 1
      src/ImageSharp/Processing/Convolution/Processors/SobelProcessor.cs
  66. 2
      src/ImageSharp/Processing/DefaultInternalImageProcessorContext.cs
  67. 2
      src/ImageSharp/Processing/Effects/Processors/OilPaintingProcessor.cs
  68. 2
      src/ImageSharp/Processing/IImageProcessingContext{TPixel}.cs
  69. 2
      src/ImageSharp/Processing/Overlays/Processors/BackgroundColorProcessor.cs
  70. 2
      src/ImageSharp/Processing/Overlays/Processors/GlowProcessor.cs
  71. 2
      src/ImageSharp/Processing/Overlays/Processors/VignetteProcessor.cs
  72. 2
      src/ImageSharp/Processing/Quantization/FrameQuantizers/WuFrameQuantizer{TPixel}.cs
  73. 2
      src/ImageSharp/Processing/Transforms/Processors/AffineTransformProcessor.cs
  74. 1
      src/ImageSharp/Processing/Transforms/Processors/CropProcessor.cs
  75. 2
      src/ImageSharp/Processing/Transforms/Processors/FlipProcessor.cs
  76. 2
      src/ImageSharp/Processing/Transforms/Processors/ProjectiveTransformProcessor.cs
  77. 2
      src/ImageSharp/Processing/Transforms/Processors/ResizeProcessor.cs
  78. 2
      src/ImageSharp/Processing/Transforms/Processors/WeightsBuffer.cs
  79. 2
      src/ImageSharp/Processing/Transforms/Processors/WeightsWindow.cs
  80. 2
      tests/ImageSharp.Benchmarks/Codecs/CopyPixels.cs
  81. 2
      tests/ImageSharp.Benchmarks/Codecs/Jpeg/YCbCrColorConversion.cs
  82. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/PackFromVector4.cs
  83. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/PackFromXyzw.cs
  84. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/ToVector4.cs
  85. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/ToXyz.cs
  86. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/ToXyzw.cs
  87. 2
      tests/ImageSharp.Benchmarks/General/Vectorization/VectorFetching.cs
  88. 2
      tests/ImageSharp.Benchmarks/PixelBlenders/PorterDuffBulkVsPixel.cs
  89. 2
      tests/ImageSharp.Benchmarks/Samplers/Glow.cs
  90. 2
      tests/ImageSharp.Tests/Drawing/FillRegionProcessorTests.cs
  91. 2
      tests/ImageSharp.Tests/FakeImageOperationsProvider.cs
  92. 2
      tests/ImageSharp.Tests/Formats/GeneralFormatTests.cs
  93. 2
      tests/ImageSharp.Tests/Formats/Jpg/Block8x8FTests.CopyToBufferArea.cs
  94. 2
      tests/ImageSharp.Tests/Formats/Jpg/DoubleBufferedStreamReaderTests.cs
  95. 2
      tests/ImageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs
  96. 2
      tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.Baseline.cs
  97. 2
      tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.Progressive.cs
  98. 2
      tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.cs
  99. 2
      tests/ImageSharp.Tests/Formats/Jpg/Utils/LibJpegTools.ComponentData.cs
  100. 2
      tests/ImageSharp.Tests/Memory/ArrayPoolMemoryManagerTests.cs

2
src/ImageSharp.Drawing/Primitives/ShapeRegion.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
using SixLabors.Shapes;

2
src/ImageSharp.Drawing/Processing/Drawing/Brushes/BrushApplicator.cs

@ -3,8 +3,8 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Processing.Drawing.Brushes
{

2
src/ImageSharp.Drawing/Processing/Drawing/Brushes/ImageBrush{TPixel}.cs

@ -3,8 +3,8 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Brushes

2
src/ImageSharp.Drawing/Processing/Drawing/Brushes/PatternBrush{TPixel}.cs

@ -4,9 +4,9 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Brushes

2
src/ImageSharp.Drawing/Processing/Drawing/Brushes/RecolorBrush{TPixel}.cs

@ -4,8 +4,8 @@
using System;
using System.Numerics;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Brushes

2
src/ImageSharp.Drawing/Processing/Drawing/Brushes/SolidBrush{TPixel}.cs

@ -3,8 +3,8 @@
using System;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Brushes

2
src/ImageSharp.Drawing/Processing/Drawing/Processors/DrawImageProcessor.cs

@ -4,9 +4,9 @@
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Processors

2
src/ImageSharp.Drawing/Processing/Drawing/Processors/FillProcessor.cs

@ -4,10 +4,10 @@
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Drawing.Brushes;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Processors

2
src/ImageSharp.Drawing/Processing/Drawing/Processors/FillRegionProcessor.cs

@ -3,11 +3,11 @@
using System;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Drawing.Brushes;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Drawing.Processors

2
src/ImageSharp/Advanced/AdvancedImageExtensions.cs

@ -3,8 +3,8 @@
using System;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Advanced
{

2
src/ImageSharp/Advanced/IPixelSource.cs

@ -1,8 +1,8 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Advanced
{

2
src/ImageSharp/Common/Helpers/ParallelFor.cs

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/Configuration.cs

@ -12,8 +12,8 @@ using SixLabors.ImageSharp.Formats.Png;
#if !NETSTANDARD1_1
using SixLabors.ImageSharp.IO;
#endif
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Processing;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/Formats/Bmp/BmpDecoderCore.cs

@ -4,9 +4,9 @@
using System;
using System.IO;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Bmp
{

2
src/ImageSharp/Formats/Bmp/BmpEncoderCore.cs

@ -3,8 +3,8 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Bmp
{

2
src/ImageSharp/Formats/Gif/GifDecoderCore.cs

@ -7,9 +7,9 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Gif

2
src/ImageSharp/Formats/Gif/GifEncoderCore.cs

@ -7,10 +7,10 @@ using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Gif
{

2
src/ImageSharp/Formats/Gif/LzwDecoder.cs

@ -5,7 +5,7 @@ using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Gif
{

2
src/ImageSharp/Formats/Gif/LzwEncoder.cs

@ -5,7 +5,7 @@ using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Gif
{

2
src/ImageSharp/Formats/Jpeg/Components/Block8x8F.CopyTo.cs

@ -4,7 +4,7 @@
using System.Numerics;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
// ReSharper disable InconsistentNaming
namespace SixLabors.ImageSharp.Formats.Jpeg.Components

2
src/ImageSharp/Formats/Jpeg/Components/Decoder/ColorConverters/JpegColorConverter.cs

@ -7,7 +7,7 @@ using System.Linq;
using System.Numerics;
using SixLabors.ImageSharp.Common.Tuples;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.ColorConverters
{

2
src/ImageSharp/Formats/Jpeg/Components/Decoder/IJpegComponent.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder

2
src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegBlockPostProcessor.cs

@ -3,7 +3,7 @@
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder

2
src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegComponentPostProcessor.cs

@ -3,7 +3,7 @@
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder

4
src/ImageSharp/Formats/Jpeg/Components/Decoder/JpegImagePostProcessor.cs

@ -4,12 +4,10 @@
using System;
using System.Linq;
using System.Numerics;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
using JpegColorConverter = SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.ColorConverters.JpegColorConverter;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder

3
src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs

@ -4,10 +4,9 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
// ReSharper disable InconsistentNaming
namespace SixLabors.ImageSharp.Formats.Jpeg.Components

2
src/ImageSharp/Formats/Jpeg/GolangPort/Components/Decoder/GolangComponent.cs

@ -6,7 +6,7 @@ using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.GolangPort.Components.Decoder

2
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/DoubleBufferedStreamReader.cs

@ -5,7 +5,7 @@ using System;
using System.IO;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
// TODO: This could be useful elsewhere.
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components

2
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsFrameComponent.cs

@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components

2
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsHuffmanTable.cs

@ -4,7 +4,7 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components
{

2
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsScanDecoder.cs

@ -9,7 +9,7 @@ using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components
{

2
src/ImageSharp/Formats/Jpeg/PdfJsPort/PdfJsJpegDecoderCore.cs

@ -11,12 +11,12 @@ using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder;
using SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.MetaData.Profiles.Exif;
using SixLabors.ImageSharp.MetaData.Profiles.Icc;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort

2
src/ImageSharp/Formats/Png/PngChunk.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Png
{

2
src/ImageSharp/Formats/Png/PngDecoderCore.cs

@ -13,9 +13,9 @@ using System.Text;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Formats.Png.Filters;
using SixLabors.ImageSharp.Formats.Png.Zlib;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Png
{

2
src/ImageSharp/Formats/Png/PngEncoderCore.cs

@ -8,9 +8,9 @@ using System.Linq;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Formats.Png.Filters;
using SixLabors.ImageSharp.Formats.Png.Zlib;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Quantization;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Formats.Png
{

2
src/ImageSharp/Image.Decode.cs

@ -4,8 +4,8 @@
using System.IO;
using System.Linq;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/Image.WrapMemory.cs

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/ImageFrameCollection.cs

@ -5,8 +5,8 @@ using System;
using System.Collections;
using System.Collections.Generic;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/ImageFrame{TPixel}.cs

@ -6,9 +6,9 @@ using System.Numerics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp

2
src/ImageSharp/Image{TPixel}.cs

@ -8,9 +8,9 @@ using System.Linq;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.MetaData;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/Memory/ArrayPoolMemoryAllocator.Buffer{T}.cs

@ -5,7 +5,7 @@ using System;
using System.Buffers;
using System.Runtime.InteropServices;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Contains <see cref="Buffer{T}"/> and <see cref="ManagedByteBuffer"/>

2
src/ImageSharp/Memory/ArrayPoolMemoryAllocator.CommonFactoryMethods.cs

@ -1,6 +1,6 @@
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Contains common factory methods and configuration constants.

4
src/ImageSharp/Memory/ArrayPoolMemoryAllocator.cs

@ -4,7 +4,7 @@
using System.Buffers;
using System.Runtime.CompilerServices;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Implements <see cref="MemoryAllocator"/> by allocating memory from <see cref="ArrayPool{T}"/>.
@ -61,7 +61,7 @@ namespace SixLabors.ImageSharp.Memory
/// <param name="maxArraysPerBucketNormalPool">Max arrays per bucket for the normal array pool</param>
public ArrayPoolMemoryAllocator(int maxPoolSizeInBytes, int poolSelectorThresholdInBytes, int maxArraysPerBucketLargePool, int maxArraysPerBucketNormalPool)
{
Guard.MustBeGreaterThan(maxPoolSizeInBytes, 0, nameof(maxPoolSizeInBytes));
ImageSharp.Guard.MustBeGreaterThan(maxPoolSizeInBytes, 0, nameof(maxPoolSizeInBytes));
Guard.MustBeLessThanOrEqualTo(poolSelectorThresholdInBytes, maxPoolSizeInBytes, nameof(poolSelectorThresholdInBytes));
this.MaxPoolSizeInBytes = maxPoolSizeInBytes;

4
src/ImageSharp/Memory/BasicArrayBuffer.cs

@ -4,7 +4,7 @@
using System;
using System.Runtime.CompilerServices;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Wraps an array as an <see cref="IBuffer{T}"/> instance. In this implementation <see cref="IBuffer{T}.Memory"/> is owned.
@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.Memory
{
public BasicArrayBuffer(T[] array, int length)
{
DebugGuard.MustBeLessThanOrEqualTo(length, array.Length, nameof(length));
ImageSharp.DebugGuard.MustBeLessThanOrEqualTo(length, array.Length, nameof(length));
this.Array = array;
this.Length = length;
}

5
src/ImageSharp/Memory/BasicByteBuffer.cs

@ -1,4 +1,7 @@
namespace SixLabors.ImageSharp.Memory
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.Memory
{
internal class BasicByteBuffer : BasicArrayBuffer<byte>, IManagedByteBuffer
{

2
src/ImageSharp/Memory/Buffer2DExtensions.cs

@ -5,7 +5,7 @@ using System;
using System.Runtime.CompilerServices;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Defines extension methods for <see cref="IBuffer2D{T}"/>.

6
src/ImageSharp/Memory/Buffer2D{T}.cs

@ -5,7 +5,7 @@ using System;
using System.Runtime.CompilerServices;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Represents a buffer of value type objects
@ -50,7 +50,7 @@ namespace SixLabors.ImageSharp.Memory
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
DebugGuard.MustBeLessThan(x, this.Width, nameof(x));
ImageSharp.DebugGuard.MustBeLessThan(x, this.Width, nameof(x));
DebugGuard.MustBeLessThan(y, this.Height, nameof(y));
Span<T> span = this.Buffer.GetSpan();
return ref span[(this.Width * y) + x];
@ -67,7 +67,7 @@ namespace SixLabors.ImageSharp.Memory
/// <summary>
/// Swap the contents (<see cref="Buffer"/>, <see cref="Width"/>, <see cref="Height"/>) of the two buffers.
/// Useful to transfer the contents of a temporary <see cref="Buffer2D{T}"/> to a persistent <see cref="ImageFrame{TPixel}.PixelBuffer"/>
/// Useful to transfer the contents of a temporary <see cref="Buffer2D{T}"/> to a persistent <see cref="SixLabors.ImageSharp.ImageFrame{T}.PixelBuffer"/>
/// </summary>
/// <param name="a">The first buffer</param>
/// <param name="b">The second buffer</param>

12
src/ImageSharp/Memory/BufferArea{T}.cs

@ -2,7 +2,7 @@ using System;
using System.Runtime.CompilerServices;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Represents a rectangular area inside a 2D memory buffer (<see cref="Buffer2D{T}"/>).
@ -20,10 +20,10 @@ namespace SixLabors.ImageSharp.Memory
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public BufferArea(IBuffer2D<T> destinationBuffer, Rectangle rectangle)
{
DebugGuard.MustBeGreaterThanOrEqualTo(rectangle.X, 0, nameof(rectangle));
DebugGuard.MustBeGreaterThanOrEqualTo(rectangle.Y, 0, nameof(rectangle));
DebugGuard.MustBeLessThanOrEqualTo(rectangle.Width, destinationBuffer.Width, nameof(rectangle));
DebugGuard.MustBeLessThanOrEqualTo(rectangle.Height, destinationBuffer.Height, nameof(rectangle));
ImageSharp.DebugGuard.MustBeGreaterThanOrEqualTo(rectangle.X, 0, nameof(rectangle));
ImageSharp.DebugGuard.MustBeGreaterThanOrEqualTo(rectangle.Y, 0, nameof(rectangle));
ImageSharp.DebugGuard.MustBeLessThanOrEqualTo(rectangle.Width, destinationBuffer.Width, nameof(rectangle));
ImageSharp.DebugGuard.MustBeLessThanOrEqualTo(rectangle.Height, destinationBuffer.Height, nameof(rectangle));
this.DestinationBuffer = destinationBuffer;
this.Rectangle = rectangle;
@ -119,7 +119,7 @@ namespace SixLabors.ImageSharp.Memory
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public BufferArea<T> GetSubArea(Rectangle rectangle)
{
DebugGuard.MustBeLessThanOrEqualTo(rectangle.Width, this.Rectangle.Width, nameof(rectangle));
ImageSharp.DebugGuard.MustBeLessThanOrEqualTo(rectangle.Width, this.Rectangle.Width, nameof(rectangle));
DebugGuard.MustBeLessThanOrEqualTo(rectangle.Height, this.Rectangle.Height, nameof(rectangle));
int x = this.Rectangle.X + rectangle.X;

2
src/ImageSharp/Memory/BufferExtensions.cs

@ -6,7 +6,7 @@ using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
internal static class BufferExtensions
{

2
src/ImageSharp/Memory/ConsumedBuffer.cs

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// A buffer implementation that consumes an existing <see cref="Memory{T}"/> instance.

2
src/ImageSharp/Memory/IBuffer2D{T}.cs

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// An interface that represents a contigous buffer of value type objects

2
src/ImageSharp/Memory/IBuffer{T}.cs

@ -3,7 +3,7 @@
using System;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Represents a contigous memory buffer of value-type items.

2
src/ImageSharp/Memory/IManagedByteBuffer.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Represents a byte buffer backed by a managed array. Useful for interop with classic .NET API-s.

2
src/ImageSharp/Memory/ManagedBufferBase.cs

@ -4,7 +4,7 @@
using System.Buffers;
using System.Runtime.InteropServices;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Provides a base class for <see cref="IBuffer{T}"/> implementations by implementing pinning logic for <see cref="MemoryManager{T}"/> adaption.

2
src/ImageSharp/Memory/MemoryAllocator.cs

@ -1,7 +1,7 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Memory managers are used to allocate memory for image processing operations.

2
src/ImageSharp/Memory/MemoryAllocatorExtensions.cs

@ -1,6 +1,6 @@
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Extension methods for <see cref="MemoryAllocator"/>.

2
src/ImageSharp/Memory/SimpleGcMemoryAllocator.cs

@ -1,4 +1,4 @@
namespace SixLabors.ImageSharp.Memory
namespace SixLabors.Memory
{
/// <summary>
/// Implements <see cref="MemoryAllocator"/> by newing up arrays by the GC on every allocation requests.

2
src/ImageSharp/PixelAccessor{TPixel}.cs

@ -5,8 +5,8 @@ using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp
{

2
src/ImageSharp/PixelFormats/PixelBlenders/DefaultPixelBlenders.Generated.cs

@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{
using System;
using System.Numerics;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
/// <summary>

2
src/ImageSharp/PixelFormats/PixelBlender{TPixel}.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.PixelFormats
{

2
src/ImageSharp/PixelFormats/Rgba32.PixelOperations.cs

@ -5,7 +5,7 @@ using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.PixelFormats
{

2
src/ImageSharp/Processing/Convolution/Processors/Convolution2DProcessor.cs

@ -5,10 +5,10 @@ using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors

2
src/ImageSharp/Processing/Convolution/Processors/Convolution2PassProcessor.cs

@ -4,10 +4,10 @@
using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors

2
src/ImageSharp/Processing/Convolution/Processors/ConvolutionProcessor.cs

@ -5,10 +5,10 @@ using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors

1
src/ImageSharp/Processing/Convolution/Processors/SobelProcessor.cs

@ -1,7 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Convolution.Processors

2
src/ImageSharp/Processing/DefaultInternalImageProcessorContext.cs

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing

2
src/ImageSharp/Processing/Effects/Processors/OilPaintingProcessor.cs

@ -5,9 +5,9 @@ using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Effects.Processors

2
src/ImageSharp/Processing/IImageProcessingContext{TPixel}.cs

@ -1,9 +1,9 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing

2
src/ImageSharp/Processing/Overlays/Processors/BackgroundColorProcessor.cs

@ -4,9 +4,9 @@
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Overlays.Processors

2
src/ImageSharp/Processing/Overlays/Processors/GlowProcessor.cs

@ -5,10 +5,10 @@ using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Overlays.Processors

2
src/ImageSharp/Processing/Overlays/Processors/VignetteProcessor.cs

@ -5,10 +5,10 @@ using System;
using System.Numerics;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Overlays.Processors

2
src/ImageSharp/Processing/Quantization/FrameQuantizers/WuFrameQuantizer{TPixel}.cs

@ -7,8 +7,8 @@ using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Processing.Quantization.FrameQuantizers
{

2
src/ImageSharp/Processing/Transforms/Processors/AffineTransformProcessor.cs

@ -9,9 +9,9 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Resamplers;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Transforms.Processors

1
src/ImageSharp/Processing/Transforms/Processors/CropProcessor.cs

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.Primitives;

2
src/ImageSharp/Processing/Transforms/Processors/FlipProcessor.cs

@ -4,9 +4,9 @@
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Processors;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Transforms.Processors

2
src/ImageSharp/Processing/Transforms/Processors/ProjectiveTransformProcessor.cs

@ -9,9 +9,9 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Resamplers;
using SixLabors.Memory;
using SixLabors.Primitives;
// TODO: Doesn't work yet! Implement tests + Finish implementation + Document Matrix4x4 behavior

2
src/ImageSharp/Processing/Transforms/Processors/ResizeProcessor.cs

@ -9,9 +9,9 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing.Transforms.Resamplers;
using SixLabors.Memory;
using SixLabors.Primitives;
namespace SixLabors.ImageSharp.Processing.Transforms.Processors

2
src/ImageSharp/Processing/Transforms/Processors/WeightsBuffer.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Processing.Transforms.Processors
{

2
src/ImageSharp/Processing/Transforms/Processors/WeightsWindow.cs

@ -5,7 +5,7 @@ using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
namespace SixLabors.ImageSharp.Processing.Transforms.Processors
{

2
tests/ImageSharp.Benchmarks/Codecs/CopyPixels.cs

@ -12,7 +12,7 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
public class CopyPixels : BenchmarkBase
{

2
tests/ImageSharp.Benchmarks/Codecs/Jpeg/YCbCrColorConversion.cs

@ -7,7 +7,7 @@ namespace SixLabors.ImageSharp.Benchmarks.Codecs.Jpeg
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
[Config(typeof(Config.ShortClr))]
public class YCbCrColorConversion

2
tests/ImageSharp.Benchmarks/Color/Bulk/PackFromVector4.cs

@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
using System.Runtime.InteropServices;
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
[Config(typeof(Config.ShortClr))]

2
tests/ImageSharp.Benchmarks/Color/Bulk/PackFromXyzw.cs

@ -5,7 +5,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
public abstract class PackFromXyzw<TPixel>

2
tests/ImageSharp.Benchmarks/Color/Bulk/ToVector4.cs

@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
public abstract class ToVector4<TPixel>

2
tests/ImageSharp.Benchmarks/Color/Bulk/ToXyz.cs

@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
public abstract class ToXyz<TPixel>

2
tests/ImageSharp.Benchmarks/Color/Bulk/ToXyzw.cs

@ -8,7 +8,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
{
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
public abstract class ToXyzw<TPixel>

2
tests/ImageSharp.Benchmarks/General/Vectorization/VectorFetching.cs

@ -5,7 +5,7 @@ namespace SixLabors.ImageSharp.Benchmarks.General.Vectorization
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using BenchmarkDotNet.Attributes;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
/// <summary>
/// This benchmark compares different methods for fetching memory data into <see cref="Vector{T}"/>

2
tests/ImageSharp.Benchmarks/PixelBlenders/PorterDuffBulkVsPixel.cs

@ -12,7 +12,7 @@ namespace SixLabors.ImageSharp.Benchmarks
using CoreSize = SixLabors.Primitives.Size;
using System.Numerics;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats.PixelBlenders;
public class PorterDuffBulkVsPixel : BenchmarkBase

2
tests/ImageSharp.Benchmarks/Samplers/Glow.cs

@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.Benchmarks
using System;
using System.Threading.Tasks;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
using SixLabors.ImageSharp.Processing.Overlays.Processors;
using SixLabors.ImageSharp.Processing.Processors;

2
tests/ImageSharp.Tests/Drawing/FillRegionProcessorTests.cs

@ -5,7 +5,7 @@ using System.Numerics;
using Moq;
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
using SixLabors.ImageSharp.Processing;

2
tests/ImageSharp.Tests/FakeImageOperationsProvider.cs

@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors;

2
tests/ImageSharp.Tests/Formats/GeneralFormatTests.cs

@ -15,7 +15,7 @@ namespace SixLabors.ImageSharp.Tests
using System;
using System.Reflection;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Quantization;

2
tests/ImageSharp.Tests/Formats/Jpg/Block8x8FTests.CopyToBufferArea.cs

@ -5,7 +5,7 @@
//#define BENCHMARKING
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.Tests.Formats.Jpg.Utils;
using SixLabors.Primitives;

2
tests/ImageSharp.Tests/Formats/Jpg/DoubleBufferedStreamReaderTests.cs

@ -4,7 +4,7 @@
using System;
using System.IO;
using SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Jpg

2
tests/ImageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs

@ -8,7 +8,7 @@ using SixLabors.ImageSharp.ColorSpaces;
using SixLabors.ImageSharp.ColorSpaces.Conversion;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder.ColorConverters;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using Xunit;
using Xunit.Abstractions;

2
tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.Baseline.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
// ReSharper disable InconsistentNaming

2
tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.Progressive.cs

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System.Linq;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
// ReSharper disable InconsistentNaming

2
tests/ImageSharp.Tests/Formats/Jpg/JpegDecoderTests.cs

@ -10,7 +10,7 @@ using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Jpeg.GolangPort;
using SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.Formats.Jpg.Utils;
using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;

2
tests/ImageSharp.Tests/Formats/Jpg/Utils/LibJpegTools.ComponentData.cs

@ -10,7 +10,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg.Utils
using SixLabors.ImageSharp.Formats.Jpeg.GolangPort.Components.Decoder;
using SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using SixLabors.Primitives;
internal static partial class LibJpegTools

2
tests/ImageSharp.Tests/Memory/ArrayPoolMemoryManagerTests.cs

@ -12,7 +12,7 @@ namespace SixLabors.ImageSharp.Tests.Memory
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Memory;
using SixLabors.Memory;
using Xunit;

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save