The idea is that the rate of each stream is adjusted based on its contribution to the total energy of a stereo downmix.
a4dccd3 Implements basic surround masking
celt/celt.h | 6 ++
celt/celt_encoder.c | 52 ++++++++++-
include/opus_defines.h | 1 +
src/opus_encoder.c | 16 +++-
src/opus_multistream_encoder.c | 200 ++++++++++++++++++++++++++++++++++++++--
5 files changed, 264 insertions(+), 11 deletions(-)
Upstream: git.xiph.org