Exclude lcov on pointcloud 69/297869/1 accepted/tizen/unified/20230828.102415
authorKwanghoon Son <k.son@samsung.com>
Mon, 28 Aug 2023 02:17:30 +0000 (11:17 +0900)
committerKwanghoon Son <k.son@samsung.com>
Mon, 28 Aug 2023 02:17:30 +0000 (11:17 +0900)
[Version] 0.28.13-1

pointcloud only works on aarch64.

Change-Id: I322227f9ece9ad331dc45bfc45e61821f84f8c3d
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
mv_3d/3d/src/Mv3d.cpp
mv_3d/3d/src/mv_3d.c
mv_3d/3d/src/mv_3d_open.cpp
packaging/capi-media-vision.spec

index c3f9a81..b0df0fa 100644 (file)
@@ -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
index 3dd6c70..36a9d5a 100644 (file)
@@ -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
index 89d0af9..fbc93ef 100644 (file)
@@ -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
index 184bba8..0696ae7 100644 (file)
@@ -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