Exclude lcov 04/309704/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240423.164607 accepted/tizen/unified/x/20240425.051148
authorKwanghoon Son <k.son@samsung.com>
Tue, 16 Apr 2024 01:47:43 +0000 (01:47 +0000)
committerKwanghoon Son <k.son@samsung.com>
Tue, 16 Apr 2024 01:47:43 +0000 (01:47 +0000)
[Version] 1.0.1

Change-Id: I7ec99578c5fbc9812c7d4cde0c3d9fda25c5a85e
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
mv_3d/3d/src/Mv3d.cpp
mv_common/src/mv_common.cpp
mv_face/face/src/mv_face_open.cpp
packaging/capi-media-vision.spec

index c3adb3b..e7847dc 100644 (file)
@@ -132,6 +132,7 @@ int Mv3d::Configure(int mode, unsigned int width, unsigned int height, int minDi
                try {
                        mDfsAdaptor = new DfsAdaptor();
                        mDfsAdaptor->bind();
+                       // LCOV_EXCL_START
                } catch (const std::bad_alloc &e) {
                        LOGE("Failed to create dfs adaptation : %s", e.what());
                        return MEDIA_VISION_ERROR_OUT_OF_MEMORY;
@@ -139,6 +140,7 @@ int Mv3d::Configure(int mode, unsigned int width, unsigned int height, int minDi
                        LOGE("Failed to bind %s adaptor", e.what());
                        return MEDIA_VISION_ERROR_INVALID_OPERATION;
                }
+               // LCOV_EXCL_STOP
        }
 
        return MEDIA_VISION_ERROR_NONE;
index a80d526..60a67c2 100644 (file)
@@ -556,7 +556,7 @@ int mv_engine_config_get_string_attribute(mv_engine_config_h engine_cfg, const c
        MEDIA_VISION_FUNCTION_LEAVE();
        return ret;
 }
-
+// LCOV_EXCL_START
 int mv_engine_config_get_array_string_attribute(mv_engine_config_h engine_cfg, const char *name, char ***values,
                                                                                                int *size)
 {
@@ -622,7 +622,7 @@ int mv_engine_config_get_array_string_attribute(mv_engine_config_h engine_cfg, c
        MEDIA_VISION_FUNCTION_LEAVE();
        return ret;
 }
-
+// LCOV_EXCL_STOP
 int mv_engine_config_foreach_supported_attribute(mv_supported_attribute_cb callback, void *user_data)
 {
        MEDIA_VISION_SUPPORT_CHECK(mv_check_feature_key(feature_keys, num_keys, true));
@@ -734,7 +734,7 @@ int mv_source_get_priv_timestamp(mv_source_h source, void **priv)
        }
        return MEDIA_VISION_ERROR_NONE;
 }
-
+// LCOV_EXCL_START
 int mv_source_set_priv_timestamp(mv_source_h source, void *priv)
 {
        MEDIA_VISION_SUPPORT_CHECK(mv_check_feature_key(feature_keys, num_keys, true));
@@ -752,3 +752,4 @@ int mv_source_set_priv_timestamp(mv_source_h source, void *priv)
        }
        return MEDIA_VISION_ERROR_NONE;
 }
+// LCOV_EXCL_STOP
index 3eb1e48..48120d4 100644 (file)
@@ -83,6 +83,7 @@ int mv_face_detect_open(mv_source_h source, mv_engine_config_h engine_cfg, mv_fa
        cv::Rect roi(-1, -1, -1, -1);
        std::string haarcascadeFilePathStr = "/usr/share/OpenCV/haarcascades/haarcascade_frontalface_alt2.xml";
        if (engine_cfg) {
+               // LCOV_EXCL_START
                int minWidth, minHeight;
 
                /* set face detection model */
@@ -143,6 +144,7 @@ int mv_face_detect_open(mv_source_h source, mv_engine_config_h engine_cfg, mv_fa
                        minSize.width = minWidth;
                        minSize.height = minHeight;
                }
+               // LCOV_EXCL_STOP
        }
 
        static FaceDetector faceDetector;
index 4cac3c4..bccb40e 100644 (file)
@@ -1,6 +1,6 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     1.0.0
+Version:     1.0.1
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0