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

Niklas Söderlund niklas.soderlund at ragnatech.se
Sat Aug 31 23:02:20 CEST 2019


Print the auto exposure state to stdout when a requests complete.

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

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);
-- 
2.22.1



More information about the libcamera-devel mailing list