shithub: libvpx

Download patch

ref: 6753efd235230c49c42387a08f741b144de0701d
parent: e031f49f897c27c94448159d4ce31a1c5810a84a
parent: b09f628df8ba80212c4dc8bab82d23ef97da7b42
author: Paul Wilkins <[email protected]>
date: Thu Mar 28 06:49:55 EDT 2019

Merge "Allow more Intra choices in film mode."

--- 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;