語言

OutputConfiguration.TimestampBaseChoreographerSynced 欄位

定義

警告

This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.

時間戳記會與編舞家同步。

[Android.Runtime.Register("TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.Params.TimestampBase TimestampBaseChoreographerSynced = 4;
[<Android.Runtime.Register("TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.TimestampBase enum directly instead of this field.", true)>]
val mutable TimestampBaseChoreographerSynced : Android.Hardware.Camera2.Params.TimestampBase

欄位值

Value = 4

實作

屬性

備註

時間戳記會與編舞家同步。

輸出影像的時間戳會被顯示子系統的編舞脈衝覆蓋,以提升攝影機畫面的平滑顯示。 SurfaceView 的輸出目標預設使用此時間基準。 請注意,時間戳覆寫僅適用於固定攝影機的幀率。

這個時間戳基底不適用於 SurfaceTexture 目標。 SurfaceTexture android.graphics.SurfaceTexture#updateTexImage updateTexImage 的功能總是使用相機串流中最新的影像。 以 TextureView 為例,圖片會立即顯示。

使用此時間基準的時間戳記無法直接匹配 中 CameraCaptureSession.CaptureCallback#onCaptureStarted的時間戳記 , CameraCaptureSession.CaptureCallback#onReadoutStarted或是感測器時間戳記 中的 android.hardware.camera2.CaptureResult。 如果需要用來進行音視訊同步,這個時間戳記底座就不應該使用。

Java 文件 android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED。

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

適用於