diff options
author | Tae-Young Chung <ty83.chung@samsung.com> | 2021-12-16 18:19:08 +0900 |
---|---|---|
committer | Tae-Young Chung <ty83.chung@samsung.com> | 2021-12-16 18:19:21 +0900 |
commit | 99ed054061e45da3d20e106438fcb3fec4a4bdc3 (patch) | |
tree | 41a97249c5f1186fdb1442f1e32902322ba4ba7e | |
parent | 9a1a127e5dc104c436ec521bf40c91cfd0350797 (diff) | |
download | mediavision-99ed054061e45da3d20e106438fcb3fec4a4bdc3.tar.gz mediavision-99ed054061e45da3d20e106438fcb3fec4a4bdc3.tar.bz2 mediavision-99ed054061e45da3d20e106438fcb3fec4a4bdc3.zip |
depth: apply mvDepth to mv_depth_internal
[Version] 0.8.19
[Issue type] Update
Change-Id: Idb7737d3b92210bb4322c1a4fe639e22900e1bd7
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r-- | mv_depth/depth/src/mv_depth_internal.c | 25 | ||||
-rw-r--r-- | packaging/capi-media-vision.spec | 2 |
2 files changed, 21 insertions, 6 deletions
diff --git a/mv_depth/depth/src/mv_depth_internal.c b/mv_depth/depth/src/mv_depth_internal.c index a90b6c7d..f344b461 100644 --- a/mv_depth/depth/src/mv_depth_internal.c +++ b/mv_depth/depth/src/mv_depth_internal.c @@ -17,6 +17,7 @@ #include "mv_private.h" #include "mv_depth_internal.h" #include "mv_depth_type_internal.h" +#include "mvDepth.h" /** * @file mv_depth_internal.c @@ -29,9 +30,11 @@ int mv_depth_create(mv_depth_h *depth) MEDIA_VISION_FUNCTION_ENTER(); + int ret = mvDepthCreate(depth); + MEDIA_VISION_FUNCTION_LEAVE(); - return MEDIA_VISION_ERROR_NONE; + return ret; } int mv_depth_destroy(mv_depth_h depth) @@ -40,9 +43,11 @@ int mv_depth_destroy(mv_depth_h depth) MEDIA_VISION_FUNCTION_ENTER(); + int ret = mvDepthDestroy(depth); + MEDIA_VISION_FUNCTION_LEAVE(); - return MEDIA_VISION_ERROR_NONE; + return ret; } int mv_depth_configure(mv_depth_h depth, @@ -53,9 +58,11 @@ int mv_depth_configure(mv_depth_h depth, MEDIA_VISION_FUNCTION_ENTER(); + int ret = mvDepthConfigure(depth, engine_config); + MEDIA_VISION_FUNCTION_LEAVE(); - return MEDIA_VISION_ERROR_NONE; + return ret; } int mv_depth_prepare(mv_depth_h depth) @@ -64,9 +71,11 @@ int mv_depth_prepare(mv_depth_h depth) MEDIA_VISION_FUNCTION_ENTER(); + int ret = mvDepthPrepare(depth); + MEDIA_VISION_FUNCTION_LEAVE(); - return MEDIA_VISION_ERROR_NONE; + return ret; } int mv_depth_get(mv_source_h source, @@ -81,7 +90,13 @@ int mv_depth_get(mv_source_h source, MEDIA_VISION_FUNCTION_ENTER(); + int ret = mvDepthGet(source, + source_extra, + depth, + depth_cb, + user_data); + MEDIA_VISION_FUNCTION_LEAVE(); - return MEDIA_VISION_ERROR_NONE; + return ret; }
\ No newline at end of file diff --git a/packaging/capi-media-vision.spec b/packaging/capi-media-vision.spec index 5fdfd5da..dbacfe96 100644 --- a/packaging/capi-media-vision.spec +++ b/packaging/capi-media-vision.spec @@ -6,7 +6,7 @@ Name: capi-media-vision Summary: Media Vision library for Tizen Native API -Version: 0.8.18 +Version: 0.8.19 Release: 0 Group: Multimedia/Framework License: Apache-2.0 and BSD-3-Clause |