shithub: libvpx

Download patch

ref: 49434a1201f821c67f8602328470df441cc67353
parent: 8991d1c18da94bb5aff2afd1d0940fff90dd271b
parent: d72cd51d83947064ef6354f02b1df59d2d3f1317
author: Marco Paniconi <marpan@google.com>
date: Tue Jul 24 02:47:54 EDT 2018

Merge "vp9: Adjust reset segment for real-time screen-content"

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1615,7 +1615,7 @@
           vp9_get_sby_perpixel_variance(cpi, &x->plane[0].src, bsize);
 
     if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && mi->segment_id > 0 &&
-        x->zero_temp_sad_source && x->source_variance == 0) {
+        x->source_variance == 0) {
       mi->segment_id = 0;
       vp9_init_plane_quantizers(cpi, x);
     }