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

Skip to content
Commit 77bb682e authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Refactor API for session configration query

- Modify OutputConfiguration class so that it can be created without
  output surfaces for SurfaceView, SurfaceTexture, MediaRecorder,
  MediaCodec, and ImageReader. This makes it possible to do feature
  combination query with minimum latency. The application can then call
  OutputConfiguration#addSurface before creating capture session.
- Enhance SessionConfiguration class for CameraDeviceSetup operations.

Test: atest CtsCameraTestCases
Bug: 298033056
Bug: 309627704
Change-Id: Ic943c225d07f1553efe22b7125642673d659c2a2
parent 4972f329
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment