Added vp8_update_zbin_extra
authorScott LaVarnway <slavarnway@google.com>
Wed, 29 Dec 2010 19:30:57 +0000 (14:30 -0500)
committerScott LaVarnway <slavarnway@google.com>
Mon, 24 Jan 2011 16:00:56 +0000 (11:00 -0500)
commit0ee525d6deff6f047bc152119dd74a0149b815f3
treecbd6e7ffbe898d506140b65db4bdb2dedcc31b86
parentd3e9409bb07e6411ff867935883bd5d56d2f9041
Added vp8_update_zbin_extra

vp8cx_mb_init_quantizer was being called for every mode checked
in vp8_rd_pick_inter_mode.  zbin_extra is the only value that
really needs to be recalculated.  This calculation is disabled
when using the fast quantizer for mode selection.
This gave a small performance boost (~.5% to 1%).
Note: This needs to be verified with segmentation_enabled.

Change-Id: I62716a870b3c82b4a998bdf95130ff0b02106f1e
vp8/encoder/block.h
vp8/encoder/encodeframe.c
vp8/encoder/rdopt.c