]> granicus.if.org Git - libvpx/commit
Add checks in MB quantizer initialization
authorYunqing Wang <yunqingwang@google.com>
Tue, 1 Nov 2011 20:20:00 +0000 (16:20 -0400)
committerYunqing Wang <yunqingwang@google.com>
Tue, 1 Nov 2011 21:41:22 +0000 (17:41 -0400)
commite44720af84cccb1663b9260f35597d9d77c25eae
treea56f28085cb684676fa70b28ac1333866999bdee
parente0309e1509560b9a60f866083f4d47176e1d4faa
Add checks in MB quantizer initialization

In some situations (f.g. error-resilient is turned on), vp8cx_mb
_init_quantizer() was called once per macroblock. Added checks
to avoid calculations when there is no change.

Change-Id: Ie4f0a5ade2202041254990a4e9d5b03bd1ac5aea
vp8/encoder/block.h
vp8/encoder/onyx_int.h
vp8/encoder/quantize.c