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
This commit is contained in:
Josh Soref
2021-10-30 21:04:43 -04:00
committed by Joshua Colp
parent 50a43ab987
commit b6295840d7
15 changed files with 32 additions and 32 deletions

View File

@@ -309,7 +309,7 @@ static int quantize(
/* /*
* QUAN * QUAN
* *
* Obtain codword i for 'd'. * Obtain codeword i for 'd'.
*/ */
i = quan(dln, table, size); i = quan(dln, table, size);
if (d < 0) { /* take 1's complement of i */ if (d < 0) { /* take 1's complement of i */

View File

@@ -281,7 +281,7 @@ static void APCM_quantization P5((xM,xMc,mant_out,exp_out,xmaxc_out),
if (temp > xmax) xmax = temp; if (temp > xmax) xmax = temp;
} }
/* Qantizing and coding of xmax to get xmaxc. /* Quantizing and coding of xmax to get xmaxc.
*/ */
exp = 0; exp = 0;

View File

@@ -22,7 +22,7 @@
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* lpc analysis (subrutine to LPCencode) * lpc analysis (subroutine to LPCencode)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void SimpleAnalysis( void SimpleAnalysis(
@@ -75,7 +75,7 @@
* lsf interpolator and conversion from lsf to a coefficients * lsf interpolator and conversion from lsf to a coefficients
* (subrutine to SimpleInterpolateLSF) * (subroutine to SimpleInterpolateLSF)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void LSFinterpolate2a_enc( void LSFinterpolate2a_enc(
@@ -93,7 +93,7 @@
} }
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* lsf interpolator (subrutine to LPCencode) * lsf interpolator (subroutine to LPCencode)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void SimpleInterpolateLSF( void SimpleInterpolateLSF(
@@ -184,7 +184,7 @@
} }
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* lsf quantizer (subrutine to LPCencode) * lsf quantizer (subroutine to LPCencode)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void SimplelsfQ( void SimplelsfQ(

View File

@@ -20,7 +20,7 @@
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* predictive noise shaping encoding of scaled start state * predictive noise shaping encoding of scaled start state
* (subrutine for StateSearchW) * (subroutine for StateSearchW)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void AbsQuantW( void AbsQuantW(
@@ -123,7 +123,7 @@
/* (i) Encoder instance */ /* (i) Encoder instance */
float *residual,/* (i) target residual vector */ float *residual,/* (i) target residual vector */
float *syntDenum, /* (i) lpc synthesis filter */ 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 int *idxForMax, /* (o) quantizer index for maximum
amplitude */ amplitude */
int *idxVec, /* (o) vector of quantization indexes */ int *idxVec, /* (o) vector of quantization indexes */

View File

@@ -31,7 +31,7 @@
/* (i) Encoder instance */ /* (i) Encoder instance */
float *residual,/* (i) target residual vector */ float *residual,/* (i) target residual vector */
float *syntDenum, /* (i) lpc synthesis filter */ 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 int *idxForMax, /* (o) quantizer index for maximum
amplitude */ amplitude */
int *idxVec, /* (o) vector of quantization indexes */ int *idxVec, /* (o) vector of quantization indexes */

View File

@@ -178,7 +178,7 @@
(float)1.049988, (float)1.087524, (float)1.125000, (float)1.049988, (float)1.087524, (float)1.125000,
(float)1.162476, (float)1.200012}; (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 polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={
(float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000,
(float)1.000000, (float)1.000000,

View File

@@ -192,7 +192,7 @@
to be created */ to be created */
float *buffer, /* (i) Pointer to the end of the buffer for float *buffer, /* (i) Pointer to the end of the buffer for
augmented codebook construction */ augmented codebook construction */
float *cbVec/* (o) The construced codebook vector */ float *cbVec/* (o) The constructed codebook vector */
) { ) {
int ilow, j; int ilow, j;
float *pp, *ppo, *ppi, alfa, alfa1, weighted; float *pp, *ppo, *ppi, alfa, alfa1, weighted;

View File

@@ -51,7 +51,7 @@
float *buffer, /* (i) Pointer to the end of the float *buffer, /* (i) Pointer to the end of the
buffer for augmented codebook buffer for augmented codebook
construction */ construction */
float *cbVec /* (o) The construced codebook vector */ float *cbVec /* (o) The constructed codebook vector */
); );
#endif #endif

View File

@@ -26,8 +26,8 @@
); );
int enhancerInterface( int enhancerInterface(
float *out, /* (o) the enhanced recidual signal */ float *out, /* (o) the enhanced residual signal */
float *in, /* (i) the recidual signal to enhance */ float *in, /* (i) the residual signal to enhance */
iLBC_Dec_Inst_t *iLBCdec_inst iLBC_Dec_Inst_t *iLBCdec_inst
/* (i/o) the decoder state structure */ /* (i/o) the decoder state structure */
); );

View File

@@ -112,7 +112,7 @@
} }
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* frame residual decoder function (subrutine to iLBC_decode) * frame residual decoder function (subroutine to iLBC_decode)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void Decode( void Decode(

View 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( 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.049988, (float)1.087524, (float)1.125000,
(float)1.162476, (float)1.200012}; (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 polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={
(float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000, (float)0.000000,
(float)1.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 float *buffer, /* (i) Pointer to the end of the
buffer for augmented codebook buffer for augmented codebook
construction */ construction */
float *cbVec /* (o) The construced codebook vector */ float *cbVec /* (o) The constructed codebook vector */
); );
#endif #endif
@@ -5734,7 +5734,7 @@ RFC 3951 Internet Low Bit Rate Codec December 2004
to be created */ to be created */
float *buffer, /* (i) Pointer to the end of the buffer for float *buffer, /* (i) Pointer to the end of the buffer for
augmented codebook construction */ augmented codebook construction */
float *cbVec/* (o) The construced codebook vector */ float *cbVec/* (o) The constructed codebook vector */
) { ) {
int ilow, j; int ilow, j;
float *pp, *ppo, *ppi, alfa, alfa1, weighted; float *pp, *ppo, *ppi, alfa, alfa1, weighted;
@@ -6122,8 +6122,8 @@ RFC 3951 Internet Low Bit Rate Codec December 2004
); );
int enhancerInterface( int enhancerInterface(
float *out, /* (o) the enhanced recidual signal */ float *out, /* (o) the enhanced residual signal */
float *in, /* (i) the recidual signal to enhance */ float *in, /* (i) the residual signal to enhance */
iLBC_Dec_Inst_t *iLBCdec_inst iLBC_Dec_Inst_t *iLBCdec_inst
/* (i/o) the decoder state structure */ /* (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( void SimpleAnalysis(
@@ -9413,7 +9413,7 @@ RFC 3951 Internet Low Bit Rate Codec December 2004
* lsf interpolator and conversion from lsf to a coefficients * lsf interpolator and conversion from lsf to a coefficients
* (subrutine to SimpleInterpolateLSF) * (subroutine to SimpleInterpolateLSF)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void LSFinterpolate2a_enc( 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( 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( void SimplelsfQ(
@@ -10342,7 +10342,7 @@ A.45. StateSearchW.h
/* (i) Encoder instance */ /* (i) Encoder instance */
float *residual,/* (i) target residual vector */ float *residual,/* (i) target residual vector */
float *syntDenum, /* (i) lpc synthesis filter */ 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 int *idxForMax, /* (o) quantizer index for maximum
amplitude */ amplitude */
int *idxVec, /* (o) vector of quantization indexes */ int *idxVec, /* (o) vector of quantization indexes */
@@ -10387,7 +10387,7 @@ A.46. StateSearchW.c
/*----------------------------------------------------------------* /*----------------------------------------------------------------*
* predictive noise shaping encoding of scaled start state * predictive noise shaping encoding of scaled start state
* (subrutine for StateSearchW) * (subroutine for StateSearchW)
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
void AbsQuantW( void AbsQuantW(
@@ -10496,7 +10496,7 @@ RFC 3951 Internet Low Bit Rate Codec December 2004
/* (i) Encoder instance */ /* (i) Encoder instance */
float *residual,/* (i) target residual vector */ float *residual,/* (i) target residual vector */
float *syntDenum, /* (i) lpc synthesis filter */ 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 int *idxForMax, /* (o) quantizer index for maximum
amplitude */ amplitude */
int *idxVec, /* (o) vector of quantization indexes */ int *idxVec, /* (o) vector of quantization indexes */

View File

@@ -2,7 +2,7 @@
$Log$ $Log$
Revision 1.18 2004/08/31 13:32:11 markster 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 Revision 1.17 2003/10/26 18:50:49 markster
Make it build and run on MacOS X Make it build and run on MacOS X

View File

@@ -538,7 +538,7 @@ at: */
/* Therefore, UVPIT is in the range 23 to 144 after th /* Therefore, UVPIT is in the range 23 to 144 after th
e first */ e first */
/* assignment to UVPIT below, and after the conditiona /* assignment to UVPIT below, and after the conditional
l */ l */
/* assignment, it is in the range 23 to 90. */ /* assignment, it is in the range 23 to 90. */

View 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. */ /* a phase-synchronous placement which does not overlap these onsets. */
/* Case 2: Voiced Transition */ /* 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. */ /* onsets, then the window is placed as in case 1. */

View File

@@ -104,7 +104,7 @@ static void speex_free (void *ptr) {free(ptr);}
#include "resample_neon.h" #include "resample_neon.h"
#endif #endif
/* Numer of elements to allocate on the stack */ /* Number of elements to allocate on the stack */
#ifdef VAR_ARRAYS #ifdef VAR_ARRAYS
#define FIXED_STACK_ALLOC 8192 #define FIXED_STACK_ALLOC 8192
#else #else