libcamera: v4l2_videodevice: Add using statement for format map

Define a using statement for the format maps returned by
V4L2Device::formats() and use it in all call sites. There is no
functional change in this patch.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Niklas Söderlund
2020-07-21 15:30:43 +02:00
parent 4a5b0df984
commit a8a2048ab0
5 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ int SimpleCameraData::init()
return ret;
}
std::map<V4L2PixelFormat, std::vector<SizeRange>> videoFormats =
V4L2VideoDevice::Formats videoFormats =
video_->formats(format.mbus_code);
LOG(SimplePipeline, Debug)