libcamera: mali-c55: Remove tpgCodes_
MaliC55CameraData stores a vector of the TPG's mbus codes (if the camera in question is a TPG). This is never used - remove it. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
This commit is contained in:
parent
4709f8442b
commit
b55943714f
1 changed files with 0 additions and 4 deletions
|
@ -131,7 +131,6 @@ private:
|
||||||
void setSensorControls(const ControlList &sensorControls);
|
void setSensorControls(const ControlList &sensorControls);
|
||||||
|
|
||||||
std::string id_;
|
std::string id_;
|
||||||
std::vector<unsigned int> tpgCodes_;
|
|
||||||
std::vector<Size> tpgSizes_;
|
std::vector<Size> tpgSizes_;
|
||||||
Size tpgResolution_;
|
Size tpgResolution_;
|
||||||
};
|
};
|
||||||
|
@ -180,9 +179,6 @@ void MaliC55CameraData::initTPGData()
|
||||||
if (formats.empty())
|
if (formats.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tpgCodes_ = utils::map_keys(formats);
|
|
||||||
std::sort(tpgCodes_.begin(), tpgCodes_.end());
|
|
||||||
|
|
||||||
for (const auto &format : formats) {
|
for (const auto &format : formats) {
|
||||||
const std::vector<SizeRange> &ranges = format.second;
|
const std::vector<SizeRange> &ranges = format.second;
|
||||||
std::transform(ranges.begin(), ranges.end(), std::back_inserter(tpgSizes_),
|
std::transform(ranges.begin(), ranges.end(), std::back_inserter(tpgSizes_),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue