Add stereoConfigPath to get stereoConfig information for point cloud generation
[platform/core/multimedia/dfs-adaptation.git] / include / dfs_adaptation_impl.h
1 /**
2  * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __DFS_ADAPTATION_IMPL_H__
18 #define __DFS_ADAPTATION_IMPL_H_
19
20 #include "dfs_adaptation.h"
21 #include "dfs_parameter.h"
22
23 namespace DfsAdaptation
24 {
25         class DfsAdaptor
26         {
27         private:
28                 void *mDfsAdaptor;
29                 IDfsAdaptation *mDfsAdaptorHandle;
30
31         public:
32                 DfsAdaptor();
33                 ~DfsAdaptor();
34
35                 void Bind();
36                 void Unbind();
37
38                 void Initialize(DfsParameter& param, size_t width, size_t height,
39                                                 size_t minDisp, size_t maxDisp, std::string stereoConfigPath);
40                 void Run(DfsData& base, DfsData& extra);
41                 DfsData& GetDepthData();
42         };
43
44 } /* DfsAdaptation */
45
46 #endif /* __DFS_ADAPTATION_IMPL_H_ */