Lines Matching refs:chans
254 static void adjust_frame_information(ChannelElement *cpe, int chans) in adjust_frame_information() argument
259 for (ch = 0; ch < chans; ch++) { in adjust_frame_information()
287 if (chans > 1 && cpe->common_window) { in adjust_frame_information()
562 int i, its, ch, w, chans, tag, start_ch, ret, frame_bits; in aac_encode_frame() local
588 chans = tag == TYPE_CPE ? 2 : 1; in aac_encode_frame()
590 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
677 start_ch += chans; in aac_encode_frame()
694 chans = tag == TYPE_CPE ? 2 : 1; in aac_encode_frame()
701 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
720 s->psy.bitres.alloc /= chans; in aac_encode_frame()
723 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
729 if (chans > 1 in aac_encode_frame()
741 for (ch = 0; ch < chans; ch++) { /* TNS and PNS */ in aac_encode_frame()
761 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
770 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
785 adjust_frame_information(cpe, chans); in aac_encode_frame()
787 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
798 if (chans == 2) { in aac_encode_frame()
810 for (ch = 0; ch < chans; ch++) { in aac_encode_frame()
814 start_ch += chans; in aac_encode_frame()
865 chans = tag == TYPE_CPE ? 2 : 1; in aac_encode_frame()
867 for (ch = 0; ch < chans; ch++) in aac_encode_frame()