Share via


MandatoryStreamCombination.MandatoryStreamInformation.Is10BitCapable Method

Definition

Indicates whether this stream is able to support 10-bit output.

[Android.Runtime.Register("is10BitCapable", "()Z", "", ApiSince=33)]
public bool Is10BitCapable ();
[<Android.Runtime.Register("is10BitCapable", "()Z", "", ApiSince=33)>]
member this.Is10BitCapable : unit -> bool

Returns

true if stream is able to output 10-bit pixels

Attributes

Remarks

Indicates whether this stream is able to support 10-bit output.

10-bit capable streams can be configured to output 10-bit sample data via calls to android.hardware.camera2.params.OutputConfiguration#setDynamicRangeProfile and selecting the appropriate output Surface pixel format which can be queried via #get10BitFormat() and will be either ImageFormat#PRIVATE (the default for Surfaces initialized by android.view.SurfaceView, android.view.TextureView, android.media.MediaRecorder, android.media.MediaCodec etc.) or ImageFormat#YCBCR_P010.

Java documentation for android.hardware.camera2.params.MandatoryStreamCombination.MandatoryStreamInformation.is10BitCapable().

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