[libcamera-devel] [PATCH v2 0/8] android: camera_device: Add support for internal buffers
Jacopo Mondi
jacopo at jmondi.org
Fri Sep 18 15:50:33 CEST 2020
This v2 moves handling of the frame buffers allocated for a stream from the
FrameBufferAllocator class to the libcamera HAL implementing a simple custom
queuing mechanism.
With this series applied:
[==========] 61 tests from 1 test suite ran. (43245 ms total)
[ PASSED ] 59 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] Camera3StillCaptureTest/Camera3JpegResolutionTest.JpegResolutionTest/4, where GetParam() = (0, 320x240, 4160x3104)
[ FAILED ] Camera3StillCaptureTest/Camera3JpegResolutionTest.JpegResolutionTest/20, where GetParam() = (0, 4160x3104, 320x240)
Thanks
j
Jacopo Mondi (8):
android: camera_device: Add CameraStream::Type
android: camera_device: Add frame allocator
libcamera: frame_buffer_allocator: Add clear()
android: camera_device: Clear allocator at configureStream
android: camera_device: Allocate buffer pools
android: camera_device: Add methods to get and return buffers
android: camera_device: Use libcamera buffer pool
android: camera_device: Add stream mapping log
include/libcamera/framebuffer_allocator.h | 1 +
src/android/camera_device.cpp | 156 ++++++++++++++++++----
src/android/camera_device.h | 102 +++++++++++++-
src/libcamera/framebuffer_allocator.cpp | 8 ++
4 files changed, 243 insertions(+), 24 deletions(-)
--
2.28.0
More information about the libcamera-devel
mailing list