Dear,

I would like to enable support for play-back of 10-bit video content, and the decoder supports H.265 Main10 profile with level 5.1 and the HDMI output supports 10-bit video over its link. What I am unsure of is whether Android needs different "configuration", by setting some defines or system properties.
Android 8.1 hasn't got any reference to 10-bit video, or even HDR. With Android 10 it should be supported. I've found so far is on: https://source.android.com/devices/architecture/configuration, where either set the value
TARGET_HAS_WIDE_COLOR_DISPLAY=true
or override the value
ro.surface_flinger.has_wide_color_display=true

But still I don't see SurfaceFlinger composing for a 10-bit (per color component) buffer. Any one any suggestion?

With kind regards, Mark