summaryrefslogtreecommitdiff
path: root/mv_depth/depth/src/Depth.cpp
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2021-12-08 14:26:54 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2021-12-09 16:36:39 +0900
commit25193b01dd27de69f7615d9555c2efe3cd20bbbb (patch)
treef774fc78f531e6d8b64d463a998959f0ae8b87e6 /mv_depth/depth/src/Depth.cpp
parent41b495752d22211d3b69b1fda41a3610eeddb11c (diff)
downloadmediavision-25193b01dd27de69f7615d9555c2efe3cd20bbbb.tar.gz
mediavision-25193b01dd27de69f7615d9555c2efe3cd20bbbb.tar.bz2
mediavision-25193b01dd27de69f7615d9555c2efe3cd20bbbb.zip
depth: add Depth class and mvDepth apis to run it
[Version] 0.8.17 [Issue type] Update In Depth class and mvDepth apis, create/destroy functions are initially implemented. Change-Id: I1d47d1aad19cff2af036bc380714b6a6d73bc66d Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Diffstat (limited to 'mv_depth/depth/src/Depth.cpp')
-rw-r--r--mv_depth/depth/src/Depth.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/mv_depth/depth/src/Depth.cpp b/mv_depth/depth/src/Depth.cpp
new file mode 100644
index 00000000..309bf82f
--- /dev/null
+++ b/mv_depth/depth/src/Depth.cpp
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "mv_private.h"
+#include <mv_common.h>
+#include "Depth.h"
+#include <mv_depth_type_internal.h>
+
+namespace mediavision
+{
+namespace depth
+{
+
+ Depth::Depth() :
+ mDfsParameter(),
+ mDfsAdaptor(nullptr),
+ mMode(MV_DEPTH_MODE_NONE),
+ mWidth(0),
+ mHeight(0),
+ mMinDisp(0),
+ mMaxDisp(0)
+ {
+ LOGI("ENTER");
+ LOGI("LEAVE");
+ }
+
+ Depth::~Depth()
+ {
+ LOGI("ENTER");
+
+ LOGI("LEAVE");
+ }
+}
+} \ No newline at end of file