summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jyoti Bhayana <jbhayana@google.com> 2024-12-01 23:15:20 -0800
committer Jyoti Bhayana <jbhayana@google.com> 2024-12-17 22:23:41 -0800
commit5f0c0f0d6122e7160539b60df46ee7ef9c9edbae (patch)
tree72595c8b37e3e8796b3c125f7737a0e99f3c1944 /libs/androidfw/misc.cpp
parent77f327dce429043c8f253bf33d63a1f3a59d02d6 (diff)
Camera2 multi-client support
Enable multiple clients to establish a shared session. Once the session is created, allow each client to independently initiate and terminate streaming using the `startStreaming` and `stopStreaming` APIs. Additionally, primary clients can call create captureRequest API. Ensure that all clients can simultaneously stream the camera images. Flag: com.android.internal.camera.flags.camera_multi_client Bug:265196098 API-Coverage-Bug: 377371012 Test: A session is established with a shared configuration that supports two streams: SurfaceView and ImageReader. The Java client can create a session utilizing the SurfaceView stream. The native client can create a session utilizing the ImageReader stream. The Java client initiates streaming by creating a capture request and using the `setRepeatingRequest` method. The native client initiates streaming using the `startStreaming` API and the ImageReader surface to receive camera images. Change-Id: Ie99f3a61899a418bf46203ca91d341fb38dae602
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions