/*
* 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 */
if (temp > xmax) xmax = temp;
}
- /* Qantizing and coding of xmax to get xmaxc.
+ /* Quantizing and coding of xmax to get xmaxc.
*/
exp = 0;
/*----------------------------------------------------------------*
- * lpc analysis (subrutine to LPCencode)
+ * lpc analysis (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimpleAnalysis(
* lsf interpolator and conversion from lsf to a coefficients
- * (subrutine to SimpleInterpolateLSF)
+ * (subroutine to SimpleInterpolateLSF)
*---------------------------------------------------------------*/
void LSFinterpolate2a_enc(
}
/*----------------------------------------------------------------*
- * lsf interpolator (subrutine to LPCencode)
+ * lsf interpolator (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimpleInterpolateLSF(
}
/*----------------------------------------------------------------*
- * lsf quantizer (subrutine to LPCencode)
+ * lsf quantizer (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimplelsfQ(
/*----------------------------------------------------------------*
* 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 */
/* (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 */
(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,
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;
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
);
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 */
);
}
/*----------------------------------------------------------------*
- * frame residual decoder function (subrutine to iLBC_decode)
+ * frame residual decoder function (subroutine to iLBC_decode)
*---------------------------------------------------------------*/
void Decode(
}
/*----------------------------------------------------------------*
- * frame residual decoder function (subrutine to iLBC_decode)
+ * frame residual decoder function (subroutine to iLBC_decode)
*---------------------------------------------------------------*/
void Decode(
(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,
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
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;
);
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 */
);
/*----------------------------------------------------------------*
- * lpc analysis (subrutine to LPCencode)
+ * lpc analysis (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimpleAnalysis(
* lsf interpolator and conversion from lsf to a coefficients
- * (subrutine to SimpleInterpolateLSF)
+ * (subroutine to SimpleInterpolateLSF)
*---------------------------------------------------------------*/
void LSFinterpolate2a_enc(
}
/*----------------------------------------------------------------*
- * lsf interpolator (subrutine to LPCencode)
+ * lsf interpolator (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimpleInterpolateLSF(
}
/*----------------------------------------------------------------*
- * lsf quantizer (subrutine to LPCencode)
+ * lsf quantizer (subroutine to LPCencode)
*---------------------------------------------------------------*/
void SimplelsfQ(
/* (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 */
/*----------------------------------------------------------------*
* 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 */
$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
/* 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. */
/* 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. */
#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