From f3629363c4d25f32c76449740e918445180906db Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Fri, 6 Aug 2021 10:18:30 +0100 Subject: libcamera: Give MappedFrameBuffer its own implementation The MappedFrameBuffer is a convenience feature which sits on top of the FrameBuffer and facilitates mapping it to CPU accessible memory with mmap. This implementation is internal and currently sits in the same internal files as the internal FrameBuffer, thus exposing those internals to users of the MappedFramebuffer implementation. Move the MappedFrameBuffer and MappedBuffer implementation to its own implementation files, and fix the sources throughout to use that accordingly. Reviewed-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- test/mapped-buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/mapped-buffer.cpp') diff --git a/test/mapped-buffer.cpp b/test/mapped-buffer.cpp index c9479194..a3d1511b 100644 --- a/test/mapped-buffer.cpp +++ b/test/mapped-buffer.cpp @@ -9,7 +9,7 @@ #include -#include "libcamera/internal/framebuffer.h" +#include "libcamera/internal/mapped_framebuffer.h" #include "camera_test.h" #include "test.h" -- cgit v1.2.1