summaryrefslogtreecommitdiff
path: root/vpx_mem
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-09-04 12:03:28 -0700
committerJingning Han <jingning@google.com>2013-09-05 12:49:12 -0700
commit458c2833c00de1d52f466eea3fb8f29067274006 (patch)
tree935df83ce8d420b0a8a211597b3cc7d7a175c632 /vpx_mem
parent1cf2272347f8a07b29a0ee2d9d6445826f2f7e6f (diff)
downloadlibvpx-458c2833c00de1d52f466eea3fb8f29067274006.tar
libvpx-458c2833c00de1d52f466eea3fb8f29067274006.tar.gz
libvpx-458c2833c00de1d52f466eea3fb8f29067274006.tar.bz2
libvpx-458c2833c00de1d52f466eea3fb8f29067274006.zip
Use saturated addition in SSSE3 of 32x32 quant
The 32x32 forward transform can potentially reach peak coefficient value close to 32700, while the rounding factor can go upto 610. This could cause overflow issue in the SSSE3 implementation of 32x32 quantization process. This commit resolves this issue by replacing the addition operations with saturated addition operations in 32x32 block quantization. Change-Id: Id6b98996458e16c5b6241338ca113c332bef6e70
Diffstat (limited to 'vpx_mem')
0 files changed, 0 insertions, 0 deletions