语言

OutputConfiguration.ReadoutTimestampEnabled 属性

定义

是否使用此 OutputConfiguration 的读取时间戳。 - 或 - 对图像时间戳使用相机传感器的读出时间。

public bool ReadoutTimestampEnabled { [Android.Runtime.Register("isReadoutTimestampEnabled", "()Z", "", ApiSince=34)] get; [Android.Runtime.Register("setReadoutTimestampEnabled", "(Z)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("isReadoutTimestampEnabled", "()Z", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setReadoutTimestampEnabled", "(Z)V", "", ApiSince=34)>]
member this.ReadoutTimestampEnabled : bool with get, set

属性值

存储的读出时间戳设置: true 请求传感器读取的开始,而不是曝光的开始。 实际支持取决于相机的读取时间戳功能;无论此设置如何,某些时间戳基都使用读出时间。

特性

注解

属性 getter 文档:

是否使用此 OutputConfiguration 的读取时间戳。

Java文档android.hardware.camera2.params.OutputConfiguration.isReadoutTimestampEnabled()。

属性 setter 文档:

将相机传感器的读出时间用于图像时间戳。

曝光后相机传感器读取的开始。 对于滚动快门相机传感器,时间戳通常等于 (the start of exposure time) + (exposure time) + (certain fixed offset)。 固定偏移量可能因基础传感器配置而异。 使用读出时间的好处是,当相机以固定帧速率运行时,帧之间的时间戳间隔是恒定的。

仅当为 CameraCharacteristics#SENSOR_READOUT_TIMESTAMP 时CameraMetadata#SENSOR_READOUT_TIMESTAMP_HARDWARE,才支持读出时间戳。

只要支持读出时间戳(如果时间戳基 #TIMESTAMP_BASE_CHOREOGRAPHER_SYNCED为),或者如果时间戳基为 SurfaceView 输出的 DEFAULT,则输出的图像时间戳始终为读出时间,而不考虑是否调用此函数。

Java文档android.hardware.camera2.params.OutputConfiguration.setReadoutTimestampEnabled(boolean)。

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

适用于