From: Jerome Jiang Date: Tue, 4 Apr 2017 23:28:27 +0000 (-0700) Subject: vp9: Remove legacy comments for avg_source_sad. X-Git-Tag: v1.7.0~580 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb60204d4c36a4041daaca2f1461b731fa2dfaa2;p=libvpx vp9: Remove legacy comments for avg_source_sad. Change-Id: Ia6e8614535a097f17f37fc382cef8e22e03b70f6 --- diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index fb929e19f..141577ba7 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3153,7 +3153,7 @@ static void encode_without_recode_loop(VP9_COMP *cpi, size_t *size, } // 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 && diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index 5386f6a1e..f79b7c6fc 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -2289,7 +2289,6 @@ void vp9_scene_detection_onepass(VP9_COMP *cpi) { 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) ||