Lines Matching defs:smr
493 static void psycho_acoustic_model(MpegAudioContext *s, short smr[SBLIMIT])
498 smr[i] = (int)(fixed_smr[i] * 10);
507 /* Try to maximize the smr while using a number of bits inferior to
517 short smr[MPA_MAX_CHANNELS][SBLIMIT];
521 memcpy(smr, smr1, s->nb_channels * sizeof(short) * SBLIMIT);
551 if (smr[ch][i] > max_smr && subband_status[ch][i] != SB_NOMORE) {
552 max_smr = smr[ch][i];
586 /* decrease smr by the resolution we added */
587 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]];
747 short smr[MPA_MAX_CHANNELS][SBLIMIT];
760 psycho_acoustic_model(s, smr[i]);
762 compute_bit_allocation(s, smr, bit_alloc, &padding);