summaryrefslogtreecommitdiff
path: root/src/android/camera_capabilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_capabilities.h')
-rw-r--r--src/android/camera_capabilities.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/android/camera_capabilities.h b/src/android/camera_capabilities.h
index 42a976d3..c7a966ce 100644
--- a/src/android/camera_capabilities.h
+++ b/src/android/camera_capabilities.h
@@ -42,6 +42,16 @@ private:
int androidFormat;
};
+ bool validateManualSensorCapability();
+ bool validateManualPostProcessingCapability();
+ bool validateBurstCaptureCapability();
+
+ std::set<camera_metadata_enum_android_request_available_capabilities>
+ computeCapabilities();
+
+ void computeHwLevel(
+ const std::set<camera_metadata_enum_android_request_available_capabilities> &caps);
+
std::vector<libcamera::Size>
initializeYUVResolutions(const libcamera::PixelFormat &pixelFormat,
const std::vector<libcamera::Size> &resolutions);
@@ -56,6 +66,7 @@ private:
int facing_;
int orientation_;
bool rawStreamAvailable_;
+ camera_metadata_enum_android_info_supported_hardware_level hwLevel_;
std::vector<Camera3StreamConfiguration> streamConfigurations_;
std::map<int, libcamera::PixelFormat> formatsMap_;