]> granicus.if.org Git - libjpeg-turbo/commit
SSE2 SIMD: Fix prog Huffman enc. error if Sl%16==0
authorDRC <information@libjpeg-turbo.org>
Wed, 14 Aug 2019 18:17:11 +0000 (13:17 -0500)
committerDRC <information@libjpeg-turbo.org>
Thu, 15 Aug 2019 03:01:30 +0000 (22:01 -0500)
commita81a8c137b3f1c65082aa61f236aa88af61b3ad4
treef65809358c530746f98319f71dc9601fa18b9303
parent02f7bcdbd14d4128b1cf33f7c31194828c421a56
SSE2 SIMD: Fix prog Huffman enc. error if Sl%16==0

(regression introduced by 5b177b3cab5cfb661256c1e74df160158ec6c34e)

The SSE2 implementation of progressive Huffman encoding performed
extraneous iterations when the scan length was a multiple of 16.

Based on:
https://github.com/rouault/libjpeg-turbo/commit/bb7f1ef98305da915e581b59bd0ec2ef7bdb8468

Fixes #335
Closes #367
CMakeLists.txt
ChangeLog.md
simd/i386/jcphuff-sse2.asm
simd/x86_64/jcphuff-sse2.asm
testimages/test.scan [new file with mode: 0644]