libcamera: controls: Add vendor information to ControlId
Add vendor/namespace information to ControlId, so that the vendor can be queried from it. This is expected to be used by applications either simply to display the vendor or for it to be used for grouping in a UI. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
f0325383cd
commit
aafa406edd
@@ -498,7 +498,7 @@ ControlInfoMap ControlSerializer::deserialize<ControlInfoMap>(ByteStreamBuffer &
|
||||
* debugging purpose.
|
||||
*/
|
||||
controlIds_.emplace_back(std::make_unique<ControlId>(entry->id,
|
||||
"", type));
|
||||
"", "local", type));
|
||||
(*localIdMap)[entry->id] = controlIds_.back().get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user