libcamera v0.0.0+3240-f2a18172-dirty (2022-05-13T14:52:50+00:00)
Supporting cameras in Linux since 2019
|
Base class for FrameBuffer private data. More...
Public Member Functions | |
void | setRequest (Request *request) |
Set the request this buffer belongs to. More... | |
bool | isContiguous () const |
Check if the frame buffer stores planes contiguously in memory. More... | |
![]() | |
Private () | |
Construct an instance of an Extensible class private data. | |
Base class for FrameBuffer private data.
The FrameBuffer::Private class stores all private data associated with a framebuffer. It implements the d-pointer design pattern to hide core FrameBuffer data from the public API, and exposes utility functions to pipeline handlers.
|
inline |
Check if the frame buffer stores planes contiguously in memory.
Multi-planar frame buffers can store their planes contiguously in memory, or split them into discontiguous memory areas. This function checks in which of these two categories the frame buffer belongs.
|
inline |
Set the request this buffer belongs to.
[in] | request | Request to set |
For buffers added to requests by applications, this function is called by Request::addBuffer() or Request::reuse(). For buffers internal to pipeline handlers, it is called by the pipeline handlers themselves.