libcamera: pipeline: Unify naming of configurations in pipeline handlers

Name all instances of CameraConfiguration "config", and all instances of
StreamConfiguration "cfg" accross all pipeline handlers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
Laurent Pinchart
2019-04-29 20:41:46 +03:00
parent a2dddf7c26
commit 3fc0189e20
6 changed files with 41 additions and 41 deletions

View File

@@ -129,10 +129,10 @@ bool CameraConfiguration::isValid() const
return false;
for (auto const &it : config_) {
const StreamConfiguration &conf = it.second;
const StreamConfiguration &cfg = it.second;
if (conf.size.width == 0 || conf.size.height == 0 ||
conf.pixelFormat == 0 || conf.bufferCount == 0)
if (cfg.size.width == 0 || cfg.size.height == 0 ||
cfg.pixelFormat == 0 || cfg.bufferCount == 0)
return false;
}