]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
codecs: Spelling fixes
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 31 Oct 2021 01:04:43 +0000 (21:04 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 15 Nov 2021 21:28:51 +0000 (15:28 -0600)
Correct typos of the following word families:

voiced
denumerator
codeword
upsampling
constructed
residual
subroutine
conditional
quantizing
courtesy
number

ASTERISK-29714

Change-Id: I471fb8086a5277d8f05047fedee22cfa97a4252d

15 files changed:
codecs/codec_g726.c
codecs/gsm/src/rpe.c
codecs/ilbc/LPCencode.c
codecs/ilbc/StateSearchW.c
codecs/ilbc/StateSearchW.h
codecs/ilbc/constants.c
codecs/ilbc/createCB.c
codecs/ilbc/createCB.h
codecs/ilbc/enhancer.h
codecs/ilbc/iLBC_decode.c
codecs/ilbc/rfc3951.txt
codecs/lpc10/lpc10.h
codecs/lpc10/pitsyn.c
codecs/lpc10/placea.c
codecs/speex/resample.c

index 249e4f448c486b6777a48c5b9c4794927832c503..d9f5e0060a7908ac2fb13dbe21b70a284edb7241 100644 (file)
@@ -309,7 +309,7 @@ static int quantize(
        /*
         * 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 */
index 2ace69f2f8b56c9aeea60e43919f3623da2286e6..c44168a03d4222dda67f423ea973d53d5158f3ad 100644 (file)
@@ -281,7 +281,7 @@ static void APCM_quantization P5((xM,xMc,mant_out,exp_out,xmaxc_out),
                if (temp > xmax) xmax = temp;
        }
 
-       /*  Qantizing and coding of xmax to get xmaxc.
+       /*  Quantizing and coding of xmax to get xmaxc.
         */
 
        exp   = 0;
index 7ef6204e0b993494f30b88fd7c15295dbaf7da51..8ac1d991accaac3b3a881a502b26dc30f7ab40f0 100644 (file)
@@ -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(
    }
 
    /*----------------------------------------------------------------*
-    *  lsf quantizer (subrutine to LPCencode)
+    *  lsf quantizer (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimplelsfQ(
index 7320dded91f81745454711eb2ac42873eefd4264..0a34e61358c8f6201503154caa7d322c169c17ee 100644 (file)
@@ -20,7 +20,7 @@
 
    /*----------------------------------------------------------------*
     *  predictive noise shaping encoding of scaled start state
-    *  (subrutine for StateSearchW)
+    *  (subroutine for StateSearchW)
     *---------------------------------------------------------------*/
 
    void AbsQuantW(
                            /* (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 */
index 730e0396084dc79132862b8c2906820a828fb15c..b088f9b0324939930ab69085a20ba1c895553dd7 100644 (file)
@@ -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 */
index bedfc3971d7711f39caa1e4bc51a03eaa803f303..ca077da926da1cb88e67806905a333d862b6064c 100644 (file)
        (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,
index 31d6eab195f71b7d8a74c7bb6ad964b738602203..56cc3b2c01f4715ff5f222efe5b174b224c00646 100644 (file)
                               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;
index 6689cc27d0a90e93dfab60305d2cdc7560584098..998559a2d4866ab4b0cb65ad9468611108e7d961 100644 (file)
@@ -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
index 80a494e091c139942fda5112ed3ed836b919d992..1fb4074d956ef231e5185880e8c19fe347d4e0b1 100644 (file)
@@ -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 */
    );
index b607f41d06647d01f205e51760f6537b03cc75c6..7f7f3a512b297a5fb0a2838cbb5e6cdef2dd49e5 100644 (file)
    }
 
    /*----------------------------------------------------------------*
-    *  frame residual decoder function (subrutine to iLBC_decode)
+    *  frame residual decoder function (subroutine to iLBC_decode)
     *---------------------------------------------------------------*/
 
    void Decode(
index 320651b7bc4a097fd7d3392cd525552e5ea1c802..4668ade9b9d3144b0172c5778e216a4eb3372cdd 100644 (file)
@@ -3657,7 +3657,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
    }
 
    /*----------------------------------------------------------------*
-    *  frame residual decoder function (subrutine to iLBC_decode)
+    *  frame residual decoder function (subroutine to iLBC_decode)
     *---------------------------------------------------------------*/
 
    void Decode(
@@ -4732,7 +4732,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
        (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 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
        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 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
                               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 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
    );
 
    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 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
 
 
    /*----------------------------------------------------------------*
-    *  lpc analysis (subrutine to LPCencode)
+    *  lpc analysis (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleAnalysis(
@@ -9413,7 +9413,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
 
 
     *  lsf interpolator and conversion from lsf to a coefficients
-    *  (subrutine to SimpleInterpolateLSF)
+    *  (subroutine to SimpleInterpolateLSF)
     *---------------------------------------------------------------*/
 
    void LSFinterpolate2a_enc(
@@ -9431,7 +9431,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
    }
 
    /*----------------------------------------------------------------*
-    *  lsf interpolator (subrutine to LPCencode)
+    *  lsf interpolator (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimpleInterpolateLSF(
@@ -9528,7 +9528,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
    }
 
    /*----------------------------------------------------------------*
-    *  lsf quantizer (subrutine to LPCencode)
+    *  lsf quantizer (subroutine to LPCencode)
     *---------------------------------------------------------------*/
 
    void SimplelsfQ(
@@ -10342,7 +10342,7 @@ A.45.  StateSearchW.h
                            /* (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 @@ A.46.  StateSearchW.c
 
    /*----------------------------------------------------------------*
     *  predictive noise shaping encoding of scaled start state
-    *  (subrutine for StateSearchW)
+    *  (subroutine for StateSearchW)
     *---------------------------------------------------------------*/
 
    void AbsQuantW(
@@ -10496,7 +10496,7 @@ RFC 3951              Internet Low Bit Rate Codec          December 2004
                            /* (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 */
index 82e7b2cbaca2131a5bbba7c1f8ba6e01796e9ca0..bcdee1fe79da35b8c4e2af7295b2b68005911c67 100644 (file)
@@ -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
index e345fba108e629c414cadc0d26c96765bcd3cd42..5470ad271abfe32199e49a30426f8f68bf023179 100644 (file)
@@ -538,7 +538,7 @@ at: */
 
 /*             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. */
 
index 7a485c418389558d480cd21c23956e105136b250..e25cedaf1c60f5d3c71031078702874ef93a0151 100644 (file)
@@ -152,7 +152,7 @@ extern int placea_(integer *ipitch, integer *voibuf, integer *obound, integer *a
 /*   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. */
 
index 4940a64bb04d3d0fd3499c27d73d9fb226c585bf..6d8fece3be6cac5c575d7be44d0ff972755d06f5 100644 (file)
@@ -104,7 +104,7 @@ static void speex_free (void *ptr) {free(ptr);}
 #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