[mediavision] Add backend path configuration files 12/277012/1 accepted/tizen/unified/20220630.211945 submit/tizen/20220629.075411
authorInki Dae <inki.dae@samsung.com>
Wed, 29 Jun 2022 06:24:35 +0000 (15:24 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 29 Jun 2022 06:26:44 +0000 (15:26 +0900)
[Version] 0.3.47
[Issue Type] Add

Added backend configuration path files for c4, rpi3 and vim3 boards.

Change-Id: I25f927f125a953e40ea9c2338d41a7d5c2618a37
Signed-off-by: Inki Dae <inki.dae@samsung.com>
media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini [new file with mode: 0644]
media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini [new file with mode: 0644]
media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini [new file with mode: 0644]
packaging/media-config.spec

diff --git a/media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-c4/hal/etc/inference/inference_engine_backend_path.ini
new file mode 100644 (file)
index 0000000..97b4f0e
--- /dev/null
@@ -0,0 +1,24 @@
+; This ini file describes,
+; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API.
+; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV.
+;    In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section.
+
+; Available NPU backends : VIVANTE, TRIV2
+; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV
+; Available external inference engine API framework : MLAPI
+
+[NPU backend]
+; Writing rule = [VIVANTE|TRIV2]
+type = VIVANTE
+
+[TFLITE]
+; Writing rule = [MLAPI]
+API framework = MLAPI
+
+[ARMNN]
+; Writing rule = [MLAPI]
+API framework =
+
+[OPENCV]
+; Writing rule = [MLAPI]
+API framework =
diff --git a/media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-rpi3/hal/etc/inference/inference_engine_backend_path.ini
new file mode 100644 (file)
index 0000000..97b4f0e
--- /dev/null
@@ -0,0 +1,24 @@
+; This ini file describes,
+; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API.
+; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV.
+;    In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section.
+
+; Available NPU backends : VIVANTE, TRIV2
+; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV
+; Available external inference engine API framework : MLAPI
+
+[NPU backend]
+; Writing rule = [VIVANTE|TRIV2]
+type = VIVANTE
+
+[TFLITE]
+; Writing rule = [MLAPI]
+API framework = MLAPI
+
+[ARMNN]
+; Writing rule = [MLAPI]
+API framework =
+
+[OPENCV]
+; Writing rule = [MLAPI]
+API framework =
diff --git a/media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini b/media-config-target-vim3/hal/etc/inference/inference_engine_backend_path.ini
new file mode 100644 (file)
index 0000000..97b4f0e
--- /dev/null
@@ -0,0 +1,24 @@
+; This ini file describes,
+; 1. which NPU backend to be used for user-given INFERENCE_ENGINE_CUSTOM type. As for NPU device, we will use ML Single API.
+; 2. which API framework to be used for a given backend engine such as TFLITE, ARMNN, and OPENCV.
+;    In default, Mediavision internal API will be used. If you want to use ML Single API then set 'MLAPI' to 'API framework' of each backend section.
+
+; Available NPU backends : VIVANTE, TRIV2
+; Available backend engine sections : TFLITE, ARMNN, ONE, OPENCV
+; Available external inference engine API framework : MLAPI
+
+[NPU backend]
+; Writing rule = [VIVANTE|TRIV2]
+type = VIVANTE
+
+[TFLITE]
+; Writing rule = [MLAPI]
+API framework = MLAPI
+
+[ARMNN]
+; Writing rule = [MLAPI]
+API framework =
+
+[OPENCV]
+; Writing rule = [MLAPI]
+API framework =
index 88928ca7e05764897979ab7dcd06309b7fb7a771..623777e8ea5d2f5cfd44ba637b810847dc167ed9 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       media-config
 Summary:    Multimedia Framework system configuration package
-Version:    0.3.46
+Version:    0.3.47
 Release:    0
 Group:      Multimedia/Configuration
 License:    LGPL-2.1 and Apache-2.0