summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKwanghoon Son <k.son@samsung.com>2024-04-16 01:47:43 +0000
committerKwanghoon Son <k.son@samsung.com>2024-04-16 01:47:43 +0000
commit73632120a834f87d020841985eff7f307a3abf28 (patch)
treef1b512b724636f563032fa766ae41f7d3bc22e3d
parent5def27b47864a7d48b08919f76ec8d07ae29bf3e (diff)
downloadmediavision-73632120a834f87d020841985eff7f307a3abf28.tar.gz
mediavision-73632120a834f87d020841985eff7f307a3abf28.tar.bz2
mediavision-73632120a834f87d020841985eff7f307a3abf28.zip
[Version] 1.0.1 Change-Id: I7ec99578c5fbc9812c7d4cde0c3d9fda25c5a85e Signed-off-by: Kwanghoon Son <k.son@samsung.com>
-rw-r--r--mv_3d/3d/src/Mv3d.cpp2
-rw-r--r--mv_common/src/mv_common.cpp7
-rw-r--r--mv_face/face/src/mv_face_open.cpp2
-rw-r--r--packaging/capi-media-vision.spec2
4 files changed, 9 insertions, 4 deletions
diff --git a/mv_3d/3d/src/Mv3d.cpp b/mv_3d/3d/src/Mv3d.cpp
index c3adb3bd..e7847dce 100644
--- a/mv_3d/3d/src/Mv3d.cpp
+++ b/mv_3d/3d/src/Mv3d.cpp
@@ -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;
diff --git a/mv_common/src/mv_common.cpp b/mv_common/src/mv_common.cpp
index a80d5268..60a67c2b 100644
--- a/mv_common/src/mv_common.cpp
+++ b/mv_common/src/mv_common.cpp
@@ -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
diff --git a/mv_face/face/src/mv_face_open.cpp b/mv_face/face/src/mv_face_open.cpp
index 3eb1e48f..48120d4f 100644
--- a/mv_face/face/src/mv_face_open.cpp
+++ b/mv_face/face/src/mv_face_open.cpp
@@ -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;
diff --git a/packaging/capi-media-vision.spec b/packaging/capi-media-vision.spec
index 4cac3c45..bccb40e7 100644
--- a/packaging/capi-media-vision.spec
+++ b/packaging/capi-media-vision.spec
@@ -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