summaryrefslogtreecommitdiff
path: root/vp10/encoder/ratectrl.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2015-08-26 13:36:54 -0700
committerYunqing Wang <yunqingwang@google.com>2015-08-26 13:36:54 -0700
commit1c0769107bf7303069c8d0b3c045c5557f5428db (patch)
tree5584f508803eedb8b5857dad888bcf1c4b946ce0 /vp10/encoder/ratectrl.c
parent413a0392c0ecf9cdc223e6c0a093ac00cea3782e (diff)
downloadlibvpx-1c0769107bf7303069c8d0b3c045c5557f5428db.tar
libvpx-1c0769107bf7303069c8d0b3c045c5557f5428db.tar.gz
libvpx-1c0769107bf7303069c8d0b3c045c5557f5428db.tar.bz2
libvpx-1c0769107bf7303069c8d0b3c045c5557f5428db.zip
vp10 cleanup: remove nonrd and real-time code
Code cleanup. Change-Id: I668bd5a4e5fbe96969d51d9ee777fc5f1d8abfe6
Diffstat (limited to 'vp10/encoder/ratectrl.c')
-rw-r--r--vp10/encoder/ratectrl.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/vp10/encoder/ratectrl.c b/vp10/encoder/ratectrl.c
index 0cd0bffd3..c40d30c6d 100644
--- a/vp10/encoder/ratectrl.c
+++ b/vp10/encoder/ratectrl.c
@@ -1180,15 +1180,7 @@ int vp10_rc_pick_q_and_bounds(const VP10_COMP *cpi,
} else {
q = rc_pick_q_and_bounds_two_pass(cpi, bottom_index, top_index);
}
- if (cpi->sf.use_nonrd_pick_mode) {
- if (cpi->sf.force_frame_boost == 1)
- q -= cpi->sf.max_delta_qindex;
-
- if (q < *bottom_index)
- *bottom_index = q;
- else if (q > *top_index)
- *top_index = q;
- }
+
return q;
}