summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-07-01 14:11:24 +0200
committerJacopo Mondi <jacopo@jmondi.org>2021-10-15 09:32:31 +0200
commit291857a46b6aee6226bef3ff214468def36165df (patch)
treec3019c3fccf09a1d335a3b0c2924780a1fb154f5 /src/android
parentf78f714b4486dbfd62bd62d7a479abc1d98d7495 (diff)
android: capabilities: Print output stream list
Add a debug statement to print out the list of collected output stream and their characteristics. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android')
-rw-r--r--src/android/camera_capabilities.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/android/camera_capabilities.cpp b/src/android/camera_capabilities.cpp
index bf82bbf7..ebe51ef2 100644
--- a/src/android/camera_capabilities.cpp
+++ b/src/android/camera_capabilities.cpp
@@ -1301,6 +1301,12 @@ int CameraCapabilities::initializeStaticMetadata()
availableStreamConfigurations.push_back(entry.resolution.height);
availableStreamConfigurations.push_back(
ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT);
+
+ LOG(HAL, Debug)
+ << "Output Stream: " << utils::hex(entry.androidFormat)
+ << " (" << entry.resolution.toString() << ")["
+ << entry.minFrameDurationNsec << "]"
+ << "@" << fps;
}
staticMetadata_->addEntry(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS,
availableStreamConfigurations);