Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MEDIA_BASE_VECTOR_MATH_H_ | |
| 6 #define MEDIA_BASE_VECTOR_MATH_H_ | |
| 7 | |
| 8 #include "media/base/media_export.h" | |
| 9 | |
| 10 namespace vector_math { | |
|
Ami GONE FROM CHROMIUM
2012/08/23 20:04:37
should be nested inside namespace media.
DaleCurtis
2012/08/23 20:16:42
Done.
| |
| 11 | |
| 12 // Required alignment for inputs and outputs to all vector math functions | |
| 13 enum { kRequiredAlignment = 16 }; | |
| 14 | |
| 15 // Multiply each element of |src| (up to |len|) by |scale| and add to |dest|. | |
| 16 // |src| and |dest| must be aligned by kRequiredAlignment. | |
| 17 MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]); | |
| 18 | |
| 19 } // namespace vector_math | |
| 20 | |
| 21 #endif // MEDIA_BASE_VECTOR_MATH_H_ | |
| OLD | NEW |