• John Koleszar's avatar
    Improved 1-pass CBR rate control · b5ea2fbc
    John Koleszar authored
    This patch attempts to improve the handling of CBR streams with
    respect to the short term buffering requirements. The "buffer level"
    is changed to be an average over the rc buffer, rather than a long
    running average. Overshoot is also tracked over the same interval
    and the golden frame targets suppressed accordingly to correct for
    overly aggressive boosting.
    Testing shows that this is fairly consistently positive in one
    metric or another -- some clips that show significant decreases
    in quality have better buffering characteristics, others show
    improvenents in both.
    Change-Id: I924c89aa9bdb210271f2e03311e63de3f1f8f920
ratectrl.c 55.9 KB