media/libraries/test_utils
tonihei 57187aa899 Map VORBIS channel layout to Android layout
Both the extension OPUS decoder and the OMX/C2 MediaCodec
implementations for OPUS and VORBIS decode into the channel
layout defined by VORBIS. See
https://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-140001.2.3

While this is technically correct for a stand-alone OPUS or VORBIS
decoder, it doesn't match the channel layout expected by Android.
See https://developer.android.com/reference/android/media/AudioFormat#channelMask

The fix is to apply the channel mapping after decoding if needed.
Also add e2e tests with audio dumps for the extension renderer,
including a new 5.1 channel test file.

Issue: google/ExoPlayer#8396

PiperOrigin-RevId: 588004832
(cherry picked from commit b1541b096f)
2024-01-09 10:48:31 +00:00
..
src Map VORBIS channel layout to Android layout 2024-01-09 10:48:31 +00:00
build.gradle Move SSIM related files to test_util 2023-06-29 22:51:20 +00:00
README.md Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00

Test utils module

Provides utility classes for media unit and instrumentation tests.