summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2014-04-04 14:39:39 +0100
committerPaul Wilkins <paulwilkins@google.com>2014-04-11 15:02:15 +0100
commit1d9755436d00c1b4091003bc6bc86628d557d6b2 (patch)
treebe428aae617c976bdc387226b960e15f6d510154
parentd83f6f06328e9ac9370481f60589329c5de9afc4 (diff)
downloadlibvpx-1d9755436d00c1b4091003bc6bc86628d557d6b2.tar
libvpx-1d9755436d00c1b4091003bc6bc86628d557d6b2.tar.gz
libvpx-1d9755436d00c1b4091003bc6bc86628d557d6b2.tar.bz2
libvpx-1d9755436d00c1b4091003bc6bc86628d557d6b2.zip
Adjust active minQ calculation for normal frames.
This increases the range of Q values available to normal inter frames to allow encoder a better chance to hit the target rate. Change-Id: I33cd96469a46577fdcea631e26d3355710909e6d
-rw-r--r--vp9/encoder/vp9_ratectrl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c
index 960a3d8be..3fd99171b 100644
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -74,14 +74,13 @@ void vp9_rc_init_minq_luts() {
for (i = 0; i < QINDEX_RANGE; i++) {
const double maxq = vp9_convert_qindex_to_q(i);
-
kf_low_motion_minq[i] = get_minq_index(maxq, 0.000001, -0.0004, 0.15);
kf_high_motion_minq[i] = get_minq_index(maxq, 0.000002, -0.0012, 0.50);
gf_low_motion_minq[i] = get_minq_index(maxq, 0.0000015, -0.0009, 0.32);
gf_high_motion_minq[i] = get_minq_index(maxq, 0.0000021, -0.00125, 0.50);
afq_low_motion_minq[i] = get_minq_index(maxq, 0.0000015, -0.0009, 0.33);
afq_high_motion_minq[i] = get_minq_index(maxq, 0.0000021, -0.00125, 0.55);
- inter_minq[i] = get_minq_index(maxq, 0.00000271, -0.00113, 0.75);
+ inter_minq[i] = get_minq_index(maxq, 0.00000271, -0.00113, 0.55);
}
}