Fixes problems with unstable filter detection
authorJ-M Valin (rewritten by T.B. Terriberry) <jmvalin@jmvalin.ca>
Fri, 30 Sep 2011 22:12:13 +0000 (18:12 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 30 Sep 2011 22:12:13 +0000 (18:12 -0400)
commitb23a6ca5cfb2d50e965c53ddba21a2e82f484dc5
tree9a195630945a3435b3634228ebfc8822043fb50e
parentefe16c5d470e3d693cc7de1a0cb92a93db3e771c
Fixes problems with unstable filter detection

LPC_inverse_pred_gain_QA() was failing to detect unstable filters
because of insufficient numerical precision. Precision was increased
to Q24 for LPC coefs and the reciprocal now uses all the precision
available (variable shift right from the start).
silk/LPC_inv_pred_gain.c