OutputConfiguration.DynamicRangeProfile 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳目前動態範圍設定檔。 -或- 設定特定裝置支援的動態範圍設定檔。
public long DynamicRangeProfile { [Android.Runtime.Register("getDynamicRangeProfile", "()J", "", ApiSince=33)] get; [Android.Runtime.Register("setDynamicRangeProfile", "(J)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getDynamicRangeProfile", "()J", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setDynamicRangeProfile", "(J)V", "", ApiSince=33)>]
member this.DynamicRangeProfile : int64 with get, set
屬性值
目前設定的動態範圍設定檔
- 屬性
備註
財產取得者文件:
回傳目前動態範圍設定檔。
Java 文件 android.hardware.camera2.params.OutputConfiguration.getDynamicRangeProfile()。
屬性設定文件:
設定特定裝置支援的動態範圍設定檔。
客戶可從任何標榜支持的設定檔中選擇,CameraCharacteristics.REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES查詢。DynamicRangeProfiles#getSupportedProfiles() 如果沒有明確設定,預設配置檔會是 DynamicRangeProfiles#STANDARD。
請注意,註冊輸出表面像素格式與設定的動態範圍配置檔間若組合無效,將導致擷取會話初始化失敗。 無效組合包括任何以 10 位元動態範圍配置DynamicRangeProfiles#getSupportedProfiles()檔廣告的組合,且輸出 Surface 像素格式不同ImageFormat#PRIVATE於(預設為 android.view.SurfaceView、 android.view.TextureView、 android.media.MediaRecorder、 android.media.MediaCodec 等初始化的 Surface)或 ImageFormat#YCBCR_P010。
Java 文件 android.hardware.camera2.params.OutputConfiguration.setDynamicRangeProfile(long)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。