Lines Matching refs:max_ch
514 int i, ch, b, max_smr, max_ch, max_sb, current_frame_size, max_frame_size;
546 max_ch = -1;
553 max_ch = ch;
559 av_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
560 current_frame_size, max_frame_size, max_sb, max_ch,
561 bit_alloc[max_ch][max_sb]);
570 if (subband_status[max_ch][max_sb] == SB_NOTALLOCATED) {
572 incr = 2 + nb_scale_factors[s->scale_code[max_ch][max_sb]] * 6;
576 b = bit_alloc[max_ch][max_sb];
583 b = ++bit_alloc[max_ch][max_sb];
586 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]];
589 subband_status[max_ch][max_sb] = SB_NOMORE;
591 subband_status[max_ch][max_sb] = SB_ALLOCATED;
594 subband_status[max_ch][max_sb] = SB_NOMORE;