Share via


MediaFormat.KeyColorTransferRequest Field

Definition

An optional key describing the opto-electronic transfer function requested for the output video content.

[Android.Runtime.Register("KEY_COLOR_TRANSFER_REQUEST", ApiSince=31)]
public const string KeyColorTransferRequest;
[<Android.Runtime.Register("KEY_COLOR_TRANSFER_REQUEST", ApiSince=31)>]
val mutable KeyColorTransferRequest : string

Field Value

Attributes

Remarks

An optional key describing the opto-electronic transfer function requested for the output video content.

The associated value is an integer: 0 if unspecified, or one of the COLOR_TRANSFER_ values. When unspecified the component will not touch the video content; otherwise the component will tone-map the raw video frame to match the requested transfer function.

After configure, component's input format will contain this key to note whether the request is supported or not. If the value in the input format is the same as the requested value, the request is supported. The value is set to 0 if unsupported.

Java documentation for android.media.MediaFormat.KEY_COLOR_TRANSFER_REQUEST.

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