Fix checks in MB quantizer initialization
authorYunqing Wang <yunqingwang@google.com>
Tue, 8 Nov 2011 17:11:48 +0000 (12:11 -0500)
committerYunqing Wang <yunqingwang@google.com>
Tue, 8 Nov 2011 17:11:48 +0000 (12:11 -0500)
commit4c14efd23428ec14a618b9febf3fd9af261134fa
tree37740c30bb25e6306456ef7e6c709de44f981b0b
parentaa6afc016489856f9f18bb98f0259c4e51584626
Fix checks in MB quantizer initialization

vp8cx_mb_init_quantizer() needs to be called at least once to get
all values calculated. This change added one check to decide if
we could skip initialization or not.

Change-Id: I3f65eb548be57580a61444328336bc18c25c085b
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c
vp8/encoder/quantize.c
vp8/encoder/quantize.h
vp8/encoder/rdopt.c