語言

MandatoryStreamCombination.MandatoryStreamInformation.Is10BitCapable 方法

定義

表示此串流是否能支援 10 位元輸出。

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

傳回

若 stream 能輸出 10 位元像素,則為真

屬性

備註

表示此串流是否能支援 10 位元輸出。

支援 10 位元的串流可透過呼叫android.hardware.camera2.params.OutputConfiguration#setDynamicRangeProfile並選擇適當的輸出 Surface 像素格式來設定輸出 10 位元樣本資料,該格式可透過#get10BitFormat()查詢,且通常為ImageFormat#PRIVATE(Surface 預設初始化為 android.view.SurfaceView、 android.view.TextureView、 android.media.MediaRecorderandroid.media.MediaCodec 等)或 ImageFormat#YCBCR_P010。

Java 文件 android.hardware.camera2.params.MandatoryStreamCombination.MandatoryStreamInformation.is10BitCapable()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於