ref: 03a54576711c907648647fc2ef120aee0e2be0f6
parent: 640b3195cb41d2166880e9441349a2d3b3024329
parent: 7a19474d5df9825d73624eddc727c32c08b5c1b9
author: Yaowu Xu <yaowu@google.com>
date: Thu Dec 20 11:54:08 EST 2018
Merge "Remove a special case"
--- a/vp9/encoder/vp9_rd.c
+++ b/vp9/encoder/vp9_rd.c
@@ -179,9 +179,7 @@
uint32_t rdmult = q * q;
if (cpi->common.frame_type != KEY_FRAME) {
- if (qindex < 1)
- rdmult = rdmult * 3 + (rdmult * 2 / 3);
- else if (qindex < 128)
+ if (qindex < 128)
rdmult = rdmult * 4;
else if (qindex < 190)
rdmult = rdmult * 4 + rdmult / 2;