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

属性值

属性

注解

属性 getter 文档:

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

适用于 . 的 android.hardware.camera2.params.OutputConfiguration.isReadoutTimestampEnabled()Java 文档

属性 setter 文档:

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

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

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

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

适用于 . 的 android.hardware.camera2.params.OutputConfiguration.setReadoutTimestampEnabled(boolean)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于