ref: fb60204d4c36a4041daaca2f1461b731fa2dfaa2
parent: 8097b49997e839863cf0e48a54ea29f757bb34a2
author: Jerome Jiang <[email protected]>
date: Tue Apr 4 12:28:27 EDT 2017
vp9: Remove legacy comments for avg_source_sad. Change-Id: Ia6e8614535a097f17f37fc382cef8e22e03b70f6
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3153,7 +3153,7 @@
}
// Avoid scaling last_source unless its needed.
- // Last source is needed if vp9_avg_source_sad() is used, or if
+ // Last source is needed if avg_source_sad() is used, or if
// partition_search_type == SOURCE_VAR_BASED_PARTITION, or if noise
// estimation is enabled.
if (cpi->unscaled_last_source != NULL &&
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2289,7 +2289,6 @@
for (sbi_row = 0; sbi_row < sb_rows; ++sbi_row) {
for (sbi_col = 0; sbi_col < sb_cols; ++sbi_col) {
// Checker-board pattern, ignore boundary.
- // If the use_source_sad is on, compute for every superblock.
if (((sbi_row > 0 && sbi_col > 0) &&
(sbi_row < sb_rows - 1 && sbi_col < sb_cols - 1) &&
((sbi_row % 2 == 0 && sbi_col % 2 == 0) ||