mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 09:35:06 +03:00
libcamera: buffer: Add const accessor to Buffer planes
In order to inspect planes of a const Buffer, add a const accessor. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
6a1ff2615b
commit
b44cb6b5f8
2 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,7 @@ private:
|
|||
class BufferMemory final
|
||||
{
|
||||
public:
|
||||
const std::vector<Plane> &planes() const { return planes_; }
|
||||
std::vector<Plane> &planes() { return planes_; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue