18 #include <libcamera/base/span.h> 40 Span<Plane>
planes() {
return planes_; }
41 Span<const Plane>
planes()
const {
return planes_; }
46 std::vector<Plane> planes_;
55 static constexpr
unsigned int kInvalidOffset = std::numeric_limits<unsigned int>::max();
57 unsigned int offset = kInvalidOffset;
65 const std::vector<Plane> &
planes()
const;
69 uint64_t cookie()
const;
70 void setCookie(uint64_t cookie);
72 std::unique_ptr<Fence> releaseFence();
RAII-style wrapper for file descriptors.
Definition: shared_fd.h:16
Utilities to help constructing class interfaces.
Top-level libcamera namespace.
Definition: backtrace.h:17
unsigned int length
The plane length in bytes.
Definition: framebuffer.h:58
Frame buffer data and its associated dynamic metadata.
Definition: framebuffer.h:49
#define LIBCAMERA_DECLARE_PRIVATE()
Declare private data for a public class.
A frame capture request.
Definition: request.h:30
Base class to manage private data through a d-pointer.
Definition: class.h:61
#define LIBCAMERA_DISABLE_COPY_AND_MOVE(klass)
Disable copy and move construction and assignment of the klass.
SharedFD fd
The dmabuf file descriptor.
Definition: framebuffer.h:56
A memory region to store a single plane of a frame.
Definition: framebuffer.h:54