Lines Matching refs:max_ch
515 int i, ch, b, max_smr, max_ch, max_sb, current_frame_size, max_frame_size;
547 max_ch = -1;
554 max_ch = ch;
560 ff_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
561 current_frame_size, max_frame_size, max_sb, max_ch,
562 bit_alloc[max_ch][max_sb]);
571 if (subband_status[max_ch][max_sb] == SB_NOTALLOCATED) {
573 incr = 2 + nb_scale_factors[s->scale_code[max_ch][max_sb]] * 6;
577 b = bit_alloc[max_ch][max_sb];
584 b = ++bit_alloc[max_ch][max_sb];
587 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]];
590 subband_status[max_ch][max_sb] = SB_NOMORE;
592 subband_status[max_ch][max_sb] = SB_ALLOCATED;
595 subband_status[max_ch][max_sb] = SB_NOMORE;