[libcamera-devel] [RFC PATCH 0/6] Support stream mapping in Android HAL adaptation layer

Hirokazu Honda hiroh at chromium.org
Fri Feb 19 08:15:55 CET 2021


+Jacopo Mondi +Laurent Pinchart

Hello Jacopo and Laurent (sorry for pointing fingers), as you have
joined with my previous proposal discussion, may I please ask you to
review this patch series?
I don't at all intend to submit the patch series at one time.
I would like to hear your opinion about this direction.
Some of them might be reasonable to submit shortly as they generalize
the post processing code.


Thanks so much in advance,
-Hiro



On Thu, Feb 4, 2021 at 7:05 PM Hirokazu Honda <hiroh at chromium.org> wrote:
>
> This patch series implements a stream mapping in Android HAL
> adaptaion layer. The stream mapping here means to map camera
> streams that can be produced by a native camera to camera streams
> requested by Android HAL client w/o post processing. This is
> helpful for the libcamera Android HAL implementation to produce
> camera streams that a camera device doesn't support and output
> multiple streams.
>
> Hirokazu Honda (6):
>   libcamera: camera: Add tryValidate() to CameraConfiguration
>   libcamera: ipu3: Implement tryValidate() in IPU3CameraConfiguration
>   android: camera_stream: Pass post processor in configure()
>   android: camera_device: Implement toString() in Camera3StreamConfig
>   android: camera_device: Introduce PostProcessorType
>   android: camera_device: Support stream mapping
>
>  include/libcamera/camera.h           |   1 +
>  src/android/camera_device.cpp        | 266 ++++++++++++++++++++++++++-
>  src/android/camera_stream.cpp        |  31 +---
>  src/android/camera_stream.h          |   2 +-
>  src/libcamera/camera.cpp             |  22 +++
>  src/libcamera/pipeline/ipu3/imgu.cpp |   2 +-
>  src/libcamera/pipeline/ipu3/imgu.h   |   2 +-
>  src/libcamera/pipeline/ipu3/ipu3.cpp | 160 ++++++++++++++++
>  8 files changed, 453 insertions(+), 33 deletions(-)
>
> --
> 2.30.0.365.g02bc693789-goog


More information about the libcamera-devel mailing list