Convert simple_model_rd_from_var from a speed check to a speed feature.
Change-Id: I8877025e172fff29bc4e270790211463b676b4d7
This commit is contained in:
@@ -237,7 +237,7 @@ static void model_rd_for_sb(VP9_COMP *cpi, BLOCK_SIZE bsize,
|
||||
total_sse += sum_sse;
|
||||
|
||||
// Fast approximate the modelling function.
|
||||
if (cpi->oxcf.speed > 4) {
|
||||
if (cpi->sf.simple_model_rd_from_var) {
|
||||
int64_t rate;
|
||||
const int64_t square_error = sum_sse;
|
||||
int quantizer = (pd->dequant[1] >> 3);
|
||||
|
||||
Reference in New Issue
Block a user