commit | 09bc942b47ac996047c7176e92e739313a23b3b8 | [log] [tgz] |
---|---|---|
author | Jingning Han <jingning@google.com> | Fri Sep 06 16:06:21 2013 -0700 |
committer | Jingning Han <jingning@google.com> | Fri Sep 06 21:06:10 2013 -0700 |
tree | 4664d239f8790d4693fa20533b4b09726316d80e | |
parent | d1268c592183db41d6586029a333eee155449d85 [diff] |
Fix overflow issue in 16x16 quantization SSSE3 The 16x16 transform unit test suggested that the peak coefficient value can reach 32639. This could cause potential overflow issue in the SSSE3 implmentation of 16x16 block quantization. This commit fixes this issue by replacing addition with saturated addition. Change-Id: I6d5bb7c5faad4a927be53292324bd2728690717e