Detect invalid highbd iht input
authorAngie Chiang <angiebird@google.com>
Tue, 20 Sep 2016 18:59:23 +0000 (11:59 -0700)
committerAngie Chiang <angiebird@google.com>
Thu, 22 Sep 2016 00:15:19 +0000 (17:15 -0700)
commit80338b91d352d3a961d9cee44be29eae9f425804
tree18599835f580ef2dc614636e201655be45317c72
parent0695843a216dd63e8ac087e13c44de81e8a50afe
Detect invalid highbd iht input

Do nothing in vp9_highbd_iht#x#_##_add_c when input magnitude is beyond
20 bits. Note that, sign bit is not included here.

In the 20 bits, we use 12 bits for input signal, 7 bits for forward
transform amplification, and 1 bit for contingency in rounding and
quantizing

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1286

Change-Id: I332c6f68df4614fc2e7d2dc4c5bb0d0cff8a245c
vp9/common/vp9_idct.c