[libcamera-devel,v3,00/10] android: Supports memory backends
mbox series

Message ID 20210302115108.103328-1-jacopo@jmondi.org
Headers show
Series
  • android: Supports memory backends
Related show

Message

Jacopo Mondi March 2, 2021, 11:50 a.m. UTC
Hello,
  v3 closes small comments on v2 and introduces the jpegBlobSize()
method in the CameraBuffer interface to maintain compatibility with
platforms that do not implement memory backend support.

This is the only patch missing a review tag.

Jacopo Mondi (10):
  meson: options: Add option to select the Android platform
  android: Introduce CameraBuffer interface
  android: camera_buffer: Drop 'const' from buffer_handle_t
  android: camera_device: Rename buffer fields
  android: Move buffer mapping to CameraStream
  android: camera_buffer: Implement libcamera::Extensible
  android: post_processor: Use CameraBuffer API
  android: camera_buffer: Add method to get the JPEG blob size
  android: mm: Provide helper macro for PIMPL
  android: Introduce Chromium OS buffer manager

 meson_options.txt                        |   6 ++
 src/android/camera_buffer.h              |  66 ++++++++++++
 src/android/camera_device.cpp            |  51 +--------
 src/android/camera_device.h              |   6 --
 src/android/camera_stream.cpp            |  16 ++-
 src/android/camera_stream.h              |   2 +-
 src/android/jpeg/post_processor_jpeg.cpp |  29 +++--
 src/android/jpeg/post_processor_jpeg.h   |   2 +-
 src/android/meson.build                  |   2 +
 src/android/mm/cros_camera_buffer.cpp    | 128 +++++++++++++++++++++++
 src/android/mm/generic_camera_buffer.cpp |  88 ++++++++++++++++
 src/android/mm/meson.build               |   9 ++
 src/android/post_processor.h             |   4 +-
 src/android/yuv/post_processor_yuv.cpp   |  20 ++--
 src/android/yuv/post_processor_yuv.h     |   4 +-
 15 files changed, 348 insertions(+), 85 deletions(-)
 create mode 100644 src/android/camera_buffer.h
 create mode 100644 src/android/mm/cros_camera_buffer.cpp
 create mode 100644 src/android/mm/generic_camera_buffer.cpp
 create mode 100644 src/android/mm/meson.build

--
2.30.0