From 962d1c17a422636c9e1ac8dcbf72b79b3aed8506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Tue, 26 Nov 2019 00:07:12 +0100 Subject: libcamera: buffers: Remove Plane class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no users left of the Plane class, drop it. Signed-off-by: Niklas Söderlund Reviewed-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- include/libcamera/buffer.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'include') diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h index d61efad1..d3dc9a42 100644 --- a/include/libcamera/buffer.h +++ b/include/libcamera/buffer.h @@ -71,27 +71,6 @@ private: unsigned int cookie_; }; -class Plane final -{ -public: - Plane(); - ~Plane(); - - int dmabuf() const { return fd_; } - int setDmabuf(int fd, unsigned int length); - - void *mem(); - unsigned int length() const { return length_; } - -private: - int mmap(); - int munmap(); - - int fd_; - unsigned int length_; - void *mem_; -}; - class BufferMemory final { public: -- cgit v1.2.1