commit | 821945d97c664b648ea645ed2af7c26a8fdc4c19 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Thu Apr 10 13:24:48 2008 +1000 |
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | Thu Apr 10 13:24:48 2008 +1000 |
tree | 9ab381839ea0d5bc7cedbc2d45329296f68a5dab | |
parent | c8e3b67869af8f17d7b24e1ba6071366845bf633 [diff] [blame] |
Defining IMUL32 for 32x32=>32 int multiplications and using it in the range coder
diff --git a/libcelt/arch.h b/libcelt/arch.h index 0e41cce..9a3569e 100644 --- a/libcelt/arch.h +++ b/libcelt/arch.h
@@ -47,6 +47,7 @@ #define celt_assert2(cond, message) #endif +#define IMUL32(a,b) ((a)*(b)) #define ABS(x) ((x) < 0 ? (-(x)) : (x)) /**< Absolute integer value. */ #define ABS16(x) ((x) < 0 ? (-(x)) : (x)) /**< Absolute 16-bit value. */