[libcamera-devel] [RFC PATCH 0/8] RFC MappedBuffers

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Jul 24 19:00:51 CEST 2020


Hi Kieran,

Thank you for the patch.

On Mon, Jul 20, 2020 at 11:42:24PM +0100, Kieran Bingham wrote:
> These are some patches which have begun to form the pre-requisite base
> for my JPEG software stream work, and as such - I'm posted as an RFC to
> get early review while I try to clean up and fix up the JPEG stream.
> 
> Kieran Bingham (8):
>   libcamera: buffer: Create a MappedFrameBuffer
>   libcamera: buffer: Convert copyFrom to use MappedFrameBuffer
>   qcam: Convert to use MappedFrameBuffer
>   buffer: Provide a base MappedBuffer class
>   android: camera_device: Report an error in notifyError()
>   android: camera_device: Only construct required planes
>   android: camera_device: Query plane length
>   RFC-Only: android: camera_device: Provide a MappedCamera3Buffer
> 
>  include/libcamera/buffer.h    |  27 +++++++
>  src/android/camera_device.cpp |  69 ++++++++++++++++--
>  src/libcamera/buffer.cpp      | 132 ++++++++++++++++++++++++++++------
>  src/qcam/main_window.cpp      |  27 +++----
>  src/qcam/main_window.h        |   2 +-
>  src/qcam/viewfinder.cpp       |   4 +-
>  src/qcam/viewfinder.h         |   7 +-

In case you're not aware yet, this is missing a unit test.

>  7 files changed, 213 insertions(+), 55 deletions(-)

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list