fix API break 17/293217/3 accepted/tizen/unified/20230528.171039
authorsangho park <sangho.g.park@samsung.com>
Tue, 23 May 2023 02:02:01 +0000 (11:02 +0900)
committersangho park <sangho.g.park@samsung.com>
Tue, 23 May 2023 02:06:54 +0000 (11:06 +0900)
[Version] 0.28.1
[Issue type] Fix

Revert api break code in previous commit
commit-id : 7b12e17515d7844448b5a84756bffcaa0e72dcdd

Change-Id: I395b628db5d1572290a3c9ac3e3d6f0867352b92
Signed-off-by: sangho park <sangho.g.park@samsung.com>
include/mv_3d.h
mv_3d/3d/include/Mv3d.h
mv_3d/3d/include/mv_3d_open.h
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 b94eaec0bbaad15b270c2b13e597903fc192594f..e912ae6c72562f7eb8d3a890f5672a1b5b22f2b1 100644 (file)
@@ -398,7 +398,7 @@ int mv_3d_run_async(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra,
  * @see mv_3d_configure()
  */
 int mv_3d_pointcloud_write_file(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type,
-                                                               const char *filename);
+                                                               char *filename);
 
 /**
  * @}
index e459ea9860674ae5f1913801064641ff87ca5e9c..54298dbd49536d2980f542e172477ddb1954d5d2 100644 (file)
@@ -89,7 +89,7 @@ public:
 
        int SetPointcloudCallback(mv_3d_pointcloud_cb pointcloudCallback, void *pointcloudUserData);
 
-       int WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, const char *fileName);
+       int WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName);
 
        int Prepare();
 
index c6c432f2ebdcd11c690c4a4a9e32c01440ce7445..c3adb0e7b85a4d194d57fc8ae9f0517c6a445d4a 100644 (file)
@@ -77,8 +77,7 @@ int mv3dRunAsync(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra);
  * @brief Write Pointcloud file.
  * @since_tizen 7.0
  */
-int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type,
-                                                       const char *fileName);
+int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName);
 
 #ifdef __cplusplus
 }
index 6dd5437eda4d86018ef2418d495183db1074b222..27d7b7c4379841cd12abed3ded710dfa4cdb74d3 100644 (file)
@@ -452,7 +452,7 @@ gpointer Mv3d::DfsThreadLoop(gpointer data)
        return nullptr;
 }
 
-int Mv3d::WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, const char *fileName)
+int Mv3d::WritePointcloudFile(mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName)
 {
 #ifdef MV_3D_POINTCLOUD_IS_AVAILABLE
        auto s = static_cast<mv_3d_pointcloud_s *>(pointcloud);
index 91f6851b79880d21a7e5f0f6adb89313608ab6c5..3dd6c708ffedbfc2730605fc9cf92298183bf364 100644 (file)
@@ -146,7 +146,7 @@ int mv_3d_run_async(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra,
 }
 
 int mv_3d_pointcloud_write_file(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type,
-                                                               const char *filename)
+                                                               char *filename)
 {
        MEDIA_VISION_SUPPORT_CHECK(_mv_3d_pointcloud_check_system_info_feature_supported() &&
                                                           _mv_3d_check_system_info_feature_supported());
index 3f1e4af0ce628fceea8e51fdc212d7cc931c3076..973f5fc4037ce66b87130e725a384741ec03a6d8 100644 (file)
@@ -302,8 +302,7 @@ int mv3dRunAsync(mv_3d_h mv3d, mv_source_h source, mv_source_h source_extra)
        return ret;
 }
 
-int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type,
-                                                       const char *fileName)
+int mv3dWritePointcloudFile(mv_3d_h mv3d, mv_3d_pointcloud_h pointcloud, mv_3d_pointcloud_type_e type, char *fileName)
 {
        LOGI("ENTER");
 
index 5f08fc5b947c5d66c1bd8d6b56b2e503e2eacd92..ba4752c6cef29230057a524b43e653a5a8054284 100644 (file)
@@ -1,6 +1,6 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     0.28.0
+Version:     0.28.1
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause