summaryrefslogtreecommitdiff
path: root/vp8/encoder/generic/csystemdependent.c
diff options
context:
space:
mode:
authorFritz Koenig <frkoenig@google.com>2011-08-22 11:31:12 -0700
committerCode Review <code-review@webmproject.org>2011-08-22 11:31:12 -0700
commit734b1b2041a209ace033481c0fc919164177a3fc (patch)
treeeffd257932a085b5eaa80e27d14ec05cc76af4b4 /vp8/encoder/generic/csystemdependent.c
parent01376858cd184d820ff4c2d8390361a8679c0e87 (diff)
downloadlibvpx-734b1b2041a209ace033481c0fc919164177a3fc.tar
libvpx-734b1b2041a209ace033481c0fc919164177a3fc.tar.gz
libvpx-734b1b2041a209ace033481c0fc919164177a3fc.tar.bz2
libvpx-734b1b2041a209ace033481c0fc919164177a3fc.zip
Revert "Reclasify optimized ssim calculations as SSE2."
This reverts commit 01376858cd184d820ff4c2d8390361a8679c0e87
Diffstat (limited to 'vp8/encoder/generic/csystemdependent.c')
-rw-r--r--vp8/encoder/generic/csystemdependent.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/vp8/encoder/generic/csystemdependent.c b/vp8/encoder/generic/csystemdependent.c
index a14843a80..990610554 100644
--- a/vp8/encoder/generic/csystemdependent.c
+++ b/vp8/encoder/generic/csystemdependent.c
@@ -94,15 +94,16 @@ void vp8_cmachine_specific_config(VP8_COMP *cpi)
#if !(CONFIG_REALTIME_ONLY)
cpi->rtcd.temporal.apply = vp8_temporal_filter_apply_c;
#endif
-#if CONFIG_INTERNAL_STATS
- cpi->rtcd.variance.ssimpf_8x8 = vp8_ssim_parms_8x8_c;
- cpi->rtcd.variance.ssimpf_16x16 = vp8_ssim_parms_16x16_c;
-#endif
#endif
// Pure C:
vp8_yv12_copy_partial_frame_ptr = vp8_yv12_copy_partial_frame;
+#if CONFIG_INTERNAL_STATS
+ cpi->rtcd.variance.ssimpf_8x8 = ssim_parms_8x8_c;
+ cpi->rtcd.variance.ssimpf = ssim_parms_c;
+#endif
+
#if ARCH_X86 || ARCH_X86_64
vp8_arch_x86_encoder_init(cpi);
#endif