OutputConfiguration.TimestampBaseDefault 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_DEFAULT", 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 TimestampBaseDefault = 0;
[<Android.Runtime.Register("TIMESTAMP_BASE_DEFAULT", 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 TimestampBaseDefault : Android.Hardware.Camera2.Params.TimestampBase
欄位值
Value = 0實作
- 屬性
備註
預設的時間戳記基礎。
攝影機裝置根據輸出表面的特性決定時間戳記。
<li> 對於 SurfaceView 輸出表面,時間戳基底為 #TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED。 時間戳會被顯示子系統的編舞脈衝覆蓋,以便在固定幀率下,讓攝影機畫面顯示更流暢。 時間戳大致與 的時間基準android.os.SystemClock#uptimeMillis相同。</li><li> 對於 MediaRecorder、MediaCodec 或 ImageReader 的輸出表面,帶有android.hardware.HardwareBuffer#USAGE_VIDEO_ENCODE使用標誌,時間標記基數為 #TIMESTAMP_BASE_MONOTONIC,與 的時間基差android.os.SystemClock#uptimeMillis<相當。/li><li> 對於所有其他情況,時間戳基底為 #TIMESTAMP_BASE_SENSOR,與 所指定的CameraCharacteristics#SENSOR_INFO_TIMESTAMP_SOURCE相同。
<ul><li> 對於 SurfaceTexture 輸出表面,相機系統會根據影像讀取間隔重新調整輸出畫面的傳遞間隔,減少取景器的抖動。 影像的時間戳仍然為 #TIMESTAMP_BASE_SENSOR。</li></ul></li>
請注意,SurfaceView 和 SurfaceTexture 減少影格抖動後,光子對光子延遲會略有增加,也就是從光子進入場景到對應像素出現在螢幕上的時間。 如果光子間延遲比取景窗的平滑度更重要, #TIMESTAMP_BASE_SENSOR 則應該改用光子。
Java 文件 android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_DEFAULT。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。