MediaCodecInfo.CodecCapabilities.FEATUREDynamicColorAspects Field

Definition

<b>video decoder only</b>: codec supports dynamically changing color aspects.

[Android.Runtime.Register("FEATURE_DynamicColorAspects", ApiSince=35)]
public const string FEATUREDynamicColorAspects;
[<Android.Runtime.Register("FEATURE_DynamicColorAspects", ApiSince=35)>]
val mutable FEATUREDynamicColorAspects : string

Field Value

Attributes

Remarks

<b>video decoder only</b>: codec supports dynamically changing color aspects.

If true, the codec can propagate color aspect changes during decoding. This is only meaningful at session boundaries, e.g. upon processing Picture Parameter Sets prior to a new IDR. The color aspects may come from the bitstream, or may be provided using MediaCodec#setParameters calls.

If the codec supports both 8-bit and 10-bit profiles, this feature means that the codec can dynamically switch between 8 and 10-bit profiles, but this is restricted to Surface mode only.

If the device supports HDR transfer functions, switching between SDR and HDR transfer is also supported. Together with the previous clause this means that switching between SDR and HDR sessions are supported in Surface mode, as SDR is typically encoded at 8-bit and HDR at 10-bit.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.FEATURE_DynamicColorAspects.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to