shithub: libvpx

Download patch

ref: a5ea68447ff7b731b51a323bb16619aee9391890
parent: a7eb21760f376a2977847e6bf0e02d8827de9359
author: Yaowu Xu <yaowu@google.com>
date: Thu Jan 5 06:22:06 EST 2012

Added an emms to prevent invalid stats output

In certain hardware configuration, where mmx code is enabled and
other simd (sse2/sse3) disabled, lacking of this emms caused invalid
internal stats outputs.

Change-Id: I77c61cf6e0448d3f3b8c11781aa9e42f31d231c9

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -2670,6 +2670,8 @@
 
 #if CONFIG_INTERNAL_STATS
 
+        vp8_clear_system_state();
+
         if (cpi->pass != 1)
         {
             FILE *f = fopen("opsnr.stt", "a");
--