Chromium Code Reviews| 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. |
|
henrika (OOO until Aug 14)
2013/04/08 18:41:09
What happens if they are not properly aligned?
DaleCurtis
2013/04/08 19:11:40
When using mm_load instead of mm_loadu (unaligned)
|
| +MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]); |
| + |
| } // namespace vector_math |
| } // namespace media |