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

Unified Diff: media/base/audio_renderer_mixer.h

Issue 10868037: Split AudioRendererMixer::VectorFMAC into VectorMath library. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments. Lint. Created 8 years, 4 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/audio_renderer_mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_renderer_mixer.h
diff --git a/media/base/audio_renderer_mixer.h b/media/base/audio_renderer_mixer.h
index 75b7d85d6ec8f7e1e74e6f2d60008cbbcd081b6e..c595c0d743c832638fc568e1ff1a91f662e03aa1 100644
--- a/media/base/audio_renderer_mixer.h
+++ b/media/base/audio_renderer_mixer.h
@@ -7,7 +7,6 @@
#include <set>
-#include "base/gtest_prod_util.h"
#include "base/synchronization/lock.h"
#include "media/base/audio_renderer_mixer_input.h"
#include "media/base/audio_renderer_sink.h"
@@ -33,9 +32,6 @@ class MEDIA_EXPORT AudioRendererMixer
void RemoveMixerInput(const scoped_refptr<AudioRendererMixerInput>& input);
private:
- FRIEND_TEST_ALL_PREFIXES(AudioRendererMixerTest, VectorFMAC);
- FRIEND_TEST_ALL_PREFIXES(AudioRendererMixerTest, VectorFMACBenchmark);
-
// AudioRendererSink::RenderCallback implementation.
virtual int Render(AudioBus* audio_bus,
int audio_delay_milliseconds) OVERRIDE;
@@ -46,14 +42,6 @@ class MEDIA_EXPORT AudioRendererMixer
// by MultiChannelResampler when more data is necessary.
void ProvideInput(AudioBus* audio_bus);
- // Multiply each element of |src| (up to |len|) by |scale| and add to |dest|.
- static void VectorFMAC(const float src[], float scale, int len, float dest[]);
- static void VectorFMAC_C(const float src[], float scale, int len,
- float dest[]);
- // SSE optimized VectorFMAC, requires |src|, |dest| to be 16-byte aligned.
- static void VectorFMAC_SSE(const float src[], float scale, int len,
- float dest[]);
-
// Output sink for this mixer.
scoped_refptr<AudioRendererSink> audio_sink_;
« no previous file with comments | « no previous file | media/base/audio_renderer_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698