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

Unified Diff: media/base/vector_math.h

Issue 13726011: Add vector_math::FMUL. Replace audio_util::AdjustVolume. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix volume == 1 case. Created 7 years, 8 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/simd/vector_math_sse.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 10c3039d805fd93502c3ddcd22fc648b5446441d..2618687ec142cdd8888e39a0aee7a193da108131 100644
--- a/media/base/vector_math.h
+++ b/media/base/vector_math.h
@@ -17,6 +17,10 @@ enum { kRequiredAlignment = 16 };
// |src| and |dest| must be aligned by kRequiredAlignment.
MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]);
+// Multiply each element of |src| by |scale| and store in |dest|. |src| and
+// |dest| must be aligned by kRequiredAlignment.
+MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]);
+
} // namespace vector_math
} // namespace media
« no previous file with comments | « media/base/simd/vector_math_sse.cc ('k') | media/base/vector_math.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698