From: Kwanghoon Son Date: Mon, 28 Aug 2023 02:17:30 +0000 (+0900) Subject: Exclude lcov on pointcloud X-Git-Tag: accepted/tizen/unified/20230828.102415^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f904ca36a062bc331ab9d3a6a00a7f6c5ae4cd11;p=platform%2Fcore%2Fapi%2Fmediavision.git Exclude lcov on pointcloud [Version] 0.28.13-1 pointcloud only works on aarch64. Change-Id: I322227f9ece9ad331dc45bfc45e61821f84f8c3d Signed-off-by: Kwanghoon Son --- diff --git a/mv_3d/3d/src/Mv3d.cpp b/mv_3d/3d/src/Mv3d.cpp index c3f9a81e..b0df0faa 100644 --- a/mv_3d/3d/src/Mv3d.cpp +++ b/mv_3d/3d/src/Mv3d.cpp @@ -148,6 +148,7 @@ void Mv3d::SetDepthCallback(mv_3d_depth_cb depthCallback, void *depthUserData) mDepthUserData = depthUserData; } +// LCOV_EXCL_START #ifdef MV_3D_POINTCLOUD_IS_AVAILABLE int Mv3d::SetPointcloudCallback(mv_3d_pointcloud_cb pointcloudCallback, void *pointcloudUserData) { @@ -165,6 +166,7 @@ int Mv3d::SetPointcloudCallback(mv_3d_pointcloud_cb pointcloudCallback, void *po return MEDIA_VISION_ERROR_NOT_SUPPORTED; } #endif +// LCOV_EXCL_STOP int Mv3d::Prepare() { @@ -465,6 +467,7 @@ gpointer Mv3d::DfsThreadLoop(gpointer data) return nullptr; } +// LCOV_EXCL_START int Mv3d::WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName) { #ifdef MV_3D_POINTCLOUD_IS_AVAILABLE @@ -500,5 +503,7 @@ int Mv3d::WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_ty return MEDIA_VISION_ERROR_NOT_SUPPORTED; #endif } +// LCOV_EXCL_STOP + } // namespace mv3d } // namespace mediavision diff --git a/mv_3d/3d/src/mv_3d.c b/mv_3d/3d/src/mv_3d.c index 3dd6c708..36a9d5a6 100644 --- a/mv_3d/3d/src/mv_3d.c +++ b/mv_3d/3d/src/mv_3d.c @@ -84,6 +84,7 @@ int mv_3d_set_depth_cb(mv_3d_h mv3d, mv_3d_depth_cb depth_cb, void *user_data) return ret; } +// LCOV_EXCL_START int mv_3d_set_pointcloud_cb(mv_3d_h mv3d, mv_3d_pointcloud_cb pointcloud_cb, void *user_data) { MEDIA_VISION_SUPPORT_CHECK(_mv_3d_pointcloud_check_system_info_feature_supported() && @@ -100,6 +101,7 @@ int mv_3d_set_pointcloud_cb(mv_3d_h mv3d, mv_3d_pointcloud_cb pointcloud_cb, voi return ret; } +// LCOV_EXCL_STOP int mv_3d_prepare(mv_3d_h mv3d) { @@ -145,6 +147,7 @@ int mv_3d_run_async(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra, return ret; } +// LCOV_EXCL_START int mv_3d_pointcloud_write_file(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *filename) { @@ -161,3 +164,4 @@ int mv_3d_pointcloud_write_file(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_ return ret; } +// LCOV_EXCL_STOP diff --git a/mv_3d/3d/src/mv_3d_open.cpp b/mv_3d/3d/src/mv_3d_open.cpp index 89d0af92..fbc93ef7 100644 --- a/mv_3d/3d/src/mv_3d_open.cpp +++ b/mv_3d/3d/src/mv_3d_open.cpp @@ -213,6 +213,7 @@ int mv3dSetDepthCallback(mv_3d_h mv3d, mv_3d_depth_cb depth_cb, void *user_data) return MEDIA_VISION_ERROR_NONE; } +// LCOV_EXCL_START int mv3dSetPointcloudCallback(mv_3d_h mv3d, mv_3d_pointcloud_cb pointcloud_cb, void *user_data) { LOGI("ENTER"); @@ -237,6 +238,7 @@ int mv3dSetPointcloudCallback(mv_3d_h mv3d, mv_3d_pointcloud_cb pointcloud_cb, v LOGI("LEAVE"); return MEDIA_VISION_ERROR_NONE; } +// LCOV_EXCL_STOP int mv3dPrepare(mv_3d_h mv3d) { @@ -302,6 +304,7 @@ int mv3dRunAsync(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra) return ret; } +// LCOV_EXCL_START int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName) { LOGI("ENTER"); @@ -322,3 +325,4 @@ int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_p return ret; } +// LCOV_EXCL_STOP diff --git a/packaging/capi-media-vision.spec b/packaging/capi-media-vision.spec index 184bba80..0696ae76 100644 --- a/packaging/capi-media-vision.spec +++ b/packaging/capi-media-vision.spec @@ -1,7 +1,7 @@ Name: capi-media-vision Summary: Media Vision library for Tizen Native API Version: 0.28.13 -Release: 0 +Release: 1 Group: Multimedia/Framework License: Apache-2.0 and BSD-3-Clause Source0: %{name}-%{version}.tar.gz