libcamera
v0.3.1+12-19bbca3c
Supporting cameras in Linux since 2019
|
Buffer information for the IPA interface. More...
Public Attributes | |
uint32_t | id |
The buffer unique ID. More... | |
std::vector< FrameBuffer::Plane > | planes |
The buffer planes description. More... | |
Buffer information for the IPA interface.
The IPABuffer structure associates buffer memory with a unique ID. It is used to map buffers to the IPA with IPAInterface::mapBuffers(), after which buffers will be identified by their ID in the IPA interface.
libcamera::IPABuffer::id |
The buffer unique ID.
Buffers mapped to the IPA are identified by numerical unique IDs. The IDs are chosen by the pipeline handler to fulfil the following constraints:
When buffers are unmapped with IPAInterface::unmapBuffers() their IDs are freed and may be reused for new buffer mappings.
libcamera::IPABuffer::planes |
The buffer planes description.
Stores the dmabuf handle and length for each plane of the buffer.