shithub: libvpx

Download patch

ref: f39bf458e55c55f86d46b29a4b34d91a07e2ad1b
parent: 96a1a59d21e70b7f4bd6cd7e10ac87ccc7745fed
parent: 94bfbaa84ea956e733d4eb9602d589f9d3577b49
author: Scott LaVarnway <[email protected]>
date: Thu Aug 22 02:26:04 EDT 2013

Merge "Initialize mb_skip_coeff before picking modes"

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -590,7 +590,11 @@
   set_offsets(cpi, mi_row, mi_col, bsize);
   xd->mode_info_context->mbmi.sb_type = bsize;
 
+  // Set to zero to make sure we do not use the previous encoded frame stats
+  xd->mode_info_context->mbmi.skip_coeff = 0;
+
   x->source_variance = get_sby_perpixel_variance(cpi, x, bsize);
+
   if (cpi->oxcf.tuning == VP8_TUNE_SSIM)
     vp9_activity_masking(cpi, x);