[FFmpeg-cvslog] r24508 - trunk/libavcodec/wmavoice.c
rbultje
subversion
Mon Jul 26 15:52:49 CEST 2010
Author: rbultje
Date: Mon Jul 26 15:52:49 2010
New Revision: 24508
Log:
Rename pow variable to pwr.
Patch by Axel Holzinger <aholzinger gmx de>.
Modified:
trunk/libavcodec/wmavoice.c
Modified: trunk/libavcodec/wmavoice.c
==============================================================================
--- trunk/libavcodec/wmavoice.c Mon Jul 26 15:50:59 2010 (r24507)
+++ trunk/libavcodec/wmavoice.c Mon Jul 26 15:52:49 2010 (r24508)
@@ -582,14 +582,14 @@ static void calc_input_response(WMAVoice
(5.0 / 14.7));
angle_mul = gain_mul * (8.0 * M_LN10 / M_PI);
for (n = 0; n <= 64; n++) {
- float pow;
+ float pwr;
idx = FFMAX(0, lrint((max - lpcs[n]) * irange) - 1);
- pow = wmavoice_denoise_power_table[s->denoise_strength][idx];
- lpcs[n] = angle_mul * pow;
+ pwr = wmavoice_denoise_power_table[s->denoise_strength][idx];
+ lpcs[n] = angle_mul * pwr;
/* 70.57 =~ 1/log10(1.0331663) */
- idx = (pow * gain_mul - 0.0295) * 70.570526123;
+ idx = (pwr * gain_mul - 0.0295) * 70.570526123;
if (idx > 127) { // fallback if index falls outside table range
coeffs[n] = wmavoice_energy_table[127] *
powf(1.0331663, idx - 127);
More information about the ffmpeg-cvslog
mailing list