Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: media/base/cpu_features_x86.cc

Issue 7891039: Resubmit - Rewrite color space conversions suite using YASM" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/cpu_features.h ('k') | media/base/simd/convert_rgb_to_yuv_x86.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cpu_features_x86.cc
diff --git a/media/base/cpu_features_x86.cc b/media/base/cpu_features_x86.cc
index bf7d05d13ddd182a3d32d1b42bc8bbee541ef12e..4fb9304d50cebb6f9b117672d82d9ee0fa8d168b 100644
--- a/media/base/cpu_features_x86.cc
+++ b/media/base/cpu_features_x86.cc
@@ -48,6 +48,16 @@ static inline void getcpuid(int info_type, int info[4]) {
}
#endif
+bool hasMMX() {
+ // TODO(hclam): Acutually checks it.
+ return true;
+}
+
+bool hasSSE() {
+ // TODO(hclam): Actually checks it.
+ return true;
+}
+
bool hasSSE2() {
#if defined(ARCH_CPU_X86_64)
/* All x86_64 machines have SSE2, so don't even bother checking. */
« no previous file with comments | « media/base/cpu_features.h ('k') | media/base/simd/convert_rgb_to_yuv_x86.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698