summaryrefslogtreecommitdiff
path: root/vp8/encoder/ratectrl.c
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2012-02-16 17:02:17 +0000
committerPaul Wilkins <paulwilkins@google.com>2012-02-16 17:21:20 +0000
commit79d330d7d5f948f66c38fc7a7bddb24134189ba8 (patch)
tree6a704626e8f37e2389949dd2512e26a44fffea58 /vp8/encoder/ratectrl.c
parent8b71f3e0593a5163368412c4976238c6b174a344 (diff)
downloadlibvpx-79d330d7d5f948f66c38fc7a7bddb24134189ba8.tar
libvpx-79d330d7d5f948f66c38fc7a7bddb24134189ba8.tar.gz
libvpx-79d330d7d5f948f66c38fc7a7bddb24134189ba8.tar.bz2
libvpx-79d330d7d5f948f66c38fc7a7bddb24134189ba8.zip
Code simplification
Removal of the pickinter.c and .h files and calls to this code. Removal of some code relating to real time and one pass settings though there is more to be done in this regard. However, vp8_set_speed_features() now only supports modes 0 and 1 and speeds up to 3 so rd should always be set. Change-Id: I62c0c1b6154ab499785baef310536080e87bc4d8
Diffstat (limited to 'vp8/encoder/ratectrl.c')
-rw-r--r--vp8/encoder/ratectrl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c
index 5d4121fac..5db83018a 100644
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -471,13 +471,6 @@ static void calc_gf_params(VP8_COMP *cpi)
#endif
}
- // golden frame boost without recode loop often goes awry. be safe by keeping numbers down.
- if (!cpi->sf.recode_loop)
- {
- if (cpi->compressor_speed == 2)
- Boost = Boost / 2;
- }
-
// Apply an upper limit based on Q for 1 pass encodes
// TODO.
// This is a temporay measure oas one pass not really supported yet in