Lines Matching refs:max_ch
501 int i, ch, b, max_smr, max_ch, max_sb, current_frame_size, max_frame_size;
533 max_ch = -1;
540 max_ch = ch;
546 av_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
547 current_frame_size, max_frame_size, max_sb, max_ch,
548 bit_alloc[max_ch][max_sb]);
557 if (subband_status[max_ch][max_sb] == SB_NOTALLOCATED) {
559 incr = 2 + nb_scale_factors[s->scale_code[max_ch][max_sb]] * 6;
563 b = bit_alloc[max_ch][max_sb];
570 b = ++bit_alloc[max_ch][max_sb];
573 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]];
576 subband_status[max_ch][max_sb] = SB_NOMORE;
578 subband_status[max_ch][max_sb] = SB_ALLOCATED;
581 subband_status[max_ch][max_sb] = SB_NOMORE;