aacenc: Fix whitespace after last commit.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Nathan Caldwell 2011-04-05 01:05:24 -06:00 committed by Martin Storsjö
parent 62582a696b
commit f50d937725
1 changed files with 13 additions and 10 deletions

View File

@ -575,6 +575,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
for (w = 0; w < wi->num_windows*16; w += 16) {
for (g = 0; g < num_bands; g++) {
AacPsyBand *band = &pch->band[w+g];
float form_factor = 0.0f;
band->energy = 0.0f;
for (i = 0; i < band_sizes[g]; i++) {
@ -590,6 +591,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
//modify thresholds and energies - spread, threshold in quiet, pre-echo control
for (w = 0; w < wi->num_windows*16; w += 16) {
AacPsyBand *bands = &pch->band[w];
//5.4.2.3 "Spreading" & 5.4.3 "Spreaded Energy Calculation"
spread_en[0] = bands[0].energy;
for (g = 1; g < num_bands; g++) {
@ -603,6 +605,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
//5.4.2.4 "Threshold in quiet"
for (g = 0; g < num_bands; g++) {
AacPsyBand *band = &bands[g];
band->thr_quiet = band->thr = FFMAX(band->thr, coeffs[g].ath);
//5.4.2.5 "Pre-echo control"
if (!(wi->window_type[0] == LONG_STOP_SEQUENCE || (wi->window_type[1] == LONG_START_SEQUENCE && !w)))