Commit 572afe4
authored
Faster Jpeg Huffman Decoding. (SixLabors#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 feedback1 parent a2308a6 commit 572afe4
File tree
2 files changed
+3
-3
lines changed- src/ImageSharp.Drawing
- tests/ImageSharp.Tests
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments