projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac5e269
)
Start with q=active_best_quality for non-forced key frames
author
Ravi Chaudhary
<ravi.chaudhary@ittiam.com>
Wed, 22 May 2019 04:46:30 +0000
(10:16 +0530)
committer
Ravi Chaudhary
<ravi.chaudhary@ittiam.com>
Thu, 20 Jun 2019 04:33:36 +0000
(10:03 +0530)
Change-Id: I435d247ab4d1d160f12f5a3710e6cafb5cfd6610
vp9/encoder/vp9_ratectrl.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_ratectrl.c
b/vp9/encoder/vp9_ratectrl.c
index
a8f75b7
..
6745b0a
100644
(file)
--- a/
vp9/encoder/vp9_ratectrl.c
+++ b/
vp9/encoder/vp9_ratectrl.c
@@
-1525,6
+1525,8
@@
static int rc_pick_q_and_bounds_two_pass(const VP9_COMP *cpi, int *bottom_index,
} else {
q = rc->last_boosted_qindex;
}
+ } else if (frame_is_intra_only(cm) && !rc->this_key_frame_forced) {
+ q = active_best_quality;
} else {
q = vp9_rc_regulate_q(cpi, rc->this_frame_target, active_best_quality,
active_worst_quality);