comparison aaccoder.c @ 9966:fd487090d901 libavcodec

Actually use all the codebooks we are iterating over in the two-loop scalefactor search.
author alexc
date Mon, 20 Jul 2009 20:32:27 +0000
parents 27339a7fee03
children cd01ef12809a
comparison
equal deleted inserted replaced
9965:27339a7fee03 9966:fd487090d901
688 int b; 688 int b;
689 dist += quantize_band_cost(s, coefs + w2*128, 689 dist += quantize_band_cost(s, coefs + w2*128,
690 scaled + w2*128, 690 scaled + w2*128,
691 sce->ics.swb_sizes[g], 691 sce->ics.swb_sizes[g],
692 sce->sf_idx[w*16+g], 692 sce->sf_idx[w*16+g],
693 ESC_BT, 693 cb,
694 lambda, 694 lambda,
695 INFINITY, 695 INFINITY,
696 &b); 696 &b);
697 bb += b; 697 bb += b;
698 } 698 }