diff options
| author | 2022-04-19 10:24:08 -0700 | |
|---|---|---|
| committer | 2022-04-19 10:24:08 -0700 | |
| commit | 96619bc7c579c009101dc46c17a31cb1fc89dcf6 (patch) | |
| tree | bf261cf352c92c82ea9a6ebb4083ac3b280d4b08 | |
| parent | ddd9dc84b8edca4bcd1d6e183d8bcc6525a50f01 (diff) | |
Camera: Update timestamp base doc for SurfaceTexture
Test: Build
Bug: 195025014
Change-Id: Idff78a881fa5575f4ffea85408529a930d3b247a
| -rw-r--r-- | core/java/android/hardware/camera2/params/OutputConfiguration.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/hardware/camera2/params/OutputConfiguration.java b/core/java/android/hardware/camera2/params/OutputConfiguration.java index 39cb7f3ebddb..bb0caa787e27 100644 --- a/core/java/android/hardware/camera2/params/OutputConfiguration.java +++ b/core/java/android/hardware/camera2/params/OutputConfiguration.java @@ -224,9 +224,10 @@ public final class OutputConfiguration implements Parcelable { * display subsystem for smoother display of camera frames. An output target of SurfaceView * uses this time base by default.</p> * - * <p>The choreographer synchronized timestamps are also reasonable to use when drawing to a - * TextureView. So this timestamp base can be used for a SurfaceTexture as part of a - * TextureView, in addition to SurfaceView.</p> + * <p>This timestamp base isn't applicable to SurfaceTexture targets. SurfaceTexture's + * {@link android.graphics.SurfaceTexture#updateTexImage updateTexImage} function always + * uses the latest image from the camera stream. In the case of a TextureView, the image is + * displayed right away.</p> * * <p>Timestamps with this time base cannot directly match the timestamps in * {@link CameraCaptureSession.CaptureCallback#onCaptureStarted} or the sensor timestamps in |