Remove unused kf rate variables
authorJohn Koleszar <jkoleszar@google.com>
Tue, 19 Apr 2011 20:08:45 +0000 (16:08 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 19 Apr 2011 20:14:57 +0000 (16:14 -0400)
commitad6a8ca58bcdc8ef2e3018598d2890bd7fbe0926
treea39479726e59d970001efc6bb6bfce688c2a1b2d
parentc619f6cb0f16d083a290168c8613f8e506a9fd27
Remove unused kf rate variables

Remove tot_key_frame_bits and prior_key_frame_size[] as they were
tracked but never used. Remove intra_frame_target, as it was only
used to initialize prior_key_frame_size.

Refactor vp8_adjust_key_frame_context() some to remove unnecessary
calculations.

Change-Id: Icbc2c83d2b90e184be03e6f9679e678f3a4bce8f
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/ratectrl.c