• Yaowu Xu's avatar
    configure: add --enable-coefficient-range-checking · 0a2b25dc
    Yaowu Xu authored
    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