Lines Matching refs:bnd
139 int av_uninit(blk), ch, bnd, i, j;
175 bnd = 0;
178 int band_size = s->cpl_band_sizes[bnd];
186 MAC_COEF(energy[blk][ch][bnd], v, v);
191 bnd++;
202 for (bnd = 0; bnd < s->num_cpl_bands; bnd++) {
203 cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy[blk][ch][bnd],
204 energy[blk][CPL_CH][bnd]);
233 for (bnd = 0; bnd < s->num_cpl_bands; bnd++) {
234 coord_diff += FFABS(cpl_coords[blk-1][ch][bnd] -
235 cpl_coords[blk ][ch][bnd]);
248 for (bnd = 0; bnd < s->num_cpl_bands; bnd++) {
263 energy_cpl = energy[blk][CPL_CH][bnd];
264 energy_ch = energy[blk][ch][bnd];
268 energy_cpl += energy[blk1][CPL_CH][bnd];
269 energy_ch += energy[blk1][ch][bnd];
273 cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy_ch, energy_cpl);
295 int bnd, min_exp, max_exp, master_exp;
302 for (bnd = 1; bnd < s->num_cpl_bands; bnd++) {
303 int exp = block->cpl_coord_exp[ch][bnd];
311 for (bnd = 0; bnd < s->num_cpl_bands; bnd++) {
312 block->cpl_coord_exp[ch][bnd] = av_clip(block->cpl_coord_exp[ch][bnd] -
318 for (bnd = 0; bnd < s->num_cpl_bands; bnd++) {
319 int cpl_exp = block->cpl_coord_exp[ch][bnd];
320 int cpl_mant = (fixed_cpl_coords[blk][ch][bnd] << (5 + cpl_exp + master_exp * 3)) >> 24;
326 block->cpl_coord_mant[ch][bnd] = cpl_mant;
342 int blk, bnd;
366 for (bnd = 0; bnd < block->num_rematrixing_bands; bnd++) {
368 int start = ff_ac3_rematrix_band_tab[bnd];
369 int end = FFMIN(nb_coefs, ff_ac3_rematrix_band_tab[bnd+1]);
376 block->rematrixing_flags[bnd] = 1;
378 block->rematrixing_flags[bnd] = 0;
382 block->rematrixing_flags[bnd] != block0->rematrixing_flags[bnd]) {