James Jackson-South
b5ad111eac
Faster Jpeg Huffman Decoding. ( #894 )
* Read from underlying stream less often
* Update benchmark dependencies
* Experimental mango port
Currently broken
* Populate table, 64byte buffer
Still broken.
* Baseline, non RST works
* 15/19 baseline tests pass now.
* Optimize position change.
* 18/19 pass
* 19/19 baseline decoded
* Can now decode all images.
* Now faster and much cleaner.
* Cleanup
* Fix reader, update benchmarks
* Update dependencies
* Remove unused method
* No need to clean initial buffer
* Remove bounds check on ReadByte()
* Refactor from feedback
7 years ago
James Jackson-South
e59e5315a8
Cleanup General Convolution ( #887 )
* Remove multiple premultiplication.
* Use in DenseMatrix everywhere.
* Make private
* Dont convert vector row on first pass
* Remove incorrectly assigned alpha.
* Remove boxing.
* Use correct min row.
* Reorder parameters
* Correctly handle alpha component.
* Update tests
* Use dedicated methods over branching.
7 years ago
Daniil Samoylov
c6be724f7e
Pass correct output size in ResizeMode.Min #892 ( #893 )
7 years ago
Anton Firszov
bee3a67a71
extend the CopyBuffers benchmark
7 years ago
Anton Firszov
d72db6dc78
fix license text in CopyBuffers benchmark
7 years ago
Anton Firszov
2743e87860
fix tests
7 years ago
Anton Firszov
0a6a085e91
memory profiling with Sandbox46
7 years ago
Anton Firszov
c80501a6e9
benchmark WorkingBufferSizeHint effects
7 years ago
Anton Firszov
c8bd3ce9f7
optimized sliding works!
7 years ago
Anton Firszov
eb08150e61
ResizeTests.LargeImage
7 years ago
Anton Firszov
1612f495e2
more robust tests
7 years ago
Anton Firszov
bd8c06ad12
WorkingBufferSizeHintInBytes_IsAppliedCorrectly
7 years ago
Anton Firszov
ae22e017c5
buffer.CopyColumns(...)
7 years ago
Anton Firszov
398736a09b
moar RowInterval stuff
7 years ago
Anton Firszov
7f0a245b6a
improve benchmark: ArrayCopy -> CopyBuffers
7 years ago
Anton Firszov
2859fdd772
utilize CalculateResizeWorkerHeightInWindowBands()
which has been renamed from CalculateResizeWorkerWindowCount()
7 years ago
Anton Firszov
07808bf8eb
refactor stuff + implement CalculateResizeWorkerWindowCount()
7 years ago
James Jackson-South
743e351988
Handle incorrect colorspace metadata. Fix #882 ( #885 )
7 years ago
Anton Firszov
40d0366788
reference output for Resize_BasicSmall
7 years ago
Anton Firszov
7be9d82941
basic sliding window implementation (semi-stable state)
7 years ago
Anton Firszov
53892deeb7
ResizeWindow refactor 4
7 years ago
Anton Firszov
1362f0d0f5
ResizeWindow refactor 3
7 years ago
Anton Firszov
1a13941836
ResizeWindowOld
7 years ago
Jason Nelson
d645b5599e
Nits - Benchmarks ( #884 )
* Update metadata names
* Use WithIterationCount
* Format Benchmark documents
* Update copyright assignment to Six Labors & Contributors
* Update deps
* React to Benchmark library update
7 years ago
James Jackson-South
48a1a1f107
Use more accuracy when calculating variance. Fix #866 ( #874 )
* Use more accuracy when calculating variance. Fix #866
* Add unit tests
* Add test that fails with old image.
* Make IFrameQuantizer IDisposable
* Update GifEncoderCore.cs
7 years ago
Jason Nelson
c16e443f04
Nits - Colorspaces ( #880 )
* Add missing periods
* Only perform matrix inversion once in CieXyzToLinearRgbConverter
* Eliminate unnessary ToVector3 call
* Seal GammaWorkingSpace
* Address stylecop violation
* Add periods
* Fix colorspace companding
7 years ago
Jason Nelson
fca697206a
Update metadata names ( #879 )
7 years ago
Anton Firszov
0387964192
introduce [WithBasicTestPatternImages]
7 years ago
Anton Firszov
a1479ee09b
drop FileTestBase usage in ResizeTests
7 years ago
Anton Firszov
3c0d9bb487
PixelConversionModifierExtensions.ApplyCompanding() + tests
7 years ago
Poyo
d382faf0f7
Change existing gradient brushes to accept PointF ( #865 )
* Change existing gradient brushes to accept PointF
* Change PositionOnGradient to accept float
* Remove invalid assert.
7 years ago
Poyo
51a6647e5b
Fix incorrect gradient color-stop calculation ( #864 )
* Fix incorrect gradient color-stop calculation
* Update submodule
* Add multi-stop gradient test
* Add missing reference image
7 years ago
Anton Firszov
af0a6da3ae
pull back the submodule reference with a few revisions
7 years ago
Anton Firszov
86ce62ed2c
rename FromVector4(...) to FromVector4Destructive(...)
7 years ago
Anton Firszov
4d9fb8bff2
update benchmark results
7 years ago
Anton Firszov
6cc51ebb88
update ResizeProcessor
7 years ago
Anton Firszov
689944db27
extend Resize benchmarks
7 years ago
Anton Firszov
c88f8707e9
Optimization: omit premultiplication for Bgr24 and Rgb24
7 years ago
Anton Firszov
fd3d76e78e
Inlining temporary compatibility methods (FromScaledVector4, ToScaledVector4)
7 years ago
Anton Firszov
c3d4e4d8f4
all pixel types implemented except RgbaVector
7 years ago
Anton Firszov
b4cb222203
add (failing) tests from #847
7 years ago
Anton Firszov
f637506bed
copy companding refactor from #847
7 years ago
James Jackson-South
512647489f
Bounds check. Fix #849 ( #851 )
7 years ago
James Jackson-South
794fe20851
Implement IEquatable<Block8x8F> and check when summing. ( #848 )
7 years ago
James Jackson-South
a69eb5bbed
Lazily derive the huffman tables. Fix #839 ( #841 )
* Lazily derive the huffman tables. Fix #839
* Lazy invoke fast table
* Add performance tweaks to scan decoder.
* Remove unneccessary classes.
7 years ago
James Jackson-South
1054f84253
Jpeg Fuzz Fixes ( #836 )
* Nomalize jpeg exceptions. Fix #821
* Fix #822
* Fix #823
* Check for correct QT index. Touch #824
* Check DHT props. Touch #824
* Limit sampling factors to 1 & 2. Touch #824
* Add already fixed image 4. Touch #824
* Check for excessive code lengths. Touch #824
* Add already fixed image 6. Touch #824
* Lint progressive scan details. Touch #824
* Add already fixed image 8. Fix #824
* Remove duplicate per-block checks
* Add already fixed image 1. Touch #825
* Don't throw on bad JFIF density units.
* Add already fixed image 3. Touch #825
* Add already fixed image 4. Fix #825
* Check SOFn marker length. Touch #826
* Add already fixed image 2. Touch #826
* Add already fixed image 3. Fix #826
* Add fixed already fixed image. Fix #827
* Revert unneeded bounds check introduced in #804
7 years ago
James Jackson-South
19270664b0
Remove hardcoded subsampling. Fix #817 ( #834 )
7 years ago
Robin Krom
dae7c7a2d8
Some changes to make the usages of GDI in benchmarks and tests more stable, this should hopefully prevent "a generic error occurred in GDI+". Hopefully I didn't miss one... ( #835 )
7 years ago
James Jackson-South
a33255c19c
Reorder target frameworks ( #833 )
7 years ago
Brian Popow
a2c4b2d5d8
Add support for Decoding BI_ALPHABITFIELDS ( #832 )
* Adds support for BI_ALPHABITFIELDS
* Fix for decoding bitmaps with a less than full sized palette
7 years ago