15 #include <libcamera/base/class.h> 17 #include <libcamera/base/span.h> 39 Span<Plane>
planes() {
return planes_; }
40 Span<const Plane>
planes()
const {
return planes_; }
45 std::vector<Plane> planes_;
50 LIBCAMERA_DECLARE_PRIVATE()
54 static constexpr
unsigned int kInvalidOffset = std::numeric_limits<unsigned int>::max();
56 unsigned int offset = kInvalidOffset;
64 const std::vector<Plane> &
planes()
const;
68 uint64_t cookie()
const;
69 void setCookie(uint64_t cookie);
71 std::unique_ptr<Fence> releaseFence();
RAII-style wrapper for file descriptors.
Definition: shared_fd.h:16
Top-level libcamera namespace.
Definition: bound_method.h:15
unsigned int length
The plane length in bytes.
Definition: framebuffer.h:57
Frame buffer data and its associated dynamic metadata.
Definition: framebuffer.h:48
A frame capture request.
Definition: request.h:29
SharedFD fd
The dmabuf file descriptor.
Definition: framebuffer.h:55
A memory region to store a single plane of a frame.
Definition: framebuffer.h:53