shithub: libvpx

Download patch

ref: c756eb01c89852d55d6bfebd067d64582fef9113
parent: 1b91f4193554d52c2851cfde8625b82c4ffe942b
author: Linfeng Zhang <linfengz@google.com>
date: Tue Mar 14 05:31:52 EDT 2017

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