[Asterisk-code-review] codecs: Spelling fixes (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 13:29:51 CST 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17305 )


Change subject: codecs: Spelling fixes
......................................................................

codecs: Spelling fixes

Correct typos of the following word families:

voiced
denumerator
codeword
upsampling
constructed
residual
subroutine
conditional
quantizing
courtesy
number

ASTERISK-29714

Change-Id: I471fb8086a5277d8f05047fedee22cfa97a4252d
---
M codecs/codec_g726.c
M codecs/gsm/src/rpe.c
M codecs/ilbc/LPCencode.c
M codecs/ilbc/StateSearchW.c
M codecs/ilbc/StateSearchW.h
M codecs/ilbc/constants.c
M codecs/ilbc/createCB.c
M codecs/ilbc/createCB.h
M codecs/ilbc/enhancer.h
M codecs/ilbc/iLBC_decode.c
M codecs/ilbc/rfc3951.txt
M codecs/lpc10/lpc10.h
M codecs/lpc10/pitsyn.c
M codecs/lpc10/placea.c
M codecs/speex/resample.c
15 files changed, 32 insertions(+), 32 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/05/17305/1

diff --git a/codecs/codec_g726.c b/codecs/codec_g726.c
index 249e4f4..d9f5e00 100644
--- a/codecs/codec_g726.c
+++ b/codecs/codec_g726.c
@@ -309,7 +309,7 @@
 	/*
 	 * QUAN
 	 *
-	 * Obtain codword i for 'd'.
+	 * Obtain codeword i for 'd'.
 	 */
 	i = quan(dln, table, size);
 	if (d < 0) {			/* take 1's complement of i */
diff --git a/codecs/gsm/src/rpe.c b/codecs/gsm/src/rpe.c
index 2ace69f..c44168a 100644
--- a/codecs/gsm/src/rpe.c
+++ b/codecs/gsm/src/rpe.c
@@ -281,7 +281,7 @@
 		if (temp > xmax) xmax = temp;
 	}
 
-	/*  Qantizing and coding of xmax to get xmaxc.
+	/*  Quantizing and coding of xmax to get xmaxc.
 	 */
 
 	exp   = 0;
diff --git a/codecs/ilbc/LPCencode.c b/codecs/ilbc/LPCencode.c
index 7ef6204..8ac1d99 100644
--- a/codecs/ilbc/LPCencode.c
+++ b/codecs/ilbc/LPCencode.c
@@ -22,7 +22,7 @@
 
 
    /*----------------------------------------------------------------*
-    *  lpc analysis (subrutine to LPCencode)
+    *  lpc analysis (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleAnalysis(
@@ -75,7 +75,7 @@
 
 
     *  lsf interpolator and conversion from lsf to a coefficients
-    *  (subrutine to SimpleInterpolateLSF)
+    *  (subroutine to SimpleInterpolateLSF)
     *---------------------------------------------------------------*/
 
    void LSFinterpolate2a_enc(
@@ -93,7 +93,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  lsf interpolator (subrutine to LPCencode)
+    *  lsf interpolator (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleInterpolateLSF(
@@ -184,7 +184,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  lsf quantizer (subrutine to LPCencode)
+    *  lsf quantizer (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimplelsfQ(
diff --git a/codecs/ilbc/StateSearchW.c b/codecs/ilbc/StateSearchW.c
index 7320dde..0a34e61 100644
--- a/codecs/ilbc/StateSearchW.c
+++ b/codecs/ilbc/StateSearchW.c
@@ -20,7 +20,7 @@
 
    /*----------------------------------------------------------------*
     *  predictive noise shaping encoding of scaled start state
-    *  (subrutine for StateSearchW)
+    *  (subroutine for StateSearchW)
     *---------------------------------------------------------------*/
 
    void AbsQuantW(
@@ -123,7 +123,7 @@
                            /* (i) Encoder instance */
        float *residual,/* (i) target residual vector */
        float *syntDenum,   /* (i) lpc synthesis filter */
-       float *weightDenum, /* (i) weighting filter denuminator */
+       float *weightDenum, /* (i) weighting filter denumerator */
        int *idxForMax,     /* (o) quantizer index for maximum
                                   amplitude */
        int *idxVec,    /* (o) vector of quantization indexes */
diff --git a/codecs/ilbc/StateSearchW.h b/codecs/ilbc/StateSearchW.h
index 730e039..b088f9b 100644
--- a/codecs/ilbc/StateSearchW.h
+++ b/codecs/ilbc/StateSearchW.h
@@ -31,7 +31,7 @@
                            /* (i) Encoder instance */
        float *residual,/* (i) target residual vector */
        float *syntDenum,   /* (i) lpc synthesis filter */
-       float *weightDenum, /* (i) weighting filter denuminator */
+       float *weightDenum, /* (i) weighting filter denumerator */
        int *idxForMax,     /* (o) quantizer index for maximum
                                   amplitude */
        int *idxVec,    /* (o) vector of quantization indexes */
diff --git a/codecs/ilbc/constants.c b/codecs/ilbc/constants.c
index bedfc39..ca077da 100644
--- a/codecs/ilbc/constants.c
+++ b/codecs/ilbc/constants.c
@@ -178,7 +178,7 @@
        (float)1.049988, (float)1.087524, (float)1.125000,
        (float)1.162476, (float)1.200012};
 
-   /* Enhancer - Upsamling a factor 4 (ENH_UPS0 = 4) */
+   /* Enhancer - Upsampling a factor 4 (ENH_UPS0 = 4) */
    float polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={
        (float)0.000000, (float)0.000000, (float)0.000000,
    (float)1.000000,
diff --git a/codecs/ilbc/createCB.c b/codecs/ilbc/createCB.c
index 31d6eab..56cc3b2 100644
--- a/codecs/ilbc/createCB.c
+++ b/codecs/ilbc/createCB.c
@@ -192,7 +192,7 @@
                               to be created */
        float *buffer,  /* (i) Pointer to the end of the buffer for
                               augmented codebook construction */
-       float *cbVec/* (o) The construced codebook vector */
+       float *cbVec/* (o) The constructed codebook vector */
    ) {
        int ilow, j;
        float *pp, *ppo, *ppi, alfa, alfa1, weighted;
diff --git a/codecs/ilbc/createCB.h b/codecs/ilbc/createCB.h
index 6689cc2..998559a 100644
--- a/codecs/ilbc/createCB.h
+++ b/codecs/ilbc/createCB.h
@@ -51,7 +51,7 @@
        float *buffer,      /* (i) Pointer to the end of the
                                   buffer for augmented codebook
                                   construction */
-       float *cbVec    /* (o) The construced codebook vector */
+       float *cbVec    /* (o) The constructed codebook vector */
    );
 
    #endif
diff --git a/codecs/ilbc/enhancer.h b/codecs/ilbc/enhancer.h
index 80a494e..1fb4074 100644
--- a/codecs/ilbc/enhancer.h
+++ b/codecs/ilbc/enhancer.h
@@ -26,8 +26,8 @@
    );
 
    int enhancerInterface(
-       float *out,         /* (o) the enhanced recidual signal */
-       float *in,          /* (i) the recidual signal to enhance */
+       float *out,         /* (o) the enhanced residual signal */
+       float *in,          /* (i) the residual signal to enhance */
        iLBC_Dec_Inst_t *iLBCdec_inst
                            /* (i/o) the decoder state structure */
    );
diff --git a/codecs/ilbc/iLBC_decode.c b/codecs/ilbc/iLBC_decode.c
index b607f41..7f7f3a5 100644
--- a/codecs/ilbc/iLBC_decode.c
+++ b/codecs/ilbc/iLBC_decode.c
@@ -112,7 +112,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  frame residual decoder function (subrutine to iLBC_decode)
+    *  frame residual decoder function (subroutine to iLBC_decode)
     *---------------------------------------------------------------*/
 
    void Decode(
diff --git a/codecs/ilbc/rfc3951.txt b/codecs/ilbc/rfc3951.txt
index 320651b..4668ade 100644
--- a/codecs/ilbc/rfc3951.txt
+++ b/codecs/ilbc/rfc3951.txt
@@ -3657,7 +3657,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  frame residual decoder function (subrutine to iLBC_decode)
+    *  frame residual decoder function (subroutine to iLBC_decode)
     *---------------------------------------------------------------*/
 
    void Decode(
@@ -4732,7 +4732,7 @@
        (float)1.049988, (float)1.087524, (float)1.125000,
        (float)1.162476, (float)1.200012};
 
-   /* Enhancer - Upsamling a factor 4 (ENH_UPS0 = 4) */
+   /* Enhancer - Upsampling a factor 4 (ENH_UPS0 = 4) */
    float polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={
        (float)0.000000, (float)0.000000, (float)0.000000,
    (float)1.000000,
@@ -5522,7 +5522,7 @@
        float *buffer,      /* (i) Pointer to the end of the
                                   buffer for augmented codebook
                                   construction */
-       float *cbVec    /* (o) The construced codebook vector */
+       float *cbVec    /* (o) The constructed codebook vector */
    );
 
    #endif
@@ -5734,7 +5734,7 @@
                               to be created */
        float *buffer,  /* (i) Pointer to the end of the buffer for
                               augmented codebook construction */
-       float *cbVec/* (o) The construced codebook vector */
+       float *cbVec/* (o) The constructed codebook vector */
    ) {
        int ilow, j;
        float *pp, *ppo, *ppi, alfa, alfa1, weighted;
@@ -6122,8 +6122,8 @@
    );
 
    int enhancerInterface(
-       float *out,         /* (o) the enhanced recidual signal */
-       float *in,          /* (i) the recidual signal to enhance */
+       float *out,         /* (o) the enhanced residual signal */
+       float *in,          /* (i) the residual signal to enhance */
        iLBC_Dec_Inst_t *iLBCdec_inst
                            /* (i/o) the decoder state structure */
    );
@@ -9357,7 +9357,7 @@
 
 
    /*----------------------------------------------------------------*
-    *  lpc analysis (subrutine to LPCencode)
+    *  lpc analysis (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleAnalysis(
@@ -9413,7 +9413,7 @@
 
 
     *  lsf interpolator and conversion from lsf to a coefficients
-    *  (subrutine to SimpleInterpolateLSF)
+    *  (subroutine to SimpleInterpolateLSF)
     *---------------------------------------------------------------*/
 
    void LSFinterpolate2a_enc(
@@ -9431,7 +9431,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  lsf interpolator (subrutine to LPCencode)
+    *  lsf interpolator (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleInterpolateLSF(
@@ -9528,7 +9528,7 @@
    }
 
    /*----------------------------------------------------------------*
-    *  lsf quantizer (subrutine to LPCencode)
+    *  lsf quantizer (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimplelsfQ(
@@ -10342,7 +10342,7 @@
                            /* (i) Encoder instance */
        float *residual,/* (i) target residual vector */
        float *syntDenum,   /* (i) lpc synthesis filter */
-       float *weightDenum, /* (i) weighting filter denuminator */
+       float *weightDenum, /* (i) weighting filter denumerator */
        int *idxForMax,     /* (o) quantizer index for maximum
                                   amplitude */
        int *idxVec,    /* (o) vector of quantization indexes */
@@ -10387,7 +10387,7 @@
 
    /*----------------------------------------------------------------*
     *  predictive noise shaping encoding of scaled start state
-    *  (subrutine for StateSearchW)
+    *  (subroutine for StateSearchW)
     *---------------------------------------------------------------*/
 
    void AbsQuantW(
@@ -10496,7 +10496,7 @@
                            /* (i) Encoder instance */
        float *residual,/* (i) target residual vector */
        float *syntDenum,   /* (i) lpc synthesis filter */
-       float *weightDenum, /* (i) weighting filter denuminator */
+       float *weightDenum, /* (i) weighting filter denumerator */
        int *idxForMax,     /* (o) quantizer index for maximum
                                   amplitude */
        int *idxVec,    /* (o) vector of quantization indexes */
diff --git a/codecs/lpc10/lpc10.h b/codecs/lpc10/lpc10.h
index 82e7b2c..bcdee1f 100644
--- a/codecs/lpc10/lpc10.h
+++ b/codecs/lpc10/lpc10.h
@@ -2,7 +2,7 @@
 
 $Log$
 Revision 1.18  2004/08/31 13:32:11  markster
-Merge NetBSD and Courtesty tone with modifications (bug #2329)
+Merge NetBSD and Courtesy tone with modifications (bug #2329)
 
 Revision 1.17  2003/10/26 18:50:49  markster
 Make it build and run on MacOS X
diff --git a/codecs/lpc10/pitsyn.c b/codecs/lpc10/pitsyn.c
index e345fba..5470ad2 100644
--- a/codecs/lpc10/pitsyn.c
+++ b/codecs/lpc10/pitsyn.c
@@ -538,7 +538,7 @@
 
 /*             Therefore, UVPIT is in the range 23 to 144 after th
 e first */
-/*             assignment to UVPIT below, and after the conditiona
+/*             assignment to UVPIT below, and after the conditional
 l */
 /*             assignment, it is in the range 23 to 90. */
 
diff --git a/codecs/lpc10/placea.c b/codecs/lpc10/placea.c
index 7a485c4..e25ceda 100644
--- a/codecs/lpc10/placea.c
+++ b/codecs/lpc10/placea.c
@@ -152,7 +152,7 @@
 /*   a phase-synchronous placement which does not overlap these onsets. */
 
 /*   Case 2:  Voiced Transition */
-/*   If at least one voicing decision in AF is voicied, and there are no
+/*   If at least one voicing decision in AF is voiced, and there are no
 */
 /*   onsets, then the window is placed as in case 1. */
 
diff --git a/codecs/speex/resample.c b/codecs/speex/resample.c
index 4940a64..6d8fece 100644
--- a/codecs/speex/resample.c
+++ b/codecs/speex/resample.c
@@ -104,7 +104,7 @@
 #include "resample_neon.h"
 #endif
 
-/* Numer of elements to allocate on the stack */
+/* Number of elements to allocate on the stack */
 #ifdef VAR_ARRAYS
 #define FIXED_STACK_ALLOC 8192
 #else

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17305
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I471fb8086a5277d8f05047fedee22cfa97a4252d
Gerrit-Change-Number: 17305
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/504d9b9e/attachment-0001.html>


More information about the asterisk-code-review mailing list