Home
last modified time | relevance | path

Searched refs:max_ch (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpegaudioenc_template.c514 int i, ch, b, max_smr, max_ch, max_sb, current_frame_size, max_frame_size; in compute_bit_allocation() local
546 max_ch = -1; in compute_bit_allocation()
553 max_ch = ch; in compute_bit_allocation()
560 current_frame_size, max_frame_size, max_sb, max_ch, in compute_bit_allocation()
561 bit_alloc[max_ch][max_sb]); in compute_bit_allocation()
570 if (subband_status[max_ch][max_sb] == SB_NOTALLOCATED) { in compute_bit_allocation()
572 incr = 2 + nb_scale_factors[s->scale_code[max_ch][max_sb]] * 6; in compute_bit_allocation()
576 b = bit_alloc[max_ch][max_sb]; in compute_bit_allocation()
583 b = ++bit_alloc[max_ch][max_sb]; in compute_bit_allocation()
586 smr[max_ch][max_sb] = smr1[max_ch][max_sb] - quant_snr[alloc[b]]; in compute_bit_allocation()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_channelmap.c88 static int get_channel_idx(char **map, int *ch, char delim, int max_ch) in get_channel_idx() argument
102 if (*ch < 0 || *ch > max_ch) in get_channel_idx()