mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-17 09:25:07 +03:00
libcamera: pipeline_handler: Remove Camera pointer from CameraData
There are no users left of this field, drop it. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
8992b3ffbb
commit
6ef7eddfd4
2 changed files with 0 additions and 12 deletions
|
@ -42,7 +42,6 @@ public:
|
|||
}
|
||||
virtual ~CameraData() = default;
|
||||
|
||||
Camera *camera_;
|
||||
PipelineHandler *pipe_;
|
||||
std::list<Request *> queuedRequests_;
|
||||
ControlInfoMap controlInfo_;
|
||||
|
|
|
@ -60,16 +60,6 @@ LOG_DEFINE_CATEGORY(Pipeline)
|
|||
* exists.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var CameraData::camera_
|
||||
* \brief The camera related to this CameraData instance
|
||||
*
|
||||
* The camera_ pointer provides access to the Camera object that this instance
|
||||
* is related to. It is set when the Camera is registered with
|
||||
* PipelineHandler::registerCamera() and remains valid until the CameraData
|
||||
* instance is destroyed.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var CameraData::pipe_
|
||||
* \brief The pipeline handler related to this CameraData instance
|
||||
|
@ -493,7 +483,6 @@ void PipelineHandler::completeRequest(Request *request)
|
|||
void PipelineHandler::registerCamera(std::shared_ptr<Camera> camera,
|
||||
std::unique_ptr<CameraData> data)
|
||||
{
|
||||
data->camera_ = camera.get();
|
||||
cameraData_[camera.get()] = std::move(data);
|
||||
cameras_.push_back(camera);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue