OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_VECTOR_MATH_TESTING_H_ | 5 #ifndef MEDIA_BASE_VECTOR_MATH_TESTING_H_ |
6 #define MEDIA_BASE_VECTOR_MATH_TESTING_H_ | 6 #define MEDIA_BASE_VECTOR_MATH_TESTING_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "media/base/media_export.h" | 9 #include "media/base/media_export.h" |
10 | 10 |
11 namespace media { | 11 namespace media { |
12 namespace vector_math { | 12 namespace vector_math { |
13 | 13 |
14 // Optimized versions of FMAC() function exposed for testing. See vector_math.h | 14 // Optimized versions exposed for testing. See vector_math.h for details. |
15 // for details. | |
16 MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]); | 15 MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]); |
| 16 MEDIA_EXPORT void FMUL_C(const float src[], float scale, int len, float dest[]); |
17 | 17 |
18 #if defined(ARCH_CPU_X86_FAMILY) | 18 #if defined(ARCH_CPU_X86_FAMILY) |
19 MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, | 19 MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, |
20 float dest[]); | 20 float dest[]); |
| 21 MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len, |
| 22 float dest[]); |
21 #endif | 23 #endif |
22 | 24 |
23 } // namespace vector_math | 25 } // namespace vector_math |
24 } // namespace media | 26 } // namespace media |
25 | 27 |
26 #endif // MEDIA_BASE_VECTOR_MATH_TESTING_H_ | 28 #endif // MEDIA_BASE_VECTOR_MATH_TESTING_H_ |
OLD | NEW |