From: Tae-Young Chung Date: Thu, 7 Oct 2021 09:18:14 +0000 (+0900) Subject: Fix errata and add LOG to check enter/leave api X-Git-Tag: submit/tizen/20220701.002357~1^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fabae32c99fd31c9b0a868691f0ae75ace4fefab;p=platform%2Fcore%2Fmultimedia%2Fdfs-opencv.git Fix errata and add LOG to check enter/leave api Signed-off-by: Tae-Young Chung --- diff --git a/src/dfs_opencv.cpp b/src/dfs_opencv.cpp index 9289c79..bea2a84 100644 --- a/src/dfs_opencv.cpp +++ b/src/dfs_opencv.cpp @@ -47,6 +47,8 @@ namespace DfsAdaptationImpl size_t aggregationWindowHeight, size_t maxSpeckleSize) { + LOGI("ENTER"); + mTextureThreshold = textureThreshold; mAggregationWindowWidth = aggregationWindowWidth; mAggregationWindowHeight = aggregationWindowHeight; @@ -55,18 +57,22 @@ namespace DfsAdaptationImpl mDfsOcv = cv::StereoSGBM::create(1, mNumDisparities, mBlockSize); this->SetParameters(); + LOGI("LEAVE"); } void DfsOCV::SetParameters() { - mDfsOcv->setMinDisaprity(mMinDisparity); - mDfsOcv->setNumDisaprities(mNumDisparities); + LOGI("ENTER"); + + mDfsOcv->setMinDisparity(mMinDisparity); + mDfsOcv->setNumDisparities(mNumDisparities); mDfsOcv->setBlockSize(mBlockSize); mDfsOcv->setP1(mP1 * mBlockSize * mBlockSize); mDfsOcv->setP2(mP2 * mBlockSize * mBlockSize); mDfsOcv->setPreFilterCap(mPreFilterCap); mDfsOcv->setMode(cv::StereoSGBM::MODE_SGBM_3WAY); + LOGI("LEAVE"); } extern "C"