libcamera
v0.3.2+116-83c5ad0f
Supporting cameras in Linux since 2019
|
Base class for camera private data. More...
Public Member Functions | |
Private (PipelineHandler *pipe) | |
Construct a Camera::Private instance. More... | |
PipelineHandler * | pipe () |
Retrieve the pipeline handler related to this camera. More... | |
const CameraControlValidator * | validator () const |
Retrieve the control validator related to this camera. More... | |
Public Member Functions inherited from libcamera::Extensible::Private | |
Private () | |
Construct an instance of an Extensible class private data. | |
Public Attributes | |
std::list< Request * > | queuedRequests_ |
The list of queued and not yet completed requests. More... | |
ControlInfoMap | controlInfo_ |
The set of controls supported by the camera. More... | |
ControlList | properties_ |
The list of properties supported by the camera. More... | |
uint32_t | requestSequence_ |
The queuing sequence number of the request. More... | |
Base class for camera private data.
The Camera::Private class stores all private data associated with a camera. In addition to hiding core Camera data from the public API, it is expected to be subclassed by pipeline handlers to store pipeline-specific data.
Pipeline handlers can obtain the Camera::Private instance associated with a camera by calling Camera::_d().
libcamera::Camera::Private::Private | ( | PipelineHandler * | pipe | ) |
Construct a Camera::Private instance.
[in] | pipe | The pipeline handler responsible for the camera device |
|
inline |
Retrieve the pipeline handler related to this camera.
|
inline |
Retrieve the control validator related to this camera.
libcamera::Camera::Private::controlInfo_ |
The set of controls supported by the camera.
The control information shall be initialised by the pipeline handler when creating the camera.
libcamera::Camera::Private::properties_ |
The list of properties supported by the camera.
The list of camera properties shall be initialised by the pipeline handler when creating the camera, and shall not be modified afterwards.
libcamera::Camera::Private::queuedRequests_ |
The list of queued and not yet completed requests.
This list tracks requests queued in order to ensure completion of all requests when the pipeline handler is stopped.
libcamera::Camera::Private::requestSequence_ |
The queuing sequence number of the request.
When requests are queued, they are given a per-camera sequence number to facilitate debugging of internal request usage.
The requestSequence_ tracks the number of requests queued to a camera over a single capture session.