Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-04-24 00:24:45 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-04-24 00:24:45 +0400
commiteb8b3c2b07a761fdb3fcb6f7e39679ccfba595a6 (patch)
tree853b4178ba2d9eb2c8758282c1e30f7f5fdf709d /silk/fixed
parent28b1d248a775cfdd7bd11281db0b635124647303 (diff)
Adds note on monic filter
Diffstat (limited to 'silk/fixed')
-rw-r--r--silk/fixed/noise_shape_analysis_FIX.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/silk/fixed/noise_shape_analysis_FIX.c b/silk/fixed/noise_shape_analysis_FIX.c
index 8a3d7ccb..d8459ae7 100644
--- a/silk/fixed/noise_shape_analysis_FIX.c
+++ b/silk/fixed/noise_shape_analysis_FIX.c
@@ -34,6 +34,9 @@ POSSIBILITY OF SUCH DAMAGE.
/* Compute gain to make warped filter coefficients have a zero mean log frequency response on a */
/* non-warped frequency scale. (So that it can be implemented with a minimum-phase monic filter.) */
+/* Note: A monic filter is one with the first coefficient equal to 1.0. In Silk
+ we omit the first coefficient in an array of coefficients, for monic filters.
+*/
static inline opus_int32 warped_gain( /* gain in Q16*/
const opus_int32 *coefs_Q24,
opus_int lambda_Q16,