diff options
author | Marco Paniconi <marpan@google.com> | 2018-12-03 10:32:06 -0800 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2018-12-03 12:18:35 -0800 |
commit | c34e5cafcaf3c648e8dcdb380010cd93d8b2f3f3 (patch) | |
tree | 82690d582fc3ac0eac1a06c19e5e96d01b972f93 /vp9/encoder/vp9_ratectrl.c | |
parent | 5fbc7a286b4d72883392fdbb10ec52bace662f66 (diff) | |
download | libvpx-c34e5cafcaf3c648e8dcdb380010cd93d8b2f3f3.tar libvpx-c34e5cafcaf3c648e8dcdb380010cd93d8b2f3f3.tar.gz libvpx-c34e5cafcaf3c648e8dcdb380010cd93d8b2f3f3.tar.bz2 libvpx-c34e5cafcaf3c648e8dcdb380010cd93d8b2f3f3.zip |
vp9: Rename post_encode drop function.
Feature works also for non-screen content mode,
so rename it.
Change-Id: I665362d50cf9a4017f114973586ad0eead066ddd
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.c')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index 396ba0269..26dfb47d7 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -550,7 +550,7 @@ static int drop_frame(VP9_COMP *cpi) { } } -int post_encode_drop_screen_content(VP9_COMP *cpi, size_t *size) { +int post_encode_drop_cbr(VP9_COMP *cpi, size_t *size) { size_t frame_size = *size << 3; int64_t new_buffer_level = cpi->rc.buffer_level + cpi->rc.avg_frame_bandwidth - (int64_t)frame_size; |