[libcamera-devel,6/6] qcam: Print auto exposure state for each completed request

Message ID 20190831210220.29819-7-niklas.soderlund@ragnatech.se
State Superseded
Delegated to: Niklas Söderlund
Headers show
Series
  • libcamera: ipa: Add IPA meta data
Related show

Commit Message

Niklas Söderlund Aug. 31, 2019, 9:02 p.m. UTC
Print the auto exposure state to stdout when a requests complete.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
---
 src/qcam/main_window.cpp | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index b39cc8ad942dacaa..343123722fd3350c 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -257,6 +257,7 @@  void MainWindow::requestComplete(Request *request,
 		  << " bytesused: " << buffer->bytesused()
 		  << " timestamp: " << buffer->timestamp()
 		  << " fps: " << std::fixed << std::setprecision(2) << fps
+		  << " ae: " << request->metaData().aeState
 		  << std::endl;
 
 	display(buffer);