summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-11-26 00:07:12 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-01-12 16:10:37 +0100
commit962d1c17a422636c9e1ac8dcbf72b79b3aed8506 (patch)
treeafc3729305a4a48678a6f55fc9e5e047a12611d6 /include
parentae9a05847cead7ddedba0ae150e538562afbb13f (diff)
libcamera: buffers: Remove Plane class
There are no users left of the Plane class, drop it. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/buffer.h21
1 files changed, 0 insertions, 21 deletions
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: