Skip to content

MediaCodec: Banding on 10bit Rec.2020 SDR video

Device: Samsung Galaxy Tab s8+ (natural color profile - which allows for HDR & WCG mode to be enabled)

Display Tester reports as:

Wide Color Gamut: Yes

HDR Screen: Yes

Test video: Two mp4 in zip files located in this post. Will discuss primarily using the static pattern, although similar behavior is seen in the rotating pattern.

Expected behavior: Using "Just (Video) Player" which is a wrapper around the official Google Exoplayer, there is banding in the 8bit portion of the video, and the 10bit portion is banding free.

Actual behavior: Using VLC 3.4.4 apk, with HW acceleration on "Automatic", there is visible banding in the dark regions for 10bit portion, more visible banding for the 8bit portion. With HW acceleration on "Disabled", there is extremely visible banding in the dark regions for 10bit portion and the 8bit portion.

Android version: 12 X800XXU1AVB8

Kernel version: 5.10.43

OneUI version: 4.1

Edit: This is the Snapdragon 8 Gen 1 version

Edited by Thomas Guillem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information