platform/core/multimedia/dfs-adaptation.git
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>