commit | c756eb01c89852d55d6bfebd067d64582fef9113 | [log] [tgz] |
---|---|---|
author | Linfeng Zhang <linfengz@google.com> | Tue Mar 14 09:31:52 2017 -0700 |
committer | Linfeng Zhang <linfengz@google.com> | Tue Mar 14 16:59:14 2017 -0700 |
tree | 28a73698ebd3936d7e7c513b82a9d887ea17e62c | |
parent | 1b91f4193554d52c2851cfde8625b82c4ffe942b [diff] |
Fix overflow issue in 32x32 idct NEON intrinsics Similar issue as Change bc1c18e. The PartialIDctTest.ResultsMatch test on vpx_idct32x32_135_add_neon() in high bit-depth mode exposes 16-bit overflow in final stage of pass 2, when changing the test number from 1,000 to 1,000,000. Change to use saturating add/sub for vpx_idct32x32_34_add_neon(), vpx_idct32x32_135_add_neon and vpx_idct32x32_1024_add_neon() in high bit-depth mode. Change-Id: Iaec0e9aeab41a3fdb4e170d7e9b3ad1fda922f6f