+ unsigned int index = 0;
+
for (Stream *stream : config) {
if (streams_.find(stream) == streams_.end())
return -EINVAL;
+
+ const StreamConfiguration &cfg = config[stream];
+ msg << " (" << index << ") " << cfg.width << "x"
+ << cfg.height << "-0x" << std::hex << std::setfill('0')
+ << std::setw(8) << cfg.pixelFormat;
+
+ index++;
}
+ LOG(Camera, Info) << msg.str();
+
ret = pipe_->configureStreams(this, config);
if (ret)
return ret;
@@ -244,12 +244,6 @@ int PipelineHandlerIPU3::configureStreams(Camera *camera,
ImgUDevice *imgu = data->imgu_;
int ret;
- LOG(IPU3, Info)
- << "Requested image format " << cfg.width << "x"
- << cfg.height << "-0x" << std::hex << std::setfill('0')
- << std::setw(8) << cfg.pixelFormat << " on camera '"
- << camera->name() << "'";
-
/*
* Verify that the requested size respects the IPU3 alignement
* requirements (the image width shall be a multiple of 8 pixels and