Base class for camera private data. More...


Public Member Functions | |
| Private (PipelineHandler *pipe) | |
| Construct a Camera::Private instance. | |
| PipelineHandler * | pipe () |
| Retrieve the pipeline handler related to this camera. | |
| const PipelineHandler * | pipe () const |
| Retrieve the pipeline handler related to this camera. | |
| const CameraControlValidator * | validator () const |
| Retrieve the control validator related to this camera. | |
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. | |
| ControlInfoMap | controlInfo_ |
| The set of controls supported by the camera. | |
| ControlList | properties_ |
| The list of properties supported by the camera. | |
| uint32_t | requestSequence_ |
| The queuing sequence number of the request. | |
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 |
|
virtual |
Reimplemented from libcamera::Extensible::Private.
|
inline |
Retrieve the pipeline handler related to this camera.
|
inline |
Retrieve the pipeline handler related to this camera.
|
inline |
Retrieve the control validator related to this camera.
| ControlInfoMap 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.
| ControlList 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.
| std::list<Request *> 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.
| uint32_t 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.