platform/core/multimedia/dfs-adaptation.git
4 months agoFix build break on gcc13 39/302939/1 accepted/tizen_unified accepted/tizen_unified_riscv tizen accepted/tizen/unified/20231219.041310 accepted/tizen/unified/riscv/20231219.070854
Tae-Young Chung [Tue, 20 Jun 2023 01:11:40 +0000 (10:11 +0900)]
Fix build break on gcc13

[Version] 1.0.10-1
[Issue type] update

Add #include <stdexcept> to fix build break
```
error: 'invalid_argument' is not a member of 'std'
[   14s]    35 |                 throw std::invalid_argument("handle is null"); \
```

Change-Id: I7d57424f341f08cd7ede7f86008467ff70557aa7
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
16 months agoAdd new DFS_DATA_INPUT_FORMAT_COUPLED_TB 23/285723/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093412 accepted/tizen/unified/20230113.091218 tizen_8.0_m2_release
Tae-Young Chung [Mon, 19 Dec 2022 04:53:48 +0000 (13:53 +0900)]
Add new DFS_DATA_INPUT_FORMAT_COUPLED_TB

[Version] 1.0.10-0
[Issue type] new feature

Left and right images are concatenated as top-and-bottom format,
Left in top and right in bottom.

Change-Id: I89a2e7ea04cd26857ba6e401dac7c8befa87353c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
19 months agoAdd 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
Tae-Young Chung [Thu, 22 Sep 2022 04:19:04 +0000 (13:19 +0900)]
Add getLeftData() and getRigthData()

[Version] 1.0.9-0
[Issue type] update

Change-Id: I65f243efc301cfff7ac7045f1a892507dde37938
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
20 months agoChange inputFormat in DfsInputData structure to format, and rename getDepthData(... 30/279930/1 accepted/tizen/unified/20220825.063544 submit/tizen/20220825.000317
Tae-Young Chung [Fri, 19 Aug 2022 06:14:09 +0000 (15:14 +0900)]
Change inputFormat in DfsInputData structure to format, and rename getDepthData() to getOutputData()

[Version] 1.0.8-0
[Issue type] update

DfsInputData means its members relate to Dfs's input data. So member
variable format is enough.
getDepthData()'s return type is DfsOutputData(). So, getOutputData()
is enough to indicates that is is api to get Dfs's output data.

Change-Id: Ia2e1bcc8be46182fc57ab1e0115b34f33f1d2222
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
20 months agoRename member function 19/279919/1
Tae-Young Chung [Fri, 19 Aug 2022 05:37:15 +0000 (14:37 +0900)]
Rename member function

[Version] 1.0.7-0
[Issue type] update

https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide
[M05] The name should start with lowercase letters, Camel notation. Keep the style 'verb' + 'noun‘.
 Member functions
o It should starts with a lowercase letter and have a uppercase letter for each new word. No underscores

Change-Id: I3d9d4faac7893e487ab05d225280a76a896b0d37
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
20 months agoUse DfsInputData and DfsOutputData instead of DfsData and 76/279576/3
Tae-Young Chung [Fri, 12 Aug 2022 01:08:05 +0000 (10:08 +0900)]
Use DfsInputData and DfsOutputData instead of DfsData and
Define new DFS_DATA_INPUT_FORMAT enumeration

[Version] 1.0.6-0
[Issue type] update

DfsData is separated to DfsInputData and DfsOutputData
which inherit from DfsData.
DfsInputData can have an additional
data pointer for separated left and right stereo images.
DfsOutputData can have additional information for PointCloud data.

Newly defined enumeration is for coupled or decoupled side-by-side
stereo images.
coupled: one image includes left and right.
decoupled: two images are for left and right, respectively.

Change-Id: I063235cd4c272b5f68979673cdfd54904c0be9dd
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
22 months agoFix uninitialized scalar and pointer field in constructors 29/277229/1 tizen_devel accepted/tizen/unified/20220705.211048 submit/tizen/20220704.092747
Tae-Young Chung [Mon, 4 Jul 2022 04:20:55 +0000 (13:20 +0900)]
Fix uninitialized scalar and pointer field in constructors

[Version] 1.0.5-0
[Issue type] bug fix

Change-Id: Icc76c2309cbeda584c4b41f8b2fac4897d8ecef0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
22 months agoUpdate version to 1.0.4 04/277004/1 accepted/tizen/unified/20220701.055248 submit/tizen/20220701.002357
Tae-Young Chung [Wed, 29 Jun 2022 04:53:29 +0000 (13:53 +0900)]
Update version to 1.0.4

[Version] 1.0.4-0
[Issue type] version up

Change-Id: Icec2d210695c4f71cc86153b5c7a8106e82939ec
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
22 months agoMerge remote-tracking branch 'upstream/sandbox/mv3d' into tizen_devel
Tae-Young Chung [Wed, 29 Jun 2022 01:48:07 +0000 (10:48 +0900)]
Merge remote-tracking branch 'upstream/sandbox/mv3d' into tizen_devel

22 months agoInitial empty repository master
Tizen Infrastructure [Mon, 27 Jun 2022 09:06:04 +0000 (09:06 +0000)]
Initial empty repository

22 months agoAdd DFS_DATA_TYPE_UINT16C1 to support unsigned 16bit depth
Tae-Young Chung [Thu, 16 Jun 2022 04:37:40 +0000 (13:37 +0900)]
Add DFS_DATA_TYPE_UINT16C1 to support unsigned 16bit depth

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoAdd stereoConfigPath to get stereoConfig information for point cloud generation
Tae-Young Chung [Fri, 21 Jan 2022 07:53:22 +0000 (16:53 +0900)]
Add stereoConfigPath to get stereoConfig information for point cloud generation

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoAdd DFS_DATA_TYPE_FLOAT32C1 to support float type data
Tae-Young Chung [Wed, 22 Dec 2021 01:08:05 +0000 (10:08 +0900)]
Add DFS_DATA_TYPE_FLOAT32C1 to support float type data

[Version] 1.0.1
[Issue type] Update

Output of dfs can be type of float as well as uint8.
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoRelease 1.0.0 (#1)
정태영/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 [Fri, 3 Dec 2021 04:50:50 +0000 (13:50 +0900)]
Release 1.0.0 (#1)

* Add Bind()/Unbind() which binds and unbinds dfs-opencv

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Add Initialize()

Initialize() initialize an adaptor with parameters.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Add DepthParameter structure

DepthParameter provides essential parameters for dfs.
All plugins should provide the parameters as default.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* add Run() and GetDepthData()

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Change to bind adaptor which is defined at ini file path

Whenever run mv_depth_* apis dfs-adaptation loads backend_path.ini
and then tries to bind the adaptor defined in it.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* add error handling if Initialize() fails

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Add width and height parameters to Initialized()'s input parameters

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Add parameters of minimun and maximum disparities to Initialize()

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Change enumeration and add new type

To support various types, change the enumeration
from DFS_DATA_TYPE_UINT8 to DFS_DATA_TYPE_UINT8C1
which indicates unsinged integer 8 bits with 1 channel.
Add DFS_DATA_TYPE_UINT8C3.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Fix erratum

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Release 1.0.0

[Version]: 1.0.0
[Issue type]: new feature

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
* Check return of dlsym and clear old error conditions

dlsym can return NULL but not error. So code to check return of dlsym
is added. dlerror() can clear old error conditions. So call dlerror() before
dlsym() and call dlerror() again to get errors.
In addition, remove unnecessary try-catch in DfsAdaptor::Initialize() method.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoChange class name DfsAdaptation to DfsAdaptor
Tae-Young Chung [Tue, 5 Oct 2021 05:14:13 +0000 (14:14 +0900)]
Change class name DfsAdaptation to DfsAdaptor

Class name can't be identical to spacename.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoAdd dfs-adaptation and its implementation class
Tae-Young Chung [Tue, 5 Oct 2021 01:54:00 +0000 (10:54 +0900)]
Add dfs-adaptation and its implementation class

This commit is to provide dummy library which is just for
checking building as a test.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoInitial commit
Tae-Young Chung [Wed, 29 Sep 2021 01:58:29 +0000 (10:58 +0900)]
Initial commit

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>