Removed prediction_error accumulation
authorScott LaVarnway <slavarnway@google.com>
Tue, 1 Feb 2011 00:53:02 +0000 (19:53 -0500)
committerScott LaVarnway <slavarnway@google.com>
Tue, 1 Feb 2011 00:53:02 +0000 (19:53 -0500)
commit9e7fec216e37e6efe364428d9cba2f7b70f8ef3a
treeb681ac1a8b19b9776021e81ce6f4eb3f6469ef67
parent317f0da91e8240a153d509d42bac4d62cc03bb52
Removed prediction_error accumulation

from vp8cx_encode_intra_macro_block.  prediction_error is used when
deciding if a frame should be a keyframe.  After reviewing this with
Yaowu, it was pointed out that vp8cx_encode_intra_macro_block
is only called for keyframes, so the accumulation is unnecessary.

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