Displaying 1 result from an estimated 1 matches for "e497a4d".
Did you mean:
b497afd
2013 Jul 24
1
QCONST16 cross compile inconsistency
...it for your
consideration the attached patch with one solution that
addresses this issue.
The changed macros continue to be compile-time constant generators
for gcc and the TI compilers.
thank you
--
Pedro Becerra
-------------- next part --------------
diff --git a/celt/arch.h b/celt/arch.h
index e497a4d..6511667 100644
--- a/celt/arch.h
+++ b/celt/arch.h
@@ -107,6 +107,18 @@ typedef opus_val32 celt_ener;
#define SCALEIN(a) (a)
#define SCALEOUT(a) (a)
+/** Compile-time conversion of float constant to 16-bit value */
+#define QCONST16(x,bits) (opus_val16)(...