rtc: Enable noise estimation for high resols
Enable noise estimation for resoln about VGA.
Adjust the threshold increase logic for var_based_partition
based on noise estimation, and remove some split logic
based on noise level. Also remove the duplicate
avg_frame_low_motion computation, and modify the content
state to include low_sumdiff flag, used to increase the
partition thresholds at superblock level.
The increased partition threshold applies only to noisy
content and is targeted to avoid superblocks with motion.
This helps visually to improve background stability for
high noise clips.
bdrate only affects a few of the noisy 720p clip in rtc_set,
and change is neutral, except for dark720 clip which has
bdrate gain ~4% at speed 8.
Change-Id: I42b2e3f71aca5f008034656af6a2fb1d64fd06c6
diff --git a/av1/encoder/var_based_part.h b/av1/encoder/var_based_part.h
index 8067bf5..89e44e8 100644
--- a/av1/encoder/var_based_part.h
+++ b/av1/encoder/var_based_part.h
@@ -46,14 +46,14 @@
* \callgraph
* \callergraph
*
- * \param[in] cpi Top level encoder structure
- * \param[in] q q index
- * \param[in] content_state Content state of superblock
+ * \param[in] cpi Top level encoder structure
+ * \param[in] q q index
+ * \param[in] content_lowsumdiff Low sumdiff flag for superblock
*
* \return Returns the set of thresholds in \c cpi->vbp_info.thresholds.
*/
void av1_set_variance_partition_thresholds(AV1_COMP *cpi, int q,
- int content_state);
+ int content_lowsumdiff);
/*!\brief Variance based partition selection.
*