diff options
author | Nedeljko Babic <nbabic@mips.com> | 2012-02-24 17:19:29 +0100 |
---|---|---|
committer | Nedeljko Babic <nbabic@mips.com> | 2012-02-24 17:19:29 +0100 |
commit | 546899e66dbe4b08d0472b414193cda619087b5d (patch) | |
tree | cbc0896dbf8876fb96aa236f5065032349ef911c | |
parent | 3175ff964c7d85d070df823189997f6b753cfef7 (diff) | |
download | tremor-546899e66dbe4b08d0472b414193cda619087b5d.tar.gz |
Comments from Android code added for clarification
-rw-r--r-- | asm_arm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -64,6 +64,7 @@ static inline void XPROD32(ogg_int32_t a, ogg_int32_t b, *y = y1; } +/* x = (a*t + b*v)>>31, y = (b*t - a*v)>>31 */ static inline void XPROD31(ogg_int32_t a, ogg_int32_t b, ogg_int32_t t, ogg_int32_t v, ogg_int32_t *x, ogg_int32_t *y) @@ -82,6 +83,7 @@ static inline void XPROD31(ogg_int32_t a, ogg_int32_t b, *y = y1 << 1; } +/* x = (a*t - b*v)>>31, y = (b*t + a*v)>>31 */ static inline void XNPROD31(ogg_int32_t a, ogg_int32_t b, ogg_int32_t t, ogg_int32_t v, ogg_int32_t *x, ogg_int32_t *y) |