Move prediction hit counting to update_state().
authorRonald S. Bultje <rbultje@google.com>
Fri, 12 Apr 2013 00:13:02 +0000 (17:13 -0700)
committerRonald S. Bultje <rbultje@google.com>
Fri, 12 Apr 2013 00:13:02 +0000 (17:13 -0700)
commit79fd8c29d61c2b3eef4f15924b2302e26456bf73
tree2d7c43a342691ac8c3c4c5509211f575a27a4193
parentd415d287175bff26f94e75055cdd9a6e7d2a4a3b
Move prediction hit counting to update_state().

The probabilities derived from these statistics are used in bitstream
writing; therefore, we should only do this when we actually decide to
use macroblock coding (over superblock coding). Derf gains +0.15%.

Change-Id: I196814c070a7c79889590658ce10a6eb07454389
vp9/encoder/vp9_encodeframe.c