Normalize quantizer's zero bin and rounding factors
authorYaowu Xu <yaowu@google.com>
Wed, 11 Aug 2010 04:12:04 +0000 (21:12 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 11 Aug 2010 04:12:04 +0000 (21:12 -0700)
commit3b95a46c5538ad4c5b765923d61d8d1b12a4569a
tree42f9c09b7157ea90a59615890f2eece49bc6326d
parent8fa38096a39433c6b86848dce0e307acd2a54482
Normalize quantizer's zero bin and rounding factors

This patch changes a few numbers in the two constant arrays
for quantizer's zerobin and rounding factors, in general to
make the sum of the two factors for any Q to be 128.  While
it might be beneficial to calibrate the two arrays for best
quantizer performance, it is not the purpose of this patch.
Normalizing the two arrays will enable quick optimization
of the current faster quantizer, i.e .zerobin check can be
removed.

Change-Id: If9abfd7929bf4b8e9ecd64a79d817c6728c820bd
vp8/encoder/encodeframe.c