CameraCharacteristics.SensorReadoutTimestamp Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether or not the camera device supports readout timestamp and onReadoutStarted callback.
[Android.Runtime.Register("SENSOR_READOUT_TIMESTAMP", ApiSince=34)]
public static Android.Hardware.Camera2.CameraCharacteristics.Key SensorReadoutTimestamp { get; }
[<Android.Runtime.Register("SENSOR_READOUT_TIMESTAMP", ApiSince=34)>]
static member SensorReadoutTimestamp : Android.Hardware.Camera2.CameraCharacteristics.Key
Property Value
Whether or not the camera device supports readout timestamp and onReadoutStarted callback.
- Attributes
Remarks
Whether or not the camera device supports readout timestamp and onReadoutStarted callback.
If this tag is HARDWARE, the camera device calls CameraCaptureSession.CaptureCallback.onReadoutStarted in addition to the CameraCaptureSession.CaptureCallback.onCaptureStarted callback for each capture. The timestamp passed into the callback is the start of camera image readout rather than the start of the exposure. The timestamp source of CameraCaptureSession.CaptureCallback.onReadoutStarted is the same as that of CameraCaptureSession.CaptureCallback.onCaptureStarted.
In addition, the application can switch an output surface's timestamp from start of exposure to start of readout by calling OutputConfiguration.setReadoutTimestampEnabled(boolean).
The readout timestamp is beneficial for video recording, because the encoder favors uniform timestamps, and the readout timestamps better reflect the cadence camera sensors output data.
Note that the camera device produces the start-of-exposure and start-of-readout callbacks together. As a result, the CameraCaptureSession.CaptureCallback.onReadoutStarted is called right after CameraCaptureSession.CaptureCallback.onCaptureStarted. The difference in start-of-readout and start-of-exposure is the sensor exposure time, plus certain constant offset. The offset is usually due to camera sensor level crop, and it is generally constant over time for the same set of output resolutions and capture settings.
Possible values: NOT_SUPPORTED; HARDWARE
This key is available on all devices.
Android reference for android.hardware.camera2.CameraCharacteristics.SENSOR_READOUT_TIMESTAMP.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.