Add stereoConfigPath to get stereoConfig information for point cloud generation
[platform/core/multimedia/dfs-adaptation.git] / include / dfs_adaptation.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_H__
18 #define __DFS_ADAPTATION_H__
19
20 #include <map>
21 #include <vector>
22 #include <string>
23
24 #include "dfs_parameter.h"
25
26 namespace DfsAdaptation
27 {
28         class IDfsAdaptation
29         {
30         public:
31                 virtual ~IDfsAdaptation() {};
32
33                 /**
34                  * @brief Initialize dfs adaptor.
35                  * @since_tizen 7.0
36                  */
37                 virtual void Initialize(DfsParameter& param,
38                                                                 size_t width,
39                                                                 size_t height,
40                                                                 size_t minDisp,
41                                                                 size_t maxDisp,
42                                                                 std::string stereoConfigPath) = 0;
43
44                 /**
45                  * @brief Run dfs adaptor.
46                  * @since_tizen 7.0
47                  */
48                 virtual void Run(DfsData& base, DfsData& extra) = 0;
49
50                 /**
51                  * @brief Run dfs adaptor.
52                  * @since_tizen 7.0
53                  */
54                 virtual DfsData& GetDepthData() = 0;
55         };
56
57         typedef void destroy_t(IDfsAdaptation *);
58         typedef IDfsAdaptation *init_t(void);
59 } /* DfsAdaptation */
60
61 #endif /* __DFS_ADAPTATION_H__ */