From: Tae-Young Chung Date: Wed, 30 Mar 2022 01:18:26 +0000 (+0900) Subject: Add UserBuffer to customOp with true X-Git-Tag: submit/tizen_6.5/20220404.012322^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=998aad8441656e05fa03f3ba6e9f21dd8b4cb6ab;p=platform%2Fcore%2Fmultimedia%2Finference-engine-mlapi.git Add UserBuffer to customOp with true [Version] 0.0.5-0 [Issue type] bug fix In mlapi, snpe filter causes segfault while handling multiple outputs and the UserBuffer customOp is a solution for the issue. This commit is for inference-engine-mlapi to apply UserBuffer customOp to mlapi. Note that the UserBuffer customOp is valid only for snpe. If an invalid customOp is given, for example the UserBuffer customOp for tflite, mlapi ignore it. Change-Id: Id8bb0e3a83b8b72b73258dd1c8e1325bf3532650 Signed-off-by: Tae-Young Chung --- diff --git a/packaging/inference-engine-mlapi.spec b/packaging/inference-engine-mlapi.spec index 6628d6d..b2c72fd 100644 --- a/packaging/inference-engine-mlapi.spec +++ b/packaging/inference-engine-mlapi.spec @@ -1,6 +1,6 @@ Name: inference-engine-mlapi Summary: ML Single API backend of NNStreamer for MediaVision -Version: 0.0.4 +Version: 0.0.5 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index 56bafe9..2473a8c 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -314,6 +314,8 @@ namespace MLAPIImpl custom += ";"; } } + + custom += ",UserBuffer:true"; } return custom;