[v4,0/7] Refactor Android HAL before supporting partial result
mbox series

Message ID 20241210142557.2886315-1-chenghaoyang@chromium.org
Headers show
Series
  • Refactor Android HAL before supporting partial result
Related show

Message

Cheng-Hao Yang Dec. 10, 2024, 2:23 p.m. UTC
Hi folks,

This series of patches is a subset of the previous
"Signal metadataAvailable and Android partial result". It consists of
clean ups, bug fixes, and supporting multiple Mapped streams on the same
source stream.

This passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1327061

The series that adds the support of partial result will follow this
series.

v4:
- Fixed error buffer notification and avoided post-processing on
  cancelled buffers.


BR,
Harvey



Harvey Yang (7):
  android: Move StreamBuffer out of Camera3RequestDescriptor
  android: Set StreamBuffer::srcBuffer in
    CameraDevice::processCaptureRequest
  android: Correctly support multiple Mapped streams
  android: Add CameraDevice::sendCaptureResult()
  android: Drop notify CAMERA3_MSG_ERROR_REQUEST when a request fails
  android: notify CAMERA3_MSG_ERROR_REQUEST out of order
  android: Remove Camera3RequestDescriptor::streamsProcessMutex_

 src/android/camera_device.cpp            | 238 +++++++++++++----------
 src/android/camera_device.h              |  11 +-
 src/android/camera_request.cpp           |  38 ++--
 src/android/camera_request.h             |  58 +++---
 src/android/camera_stream.cpp            |  20 +-
 src/android/camera_stream.h              |   6 +-
 src/android/jpeg/encoder.h               |   2 +-
 src/android/jpeg/encoder_jea.cpp         |   2 +-
 src/android/jpeg/encoder_jea.h           |   2 +-
 src/android/jpeg/encoder_libjpeg.cpp     |   2 +-
 src/android/jpeg/encoder_libjpeg.h       |   2 +-
 src/android/jpeg/post_processor_jpeg.cpp |   2 +-
 src/android/jpeg/post_processor_jpeg.h   |   2 +-
 src/android/post_processor.h             |   4 +-
 src/android/yuv/post_processor_yuv.cpp   |   2 +-
 src/android/yuv/post_processor_yuv.h     |   2 +-
 16 files changed, 224 insertions(+), 169 deletions(-)