Displaying 1 result from an estimated 1 matches for "nb_directional_channels".
2018 Aug 30
0
[PATCH] Apply equal bit allocation to ambisonic channels
...nst 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 = st->bitrate_bps;
}
- /* Let y be the directional rate, m be the num of nondirectional channels
- * m = (s + 1)...