Ynse Hoornenborg
d42d8df88d
Introduce GetRequiredBufferLength method
3 years ago
James Jackson-South
0e9a066195
FS Namespaces and Implicit Global Usings
3 years ago
James Jackson-South
6fc84a82f6
Remove other obsolete conditions and warnings
4 years ago
James Jackson-South
1d9b20914f
Update TestImageExtensions.cs
4 years ago
James Jackson-South
1c2d1f42e2
Update tests and fix issues
4 years ago
James Jackson-South
97baeaf438
Update all files
4 years ago
Brian Popow
7d0838f97c
Avoid encoding the same image twice
4 years ago
Anton Firszov
58a23cdf1d
remove ArrayPoolMemoryAllocator from tests
4 years ago
Anton Firszov
9047fc971d
remove ImageFrame.GetPixelRowSpan
4 years ago
Anton Firszov
ff383c9eab
Buffer2D.GetRowSpan -> DangerousGetRowSpan
4 years ago
Anton Firszov
e1f15bc626
TryGetSinglePixelSpan -> DangerousTryGetSinglePixelMemory
4 years ago
Anton Firszov
a75f106392
Use shared ArrayPoolMemoryAllocator in tests
4 years ago
Anton Firszov
7c1a1afc61
UniformUnmanagedMemoryPoolMemoryAllocator
5 years ago
James Jackson-South
0791b576bd
Rename methods to use Dangerous prefix.
5 years ago
James Jackson-South
dc0982f186
Faster Linear Transforms ( #1591 )
* Attempt to use same weight generation algorithm as resize.
* tests pass
* Identical output
* Update LinearTransformKernelFactory{TResampler}.cs
* Use new low allocation iterator
* Migrate projective transforms.
* Optimizations
* Smaller kernel
* Fix sampling accuracy
* Finalize and update refs
* Revert unnecessary changes
* Remove enumerator
* Actually save output for debugging.
* Use custom test png encoder for reduced memory environments
* Convolution should use scaled vectors
* Update TestEnvironmentTests.cs
* Try using doubles
* Moar double precision
* Fix radius calculation
* Test if issue is SIMD related.
* Detect runtime to determine pipeline.
* Fix stack overflow
* fix condition
* Try simplified scalar run
* Simplify unpremultiply scalar
* Update Numerics.cs
* Fix runtime environment
* Update ImageSharp.csproj
* Duplicate the caller with scalar versions
* Update method name, exclude from coverage.
* Don't save output during coverage tests for perf.
* Update src/ImageSharp/Common/Helpers/RuntimeEnvironment.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
Co-authored-by: Anton Firszov <antonfir@gmail.com>
5 years ago
Ildar Khayrutdinov
768ff6b582
Deep refactoring and improves for tiff classes.
In particular:
* Support multi framing.
* Using Metadata\Profiles\Exif\* types instead their duplicate tag types (moved to __obsolete directory).
* Implement useful Metadata classes.
* Add extensions.
* Test coverage.
6 years ago
James Jackson-South
874115bd0a
Update license
6 years ago
James Jackson-South
6183dd8c13
Update source license info.
6 years ago
James Jackson-South
a61baf27e9
Improve accessability of Span<T> methods. Fixes #1164
6 years ago
Sergio Pedri
8fb9c466d8
Renamed ParallelRowIterator.IterateRows to IterateRowIntervals
6 years ago
Sergio Pedri
94c4660d10
Switched pixel format type constraint to unmanaged
6 years ago
Anton Firszov
cf4d5a7457
fix JpegDecoder
6 years ago
Anton Firszov
ee93aa406d
InBytes->InBytesSqrt, InPixels->InPixelsSqrt
6 years ago
James Jackson-South
a42d21d121
Add bounded quantization and update namings.
6 years ago
Anton Firszov
1366168a6c
tests improvements:
- add failing tests for BmpDecoder
- more sophisticated and verbose buffer capacity configurator
6 years ago
James Jackson-South
f11a3a019b
Use Span<T> as buffer param
6 years ago
James Jackson-South
33bd5a920c
Fix arguments order and tests
6 years ago
Anton Firszov
f99ead64c2
fix JpegEncoder disco buffer handling
6 years ago
James Jackson-South
00dc2a8c98
Internalize, partially optimize and rename Action methods.
6 years ago
James Jackson-South
b62434cea9
Rename class and add native memory profiler
6 years ago
Anton Firszov
d2b99294f7
Decode Jpegs to non-contiguous buffers
6 years ago
Anton Firszov
35796da28c
Improve robustness of discontiguous Buffer2D
6 years ago
James Jackson-South
8cd722cfc5
Revert `using` declaration changes for until we establish guidelines.
6 years ago
Brian Popow
f60bc937de
Use using declarations to reduce nesting
6 years ago
Brian Popow
7b052c8076
Fix stylecop warnings in the test project
6 years ago
James Jackson-South
c24b364be1
Merge namespaces
6 years ago
James Jackson-South
27ba7781c7
Allow custom configuration. Fix #650
6 years ago
Anton Firszov
53bb11a236
expose ParallelExecutionSettings and ParallelHelper, fix MaxDegreeOfParallelism
6 years ago
Sergio Pedri
f25c68304d
Processors refactoring ( #983 )
* Added new properties to ImageProcessor<TPixel>
* Fixed constructors for convolution processors
* Fixed constructors for binarization processors
* Fixed constructor for dithering processor
* Fixed constructors for effects processors
* Fixed constructor for filter processor
* Fixed constructor for normalization processor
* Fixed constructors for overlay processors
* Fixed constructor for quantization processor
* Fixed constructors for transforms processors
* Updated CreatePixelSpecificProcessor<TPixel> definition
* Fixed convolution processors creation
* Fixed leftover dithering processor constructor
* Fixed another leftover dithering processor constructor
* Fixed dithering processors creation
* Fixed effects processors creation
* Fixed filters processor
* Fixed normalization processors creation
* Fixed overlays processors creation
* Fixed quantizer processor creation
* Fixed constructors for some remaining processors
* Fixed transform processors creation
* ImageProcessor class refactored
* Renamed some parameters
* Convolution processors refactored
* Refactored filters and dithering processors
* Refactored normalization processors
* Overlays processors refactored
* Renamed some parameters
* CloningImageProcessor class refactored
* Transforms processors refactored
* Updated DefaultImageProcessingContext class
* Src builds, tests still require updating.
* Fix tests
* Removed unnecessary local variable
7 years ago
Simon Cropp
c2555b6199
fix some spelling ( #962 )
7 years ago
Simon Cropp
2c04d6b036
redundant usings ( #960 )
7 years ago
Anton Firszov
9ea9f2df5d
drop unnecessary generic IImageProcessorContext<TPixel> usages
7 years ago
Anton Firszov
659f8b6231
ImageBrush can apply a source image of a different pixel type than the target
7 years ago
Anton Firszov
d3af717d19
everything builds
7 years ago
Anton Firszov
445d0f8bf0
validation in DrawImageTest
7 years ago
Anton Firszov
86ce62ed2c
rename FromVector4(...) to FromVector4Destructive(...)
7 years ago
Anton Firszov
fd3d76e78e
Inlining temporary compatibility methods (FromScaledVector4, ToScaledVector4)
7 years ago
Anton Firszov
492d2d6b10
pass Configuration to Vector4 converters in PixelOperations
7 years ago
Anton Firszov
2449309159
Span.CopyTo(...) semantics for bulk Vecto4 conversion in PixelOperations
7 years ago
Anton Firszov
11ee7f2aef
Rename PackFrom*** -> From***:
- in PixelOperations
- in T4 templates
- in tests
7 years ago