History

Cosmetics: whitespace

Originally committed as revision 23367 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Converse committed 16 years ago

Commit 911fbc41 parent 04d6a541 file · +17 −17Browse files

Unified · Split

libavcodec/aaccoder.c+17−17
@@ -580,7 +580,7 @@ static void search_for_quantizers_anmr(AVCodecContext *avctx, AACEncContext *s, · 579 unmodified lines
580580 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
581581 FFPsyBand *band = &s->psy.psy_bands[s->cur_channel*PSY_MAX_BANDS+(w+w2)*16+g];
582582 dist += quantize_band_cost(s, coefs + w2*128, s->scoefs + start + w2*128, sce->ics.swb_sizes[g],
583− q + q0, cb, lambda / band->threshold, INFINITY, NULL);
583+ q + q0, cb, lambda / band->threshold, INFINITY, NULL);
584584 }
585585 minrd = FFMIN(minrd, dist);
586586
@@ -596,8 +596,8 @@ static void search_for_quantizers_anmr(AVCodecContext *avctx, AACEncContext *s, · 9 unmodified lines
596596 }
597597 } else {
598598 for (q = 0; q < q1 - q0; q++) {
599− paths[idx][q].cost = paths[idx - 1][q].cost + 1;
600− paths[idx][q].prev = q;
599+ paths[idx][q].cost = paths[idx - 1][q].cost + 1;
600+ paths[idx][q].prev = q;
601601 }
602602 }
603603 sce->zeroes[w*16+g] = !nz;
@@ -703,20 +703,20 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 99 unmodified lines
703703 continue;
704704 }
705705 minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]);
706− cb = find_min_book(find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], scaled), sce->sf_idx[w*16+g]);
707− sce->band_type[w*16+g] = cb;
708− for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
709− int b;
710− dist += quantize_band_cost(s, coefs + w2*128,
711− scaled + w2*128,
712− sce->ics.swb_sizes[g],
713− sce->sf_idx[w*16+g],
714− cb,
715− lambda,
716− INFINITY,
717− &b);
718− bits += b;
719− }
706+ cb = find_min_book(find_max_val(sce->ics.group_len[w], sce->ics.swb_sizes[g], scaled), sce->sf_idx[w*16+g]);
707+ sce->band_type[w*16+g] = cb;
708+ for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) {
709+ int b;
710+ dist += quantize_band_cost(s, coefs + w2*128,
711+ scaled + w2*128,
712+ sce->ics.swb_sizes[g],
713+ sce->sf_idx[w*16+g],
714+ cb,
715+ lambda,
716+ INFINITY,
717+ &b);
718+ bits += b;
719+ }
720720 dists[w*16+g] = (dist - bits) / lambda;
721721 if (prev != -1) {
722722 bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t