Lines Matching refs:smr
492 static void psycho_acoustic_model(MpegAudioContext *s, short smr[SBLIMIT])
497 smr[i] = (int)(fixed_smr[i] * 10);
506 /* Try to maximize the smr while using a number of bits inferior to
516 short smr[MPA_MAX_CHANNELS][SBLIMIT];
520 memcpy(smr, smr1, s->nb_channels * sizeof(short) * SBLIMIT);
550 if (smr[ch][i] > max_smr && subband_status[ch][i] != SB_NOMORE) {
551 max_smr = smr[ch][i];
585 /* decrease smr by the resolution we added */
586 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]];
749 short smr[MPA_MAX_CHANNELS][SBLIMIT];
762 psycho_acoustic_model(s, smr[i]);
764 compute_bit_allocation(s, smr, bit_alloc, &padding);