@@ -128,6 +128,18 @@ const std::map<int, const Camera3Format> camera3FormatsMap = {
},
};
+/*
+ * \struct Camera3StreamConfig
+ * \brief Data to store StreamConfiguration associated with camera3_stream(s).
+ * \var streams List of streams requested by Android HAL client.
+ * \var types List of CameraStream::Type associated with streams.
+ * \var config StreamConfiguration for streams.
+ */
+struct Camera3StreamConfig {
+ std::vector<camera3_stream_t*> streams;
+ std::vector<CameraStream::Type> types;
+ StreamConfiguration config;
+};
} /* namespace */
LOG_DECLARE_CATEGORY(HAL)