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

Unified Diff: media/base/vector_math.h

Issue 308003004: Remove runtime CPU detection for SSE optimized media/ methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more salty fix. Created 6 years, 7 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/sinc_resampler_unittest.cc ('k') | media/base/vector_math.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/vector_math.h
diff --git a/media/base/vector_math.h b/media/base/vector_math.h
index 0a2cb06f6b9c704f375aa1a5e01c0e93db3ef7f0..a148ca050f1c399c7caa0b772870fb65fcc7d4e5 100644
--- a/media/base/vector_math.h
+++ b/media/base/vector_math.h
@@ -15,11 +15,6 @@ namespace vector_math {
// Required alignment for inputs and outputs to all vector math functions
enum { kRequiredAlignment = 16 };
-// Selects runtime specific optimizations such as SSE. Must be called prior to
-// calling FMAC() or FMUL(). Called during media library initialization; most
-// users should never have to call this.
-MEDIA_EXPORT void Initialize();
-
// Multiply each element of |src| (up to |len|) by |scale| and add to |dest|.
// |src| and |dest| must be aligned by kRequiredAlignment.
MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]);
« no previous file with comments | « media/base/sinc_resampler_unittest.cc ('k') | media/base/vector_math.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698