ref: d6cad7aa42f91854fad9eeb8593d520eae0a8cdf
parent: 8fcfe02bc0f5f751c8ea2f6dd2027577331b1deb
author: Jean-Marc Valin <[email protected]>
date: Fri Oct 28 19:20:55 EDT 2011
Disabling some unused SILK functions from the float build
--- a/silk/LPC_inv_pred_gain.c
+++ b/silk/LPC_inv_pred_gain.c
@@ -132,7 +132,10 @@
return LPC_inverse_pred_gain_QA( invGain_Q30, Atmp_QA, order );
}
+#ifdef FIXED_POINT
+
/* For input in Q24 domain */
+/* This function is only used by the fixed-point build */
opus_int silk_LPC_inverse_pred_gain_Q24( /* O Returns 1 if unstable, otherwise 0 */
opus_int32 *invGain_Q30, /* O Inverse prediction gain, Q30 energy domain */
const opus_int32 *A_Q24, /* I Prediction coefficients, Q24 [order] */
@@ -152,4 +155,4 @@
return LPC_inverse_pred_gain_QA( invGain_Q30, Atmp_QA, order );
}
-
+#endif
--- a/silk/sort.c
+++ b/silk/sort.c
@@ -83,6 +83,8 @@
}
}
+#ifdef FIXED_POINT
+/* This function is only used by the fixed-point build */
void silk_insertion_sort_decreasing_int16(
opus_int16 *a, /* I/O Unsorted / Sorted vector */
opus_int *idx, /* O Index vector for the sorted elements */
@@ -128,6 +130,7 @@
}
}
}
+#endif
void silk_insertion_sort_increasing_all_values_int16(
opus_int16 *a, /* I/O Unsorted / Sorted vector */