Fixed overflow test on boost calculation
authorAdrian Grange <agrange@google.com>
Tue, 16 Apr 2013 22:12:20 +0000 (15:12 -0700)
committerAdrian Grange <agrange@google.com>
Tue, 16 Apr 2013 22:12:20 +0000 (15:12 -0700)
commit82bbb230103ce9c1d1f5175b077a33ae45a13400
tree75ca05ec895ed4ddf42ebcb5e9553680f535a874
parentc2876cf0fde6baf9cbdf3c7570adedfd1065f3db
Fixed overflow test on boost calculation

Normalization of the frame boost value was being done
when it reached the value 1028. The intention was to
keep to a range of 10 bits, so it should have been
clipped above 1023.

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