语言

OutputConfiguration.TimestampBaseRealtime 字段

定义

注意

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

时间戳基数大致与 android.os.SystemClock#elapsedRealtime.

[Android.Runtime.Register("TIMESTAMP_BASE_REALTIME", 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 TimestampBaseRealtime = 3;
[<Android.Runtime.Register("TIMESTAMP_BASE_REALTIME", 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 TimestampBaseRealtime : Android.Hardware.Camera2.Params.TimestampBase

字段值

Value = 3

实现

特性

注解

时间戳基数大致与 android.os.SystemClock#elapsedRealtime.

输出图像的时间戳大致 android.os.SystemClock#elapsedRealtime与 .. 此时间基时间戳不能直接用于视频录制中的音频视频同步。

如果相机设备CameraCharacteristics#SENSOR_INFO_TIMESTAMP_SOURCE为 UNKNOWN,则具有此时间基的时间戳不能直接匹配时间戳,CameraCaptureSession.CaptureCallback#onCaptureStartedCameraCaptureSession.CaptureCallback#onReadoutStarted或传感器时间戳。android.hardware.camera2.CaptureResult

如果在仅支持TIMESTAMP_SOURCE_UNKNOWN的设备上使用 REALTIME 时间戳,则时间戳的准确性只是未知文档中保证的。 特别是,对于图像防抖动或增强现实等功能,它们无法保证在将图像数据与惯性传感器输出混为一谈时足够准确。

Java文档android.hardware.camera2.params.OutputConfiguration.TIMESTAMP_BASE_REALTIME。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于