Change rc undershoot/overshoot semantics
authorJohn Koleszar <jkoleszar@google.com>
Mon, 11 Apr 2011 15:29:23 +0000 (11:29 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 13 Apr 2011 00:49:33 +0000 (20:49 -0400)
commitc99f9d7abf90538bc569a5683299766276b287c9
tree0850e9cd10849be3657a646dffd14d5a0b2ce9a5
parenta9ce3e3834fb7f790523e0f0180520034589d786
Change rc undershoot/overshoot semantics

This patch changes the rc_undershoot_pct and rc_overshoot_pct controls
to set the "aggressiveness" of rate adaptation, by limiting the
amount of difference between the target buffer level and the actual
buffer level which is applied to the target frame rate for this frame.

This patch was initially provided by arosenberg at logitech.com as
an attachment to issue #270. It was modified to separate these controls
from the other unrelated modifications in that patch, as well as to
use the pre-existing variables rather than introducing new ones.

Change-Id: Id542e3f5667dd92d857d5eabf29878f2fd730a62
vp8/common/onyx.h
vp8/encoder/ratectrl.c
vp8/vp8_cx_iface.c
vpx/vpx_encoder.h