mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 09:35:06 +03:00
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>
This commit is contained in:
parent
ae9a05847c
commit
962d1c17a4
2 changed files with 0 additions and 170 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue