team-charls / charls

CharLS, a C++ JPEG-LS library implementation
BSD 3-Clause "New" or "Revised" License
188 stars 74 forks source link

Remove legacy 1.x struct JlsRect #233

Closed vbaderks closed 1 year ago

vbaderks commented 1 year ago

Support to decode only certain regions has been removed. The only advantage was a smaller destination buffer and an optional quicker return. The JPEG-LS algorithm can only decoded starting from the beginning, so no real performance gain was made. Typical scenario is to decode complete image. If needed user code can perform a post processing step to extract a region is needed.

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication