libcamera v0.0.0+3240-f2a18172-dirty (2021-12-20T12:34:02+00:00)
Supporting cameras in Linux since 2019
framebuffer.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2020, Google Inc.
4 *
5 * framebuffer.h - Internal frame buffer handling
6 */
7#ifndef __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
8#define __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
9
11
13
14namespace libcamera {
15
17{
19
20public:
21 Private();
22
23 void setRequest(Request *request) { request_ = request; }
24 bool isContiguous() const { return isContiguous_; }
25
26private:
27 Request *request_;
28 bool isContiguous_;
29};
30
31} /* namespace libcamera */
32
33#endif /* __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__ */
Utilities to help constructing class interfaces.
#define LIBCAMERA_DECLARE_PUBLIC(klass)
Declare public data for a private class.
Base class for private data managed through a d-pointer.
Definition: class.h:65
Base class for FrameBuffer private data.
Definition: framebuffer.h:17
void setRequest(Request *request)
Set the request this buffer belongs to.
Definition: framebuffer.h:23
bool isContiguous() const
Check if the frame buffer stores planes contiguously in memory.
Definition: framebuffer.h:24
Frame buffer data and its associated dynamic metadata.
Definition: framebuffer.h:49
Request * request() const
Retrieve the request this buffer belongs to.
Definition: framebuffer.cpp:274
A frame capture request.
Definition: request.h:29
Frame buffer handling.
Top-level libcamera namespace.
Definition: backtrace.h:17