1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix spelling.

Originally committed as revision 22470 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje 2010-03-11 17:42:53 +00:00
parent 34056cbba5
commit 95c6b5ebc8
4 changed files with 10 additions and 10 deletions

View File

@ -207,7 +207,7 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
+ weight_coeff_b * in_b[i]; + weight_coeff_b * in_b[i];
} }
void ff_adaptative_gain_control(float *buf_out, float speech_energ, void ff_adaptive_gain_control(float *buf_out, float speech_energ,
int size, float alpha, float *gain_mem) int size, float alpha, float *gain_mem)
{ {
int i; int i;

View File

@ -212,7 +212,7 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
int length); int length);
/** /**
* Adaptative gain control (as used in AMR postfiltering) * Adaptive gain control (as used in AMR postfiltering)
* *
* @param buf_out the input speech buffer * @param buf_out the input speech buffer
* @param speech_energ input energy * @param speech_energ input energy
@ -220,7 +220,7 @@ void ff_weighted_vector_sumf(float *out, const float *in_a, const float *in_b,
* @param alpha exponential filter factor * @param alpha exponential filter factor
* @param gain_mem a pointer to the filter memory (single float of size) * @param gain_mem a pointer to the filter memory (single float of size)
*/ */
void ff_adaptative_gain_control(float *buf_out, float speech_energ, void ff_adaptive_gain_control(float *buf_out, float speech_energ,
int size, float alpha, float *gain_mem); int size, float alpha, float *gain_mem);
/** /**

View File

@ -943,7 +943,7 @@ static void postfilter(AMRContext *p, float *lpc, float *buf_out)
ff_tilt_compensation(&p->tilt_mem, tilt_factor(lpc_n, lpc_d), buf_out, ff_tilt_compensation(&p->tilt_mem, tilt_factor(lpc_n, lpc_d), buf_out,
AMR_SUBFRAME_SIZE); AMR_SUBFRAME_SIZE);
ff_adaptative_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE, ff_adaptive_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE,
AMR_AGC_ALPHA, &p->postfilter_agc); AMR_AGC_ALPHA, &p->postfilter_agc);
} }

View File

@ -254,7 +254,7 @@ static void sipr_decode_lp(float *lsfnew, const float *lsfold, float *Az,
} }
/** /**
* Evaluates the adaptative impulse response. * Evaluates the adaptive impulse response.
*/ */
static void eval_ir(const float *Az, int pitch_lag, float *freq, static void eval_ir(const float *Az, int pitch_lag, float *freq,
float pitch_sharp_factor) float pitch_sharp_factor)
@ -479,7 +479,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
float energy = ff_dot_productf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE, float energy = ff_dot_productf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE, ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
SUBFR_SIZE); SUBFR_SIZE);
ff_adaptative_gain_control(&synth[i * SUBFR_SIZE], energy, ff_adaptive_gain_control(&synth[i * SUBFR_SIZE], energy,
SUBFR_SIZE, 0.9, &ctx->postfilter_agc); SUBFR_SIZE, 0.9, &ctx->postfilter_agc);
} }