summaryrefslogtreecommitdiff
path: root/scripts/cmake/common_user_options.cmake
diff options
context:
space:
mode:
authorRichard Burton <richard.burton@arm.com>2023-12-06 17:13:10 +0000
committeralex.tawse <alex.tawse@arm.com>2024-01-23 17:26:45 +0000
commitcefc7e1cacdd3028b46325b3a1f6c15416914b2f (patch)
treed0353f7775d18a207d8a9fd352a3b716ea7b9773 /scripts/cmake/common_user_options.cmake
parent001a8ff315dc766a206b05a3e00e831e3f972b0d (diff)
downloadml-embedded-evaluation-kit-cefc7e1cacdd3028b46325b3a1f6c15416914b2f.tar.gz
MLECO-4503: Adding video VSI for object detectionexperimental/vsi
* Added Board support - Arm Corstone 300 and 310 * Added Python Scripts for Video VSI * Added source files for Video VSI * Add new usecase handler for OD use case * Bumped resampy version to resolve issue with slowdown Signed-off-by: Idriss Chaouch <idriss.chaouch@arm.com> Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Ie59ae955d4d85f672a49c63733052624542aec85
Diffstat (limited to 'scripts/cmake/common_user_options.cmake')
-rw-r--r--scripts/cmake/common_user_options.cmake17
1 files changed, 16 insertions, 1 deletions
diff --git a/scripts/cmake/common_user_options.cmake b/scripts/cmake/common_user_options.cmake
index 97e9b40..64b9c74 100644
--- a/scripts/cmake/common_user_options.cmake
+++ b/scripts/cmake/common_user_options.cmake
@@ -1,5 +1,5 @@
#----------------------------------------------------------------------------
-# SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2021-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -81,6 +81,21 @@ USER_OPTION(USE_SINGLE_INPUT "Select if a use case should execute using a defaul
OFF
BOOL)
+if (TARGET_PLATFORM STREQUAL mps3)
+ USER_OPTION(VSI_ENABLED
+ "Select to use VSI for video streaming"
+ OFF
+ BOOL)
+
+ if (VSI_ENABLED)
+ USER_OPTION(VSI_IMAGE_INPUT
+ "Use images as input to VSI instead of video"
+ OFF
+ BOOL
+ )
+ endif ()
+endif ()
+
if (NOT TARGET_PLATFORM STREQUAL native)
USER_OPTION(CMSIS_SRC_PATH