ref: b09f628df8ba80212c4dc8bab82d23ef97da7b42
parent: c09e95fc7da1c91db3cef34dc61010ab33443eea
author: Paul Wilkins <[email protected]>
date: Wed Mar 27 13:57:00 EDT 2019
Allow more Intra choices in film mode. Disable part of a speed feature that blocks all intra modes except DC_PRED when the source variance is low. Change-Id: I2956951fd05933a39f7225d4dfe14e019410fee3
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3459,7 +3459,8 @@
// Disable intra modes other than DC_PRED for blocks with low variance
// Threshold for intra skipping based on source variance
// TODO(debargha): Specialize the threshold for super block sizes
- const unsigned int skip_intra_var_thresh = 64;
+ const unsigned int skip_intra_var_thresh =
+ (cpi->oxcf.content == VP9E_CONTENT_FILM) ? 0 : 64;
if ((mode_search_skip_flags & FLAG_SKIP_INTRA_LOWVAR) &&
x->source_variance < skip_intra_var_thresh)
continue;