Add getLeftData() and getRigthData() 95/281795/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060316 accepted/tizen/7.0/unified/hotfix/20221116.105347 accepted/tizen/unified/20220926.025458 tizen_7.0_m2_release
authorTae-Young Chung <ty83.chung@samsung.com>
Thu, 22 Sep 2022 04:19:04 +0000 (13:19 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Thu, 22 Sep 2022 04:19:16 +0000 (13:19 +0900)
[Version] 1.0.9-0
[Issue type] update

Change-Id: I65f243efc301cfff7ac7045f1a892507dde37938
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
include/dfs_adaptation.h
include/dfs_adaptation_impl.h
packaging/dfs-adaptation.spec
src/dfs_adaptation_impl.cpp

index 4bdcd94..5187a88 100644 (file)
@@ -52,6 +52,18 @@ namespace DfsAdaptation
                 * @since_tizen 7.0
                 */
                virtual DfsOutputData& getOutputData() = 0;
+
+               /**
+                * @brief Gets left data.
+                * @since_tizen 7.0
+                */
+               virtual DfsData& getLeftData() = 0;
+
+               /**
+                * @brief Gets right data.
+                * @since_tizen 7.0
+                */
+               virtual DfsData& getRightData() = 0;
        };
 
        typedef void destroy_t(IDfsAdaptation *);
index 0d2404a..67b72b9 100644 (file)
@@ -39,6 +39,8 @@ namespace DfsAdaptation
                                                size_t minDisp, size_t maxDisp, std::string stereoConfigPath);
                void run(DfsInputData& data);
                DfsOutputData& getOutputData();
+               DfsData& getLeftData();
+               DfsData& getRightData();
        };
 
 } /* DfsAdaptation */
index 98532df..16e60e3 100644 (file)
@@ -1,6 +1,6 @@
 Name:        dfs-adaptation
 Summary:     Adaptation of depth-from-stereo
-Version:     1.0.8
+Version:     1.0.9
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0
index 30970b2..5e24f12 100644 (file)
@@ -149,4 +149,26 @@ namespace DfsAdaptation
 
                LOGI("LEAVE");
        }
+
+       DfsData& DfsAdaptor::getLeftData()
+       {
+               LOGI("ENTER");
+
+               CHECK_INSTANCE(mDfsAdaptorHandle);
+
+               return mDfsAdaptorHandle->getLeftData();
+
+               LOGI("LEAVE");
+       }
+
+       DfsData& DfsAdaptor::getRightData()
+       {
+               LOGI("ENTER");
+
+               CHECK_INSTANCE(mDfsAdaptorHandle);
+
+               return mDfsAdaptorHandle->getRightData();
+
+               LOGI("LEAVE");
+       }
 }