search for: m_rate

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

Did you mean: m_srate
2018 Aug 30
0
[PATCH] Apply equal bit allocation to ambisonic channels
...opus_int32 nondirectional_rate; - opus_int32 leftover_bits; - - /* Each nondirectional channel gets (rate_ratio_num / rate_ratio_den) times - * as many bits as all other ambisonics 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 */ -...