Bug in scale_sse_threshold()
authorpaulwilkins <paulwilkins@google.com>
Thu, 9 Feb 2017 16:30:38 +0000 (16:30 +0000)
committerpaulwilkins <paulwilkins@google.com>
Wed, 15 Feb 2017 10:45:03 +0000 (10:45 +0000)
commit76550dfdc0a898cb9510977f79b43dbac1fd9de0
tree12c8b7075118d17f70684b543ce57909c70ff04b
parent945ccfee59fe2d1bde5fc3f30845a6e0503bec59
Bug in scale_sse_threshold()

The function scale_sse_threshold() returns a threshold scaled
if necessary for use with 10 and 12 bit from an 8 bit baseline.

SSE error values would be expected to rise for the 10 and 12
bit cases where there are more bits of precision.

Hence the threshold used for the test should also be scaled up.

Change-Id: I4009c98b6eecd1bf64c3c38aaa56598e0136b03d
vp9/encoder/vp9_firstpass.c