diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-06-29 17:26:23 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-10-15 09:32:31 +0200 |
commit | 56ee14e16dc31c97be6c00bef0728a6fc9f13e86 (patch) | |
tree | 14a2b620d7f121f73fc2d7fa1064942c2ee8242a /src/android/camera_capabilities.h | |
parent | 4ed22985a846dd9ab8d14505918e82f7d4dc3b8c (diff) |
android: capabilities: Collect per-stream frame durations
Collect the per-stream frame durations while building the list
of supported stream formats and resolutions.
In order to get an updated list of controls it is necessary to apply
to the Camera the configuration we're testing, which was so far only
validated.
The per-configuration durations will be used to populate the Android
ANDROID_SCALER_AVAILABLE_MIN_FRAME_DURATIONS static metadata.
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/camera_capabilities.h')
-rw-r--r-- | src/android/camera_capabilities.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/camera_capabilities.h b/src/android/camera_capabilities.h index a1259699..6e55ddab 100644 --- a/src/android/camera_capabilities.h +++ b/src/android/camera_capabilities.h @@ -43,6 +43,8 @@ private: struct Camera3StreamConfiguration { libcamera::Size resolution; int androidFormat; + int64_t minFrameDurationNsec; + int64_t maxFrameDurationNsec; }; bool validateManualSensorCapability(); |