summaryrefslogtreecommitdiff
path: root/silk/SigProc_FIX.h
diff options
context:
space:
mode:
authorKoen Vos <koenvos@users.noreply.github.com>2016-02-20 21:29:03 +0800
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-17 15:05:55 -0400
commit52cfffe5793f5b69d4ecb762726dca16e2beb7ea (patch)
treeffac122741f6794e7d388506a49963ac4a8ce790 /silk/SigProc_FIX.h
parent8abd50ea1a5976a4058f7ba294f55b9dc9940968 (diff)
downloadopus-52cfffe5793f5b69d4ecb762726dca16e2beb7ea.tar.gz
slight clean up
Diffstat (limited to 'silk/SigProc_FIX.h')
-rw-r--r--silk/SigProc_FIX.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/silk/SigProc_FIX.h b/silk/SigProc_FIX.h
index 3d3161c9..4d0e7df8 100644
--- a/silk/SigProc_FIX.h
+++ b/silk/SigProc_FIX.h
@@ -274,6 +274,15 @@ void silk_NLSF2A(
const opus_int d /* I filter order (should be even) */
);
+/* Convert int32 coefficients to int16 coefs and make sure there's no wrap-around */
+void silk_LPC_fit(
+ opus_int16 *a_QOUT, /* O Output signal */
+ opus_int32 *a_QIN, /* I/O Input signal */
+ const opus_int QOUT, /* I Input Q domain */
+ const opus_int QIN, /* I Input Q domain */
+ const opus_int d /* I Filter order */
+);
+
void silk_insertion_sort_increasing(
opus_int32 *a, /* I/O Unsorted / Sorted vector */
opus_int *idx, /* O Index vector for the sorted elements */