search for: nb_nondirectional_channels

Displaying 1 result from an estimated 1 matches for "nb_nondirectional_channels".

2018 Aug 30
0
[PATCH] Apply equal bit allocation to ambisonic channels
...cs channels. - */ - const int rate_ratio_num = 4; - const int rate_ratio_den = 3; + opus_int32 per_stream_rate; + const int nb_channels = st->layout.nb_streams + st->layout.nb_coupled_streams; - /* The omnidirectional ambisonics and non-diegetic stereo channels */ - const int nb_nondirectional_channels = st->layout.nb_coupled_streams * 2 + 1; - /* The remaining ambisonics channels */ - const int nb_directional_channels = nb_channels - nb_nondirectional_channels; if (st->bitrate_bps==OPUS_AUTO) { @@ -769,46 +758,12 @@ static void ambisonics_rate_allocation( total_rate =...