summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2012-01-05 11:22:06 -0800
committerYaowu Xu <yaowu@google.com>2012-01-05 13:25:41 -0800
commita5ea68447ff7b731b51a323bb16619aee9391890 (patch)
treeb41a6ed6c4bd2d4e2957622ad5bea02cc744b5dd /vp8/encoder
parenta7eb21760f376a2977847e6bf0e02d8827de9359 (diff)
downloadlibvpx-a5ea68447ff7b731b51a323bb16619aee9391890.tar
libvpx-a5ea68447ff7b731b51a323bb16619aee9391890.tar.gz
libvpx-a5ea68447ff7b731b51a323bb16619aee9391890.tar.bz2
libvpx-a5ea68447ff7b731b51a323bb16619aee9391890.zip
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
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/onyx_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index fe8f1ab78..b60d996a8 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -2670,6 +2670,8 @@ void vp8_remove_compressor(VP8_PTR *ptr)
#if CONFIG_INTERNAL_STATS
+ vp8_clear_system_state();
+
if (cpi->pass != 1)
{
FILE *f = fopen("opsnr.stt", "a");