microsoft / lepton_jpeg_rust

Port of DropBox Lepton compression to Rust
Apache License 2.0
129 stars 10 forks source link

make split calculation the same across reader and writer #19

Closed mcroomp closed 1 year ago

mcroomp commented 1 year ago

this also allows the optimizer to understand that split will always be > 0, which improve the perf of the leading_zeros