libcamera  v0.0.0+925-96eaad12
Supporting cameras in Linux since 2019
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
libcamera::BufferMemory Class Referencefinal

A memory buffer to store an image. More...

Public Member Functions

const std::vector< Plane > & planes () const
 Retrieve the planes within the buffer. More...
 
std::vector< Plane > & planes ()
 Retrieve the planes within the buffer. More...
 

Detailed Description

A memory buffer to store an image.

The BufferMemory class represents the memory buffers used to store full frame images, which may contain multiple separate memory Plane objects if the image format is multi-planar.

Member Function Documentation

◆ planes() [1/2]

libcamera::BufferMemory::planes ( ) const
inline

Retrieve the planes within the buffer.

Returns
A const reference to a vector holding all Planes within the buffer

◆ planes() [2/2]

libcamera::BufferMemory::planes ( )
inline

Retrieve the planes within the buffer.

Returns
A reference to a vector holding all Planes within the buffer

The documentation for this class was generated from the following files: