summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86/mcomp_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder/x86/mcomp_x86.h')
-rw-r--r--vp8/encoder/x86/mcomp_x86.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vp8/encoder/x86/mcomp_x86.h b/vp8/encoder/x86/mcomp_x86.h
index e8d658b39..3b7b29c21 100644
--- a/vp8/encoder/x86/mcomp_x86.h
+++ b/vp8/encoder/x86/mcomp_x86.h
@@ -24,5 +24,14 @@
#endif
#endif
+#if HAVE_SSE4_1
+#if !CONFIG_RUNTIME_CPU_DETECT
+
+#undef vp8_search_full_search
+#define vp8_search_full_search vp8_full_search_sadx8
+
+#endif
+#endif
+
#endif