• Home
  • Raw
  • Download

Lines Matching refs:nb_channels

81    return (opus_val32*)(void*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32));  in ms_get_preemph_mem()
104 static int validate_ambisonics(int nb_channels, int *nb_streams, int *nb_coupled_streams) in validate_ambisonics() argument
110 if (nb_channels < 1 || nb_channels > 227) in validate_ambisonics()
113 order_plus_one = isqrt32(nb_channels); in validate_ambisonics()
115 nondiegetic_channels = nb_channels - acn_channels; in validate_ambisonics()
450 st->layout.nb_channels = channels; in opus_multistream_encoder_init_impl()
458 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_encoder_init_impl()
466 !validate_ambisonics(st->layout.nb_channels, NULL, NULL)) in opus_multistream_encoder_init_impl()
747 const int nb_channels = st->layout.nb_streams + st->layout.nb_coupled_streams; in ambisonics_rate_allocation() local
755 total_rate = nb_channels * 320000; in ambisonics_rate_allocation()
868 ALLOC(bandSMR, 21*st->layout.nb_channels, opus_val16); in opus_multistream_encode_native()
871 …celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_chann… in opus_multistream_encode_native()
903 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; in opus_multistream_encode_native()
904 if (equiv_rate > 10000*st->layout.nb_channels) in opus_multistream_encode_native()
906 else if (equiv_rate > 7000*st->layout.nb_channels) in opus_multistream_encode_native()
908 else if (equiv_rate > 5000*st->layout.nb_channels) in opus_multistream_encode_native()
944 pcm, st->layout.nb_channels, left, frame_size, user_data); in opus_multistream_encode_native()
946 pcm, st->layout.nb_channels, right, frame_size, user_data); in opus_multistream_encode_native()
962 pcm, st->layout.nb_channels, chan, frame_size, user_data); in opus_multistream_encode_native()
987 pcm, analysis_frame_size, c1, c2, st->layout.nb_channels, downmix, float_api); in opus_multistream_encode_native()
1135 value = IMIN(300000*st->layout.nb_channels, IMAX(500*st->layout.nb_channels, value)); in opus_multistream_encoder_ctl_va_list()
1289 OPUS_CLEAR(ms_get_preemph_mem(st), st->layout.nb_channels); in opus_multistream_encoder_ctl_va_list()
1290 OPUS_CLEAR(ms_get_window_mem(st), st->layout.nb_channels*120); in opus_multistream_encoder_ctl_va_list()