Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05ebc0b3 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Automerger Merge Worker
Browse files

Merge "Camera: Update timestamp base doc for SurfaceTexture" into tm-dev am:...

Merge "Camera: Update timestamp base doc for SurfaceTexture" into tm-dev am: c1a0dc2c am: b7aa5d06

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17824805



Change-Id: Ib5d10b1ee1829a9b10713b44f4f35a47d076a627
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b65065d6 b7aa5d06
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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