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

Unified Diff: media/base/media.cc

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 | « no previous file | media/base/simd/sinc_resampler_sse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media.cc
diff --git a/media/base/media.cc b/media/base/media.cc
index 75625fe5f36dae93a1d4bd17a5fa920488f930ce..37fc02ae4575c3cb6cf51a94c0f6fdaebc23c9fe 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -9,8 +9,6 @@
#include "base/path_service.h"
#include "base/synchronization/lock.h"
#include "build/build_config.h"
-#include "media/base/sinc_resampler.h"
-#include "media/base/vector_math.h"
#include "media/base/yuv_convert.h"
namespace media {
@@ -44,9 +42,6 @@ class MediaInitializer {
: initialized_(false),
tried_initialize_(false) {
// Perform initialization of libraries which require runtime CPU detection.
- // TODO(dalecurtis): Add initialization of YUV, SincResampler.
- vector_math::Initialize();
- SincResampler::InitializeCPUSpecificFeatures();
InitializeCPUSpecificYUVConversions();
}
« no previous file with comments | « no previous file | media/base/simd/sinc_resampler_sse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698