Move pick_frame_size() to ratectrl.c
authorJohn Koleszar <jkoleszar@google.com>
Mon, 25 Apr 2011 19:02:54 +0000 (15:02 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 26 Apr 2011 20:49:54 +0000 (16:49 -0400)
commit81d2206ff863fbac1da7a9496ec30512532e08eb
tree9b9d652f25aa3e3d7ecde674b3a1427656b9da4b
parent0da77a840b79c8037272687ba5fa8c3e01885572
Move pick_frame_size() to ratectrl.c

This is a first step in cleaning up the redundancies between
vp8_calc_{auto_,}iframe_target_size. The pick_frame_size() function is
moved to ratectrl.c, and made to be the primary interface. This means
that the various calc_*_target_size functions can be made private.

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