[libcamera-devel,v1,0/3] Camera3RequestDescriptors std::map => deque
mbox series

Message ID 20210927111149.692004-1-umang.jain@ideasonboard.com
Headers show
Series
  • Camera3RequestDescriptors std::map => deque
Related show

Message

Umang Jain Sept. 27, 2021, 11:11 a.m. UTC
As per the extended design discussion for libcamera HAL, this series
addresses the part I of the design that will lead to new iterations
for async post-processor eventually.

The series mainly ports storage of Camera3RequestDescriptor from
std::map => queue while fixing out-of-order request completion from
abortRequest(). The series also accounts for a singular location to
send back capture results to the framework (find sendCaptureResults()).

The series has been validated on CTS: 230 / 231
(by carrying "android: Wait on acquisition fences in CameraStream"
patches locally by Jacopo)

Umang Jain (3):
  android: camera_worker: Use Camera3RequestDescriptor as cookie
  android: camera_device: Transform descriptors_ map to queue
  android: camera_device: Send capture results by inspecting the queue

 src/android/camera_device.cpp | 136 ++++++++++++++++++++--------------
 src/android/camera_device.h   |  20 ++++-
 src/android/camera_worker.cpp |   4 +-
 src/android/camera_worker.h   |   3 +-
 4 files changed, 102 insertions(+), 61 deletions(-)