语言

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#onCaptureStartedCameraCaptureSession.CaptureCallback#onReadoutStarted或传感器时间戳。android.hardware.camera2.CaptureResult 如果需要将时间戳用于音频视频同步,则不应使用此时间戳基。

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

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

适用于