Lines Matching defs:band_psd
98 int16_t *band_psd)
119 band_psd[band++] = v;
123 int ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *band_psd,
140 lowcomp = calc_lowcomp1(lowcomp, band_psd[0], band_psd[1], 384);
141 excite[0] = band_psd[0] - fast_gain - lowcomp;
142 lowcomp = calc_lowcomp1(lowcomp, band_psd[1], band_psd[2], 384);
143 excite[1] = band_psd[1] - fast_gain - lowcomp;
147 lowcomp = calc_lowcomp1(lowcomp, band_psd[band], band_psd[band+1], 384);
148 fastleak = band_psd[band] - fast_gain;
149 slowleak = band_psd[band] - s->slow_gain;
152 if (band_psd[band] <= band_psd[band+1]) {
162 lowcomp = calc_lowcomp(lowcomp, band_psd[band], band_psd[band+1], band);
163 fastleak = FFMAX(fastleak - s->fast_decay, band_psd[band] - fast_gain);
164 slowleak = FFMAX(slowleak - s->slow_decay, band_psd[band] - s->slow_gain);
176 fastleak = FFMAX(fastleak - s->fast_decay, band_psd[band] - fast_gain);
177 slowleak = FFMAX(slowleak - s->slow_decay, band_psd[band] - s->slow_gain);
184 int tmp = s->db_per_bit - band_psd[band];