32 void setFence(std::unique_ptr<Fence>
fence) { fence_ = std::move(fence); }
39 std::vector<Plane> planes_;
43 std::unique_ptr<Fence> fence_;
Base class for private data managed through a d-pointer.
Definition: class.h:64
Utilities to help constructing class interfaces.
Synchronization primitive to manage resources.
Definition: fence.h:15
FrameMetadata & metadata()
Retrieve the dynamic metadata.
Definition: framebuffer.h:36
void cancel()
Marks the buffer as cancelled.
Definition: framebuffer.h:34
Top-level libcamera namespace.
Definition: backtrace.h:17
Frame buffer data and its associated dynamic metadata.
Definition: framebuffer.h:48
#define LIBCAMERA_DECLARE_PUBLIC(klass)
Declare public data for a private class.
Private()
Construct an instance of an Extensible class private data.
Definition: class.cpp:194
A frame capture request.
Definition: request.h:29
Base class for FrameBuffer private data.
Definition: framebuffer.h:20
Fence * fence() const
Retrieve a const pointer to the Fence.
Definition: framebuffer.h:31
Request * request() const
Retrieve the request this buffer belongs to.
Definition: framebuffer.cpp:379
const std::vector< Plane > & planes() const
Retrieve the static plane descriptors.
Definition: framebuffer.cpp:361
virtual ~Private()
FrameBuffer::Private destructor.
Definition: framebuffer.cpp:136
bool isContiguous() const
Check if the frame buffer stores planes contiguously in memory.
Definition: framebuffer.h:29
Definition of the Fence class.
void setFence(std::unique_ptr< Fence > fence)
Move a fence in this buffer.
Definition: framebuffer.h:32
uint64_t cookie() const
Retrieve the cookie.
Definition: framebuffer.cpp:403
void setRequest(Request *request)
Set the request this buffer belongs to.
Definition: framebuffer.h:28