ref: 4863e07c01ca539bd2a0ebcbed6f210050d6c578
parent: f16ea6a6eb3b0e06b9e3e586ef15be0d2b0e870c
author: Marco <[email protected]>
date: Wed Mar 22 18:36:19 EDT 2017
vp9: Non-rd partition: avoid unneeded call to chrome_check Since y_sad is not computed yet (on the early exit due to source_sad), no need to check for setting color_sensitiviy. Only affects speed >=8. No change in behavior. Change-Id: I3a6f2d20fed38d8b8ec51b75bcacf9a21f2db916
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1024,7 +1024,6 @@
// If source_sad is low copy the partition without computing the y_sad.
if (x->skip_low_source_sad && cpi->sf.copy_partition_flag &&
copy_partitioning(cpi, x, mi_row, mi_col, segment_id, sb_offset)) {
- chroma_check(cpi, x, bsize, y_sad, is_key_frame);
return 0;
}
}