configure: add --enable-coefficient-range-checking
authorYaowu Xu <yaowu@google.com>
Tue, 29 Jul 2014 20:40:55 +0000 (13:40 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 7 Aug 2014 00:13:16 +0000 (17:13 -0700)
commit0a2b25dcb9e3a2ad6f4d8f1bbb9a192429f32831
tree503c943dd71ac325f4e95475aa3dd6b2934882df
parent0fa4777b1c82ef8b2d6d3f023180e870f7c69835
configure: add --enable-coefficient-range-checking

This commit adds a configure time option used to enable strict error
checking in decoder to make sure intermediate stage cofficients of
inverse transforms are within valid range of signed 16 bit integer.

For valid VP9 input streams, intermediate stage coefficients should
always stay within the range of a signed 16 bit integer. Coefficients
can go out of this range for invalid/corrupt VP9 streams. However,
strictly checking this range for every intermediate coefficient can
be a burden for decoder, therefore such validation is only enabled
with configure option --enable-coefficient-range-checking.

Change-Id: I47d47c8c4e48a922c3d223ca59064f51b3f0f5ed
configure
vp9/common/vp9_idct.h