driver_configuration_table.h
Go to the documentation of this file.
1 /*
2  * BSD 3-Clause License
3  *
4  * Copyright (c) 2019, Analog Devices, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions are met:
9  *
10  * 1. Redistributions of source code must retain the above copyright notice, this
11  * list of conditions and the following disclaimer.
12  *
13  * 2. Redistributions in binary form must reproduce the above copyright notice,
14  * this list of conditions and the following disclaimer in the documentation
15  * and/or other materials provided with the distribution.
16  *
17  * 3. Neither the name of the copyright holder nor the names of its
18  * contributors may be used to endorse or promote products derived from
19  * this software without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifndef DRIVER_CONFIGURATION_TABLE
34 #define DRIVER_CONFIGURATION_TABLE
35 
38 #include <vector>
39 
40 #define MP_BASE_HEIGHT 1024
41 #define MP_BASE_WIDTH 1024
42 #define QMP_BASE_HEIGHT 512
43 #define QMP_BASE_WIDTH 512
44 #define VGA_BASE_HEIGHT 640
45 #define VGA_BASE_WIDTH 512
46 #define QVGA_BASE_HEIGHT 320
47 #define QVGA_BASE_WIDTH 256
48 
49 using namespace aditof;
50 
51 const std::vector<DriverConfiguration> m_adsd3500standard = {
52  /* imagerType mode depth ab conf pixelF dWidth dHeight pixFIndex
53  sr-native */
54  {"1024", "1024", "2", "16", "16", "0", "raw16", 2048, 3072, 0},
55  {"1024", "1024", "2", "12", "12", "0", "raw16_bits12_shift4", 1024, 3072,
56  1},
57  {"1024", "1024", "2", "12", "0", "0", "raw16_bits12_shift4", 1024, 1024, 1},
58  {"1024", "1024", "2", "12", "16", "0", "mipiRaw12_8", 2048, 2560, 0},
59  {"1024", "1024", "3", "16", "16", "0", "raw16", 2048, 3072, 0},
60  {"1024", "1024", "3", "12", "12", "0", "raw16_bits12_shift4", 1024, 4096,
61  1},
62  {"1024", "1024", "3", "12", "0", "0", "raw16_bits12_shift4", 1024, 1024, 1},
63  {"1024", "1024", "3", "12", "16", "0", "mipiRaw12_8", 2048, 3328, 0},
64  {"1024", "1024", "3", "16", "16", "0", "mipiRaw12_8", 1024, 4096, 0},
65  {"1024", "1024", "2", "16", "16", "0", "mipiRaw12_8", 1024, 4096, 0}};
66 
67 const std::vector<DepthSensorModeDetails> adsd3100_standardModes = {
68  {0,
69  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
70  2,
71  0,
72  0,
73  0,
74  1024,
75  1024,
76  128,
77  0,
79  {1,
80  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
81  3,
82  0,
83  0,
84  0,
85  1024,
86  1024,
87  128,
88  0,
90  {4,
91  {"ab", "metadata"},
92  1,
93  0,
94  0,
95  0,
96  1024,
97  1024,
98  128,
99  1,
101  {2,
102  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
103  2,
104  0,
105  0,
106  0,
107  512,
108  512,
109  128,
110  0,
112  {3,
113  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
114  3,
115  0,
116  0,
117  0,
118  512,
119  512,
120  128,
121  0,
123  {6,
124  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
125  2,
126  0,
127  0,
128  0,
129  512,
130  512,
131  128,
132  0,
134  {5,
135  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
136  3,
137  0,
138  0,
139  0,
140  512,
141  512,
142  128,
143  0,
145 
146 const std::vector<DepthSensorModeDetails> adsd3030_standardModes = {
147  {0,
148  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
149  2,
150  0,
151  0,
152  0,
153  512,
154  640,
155  128,
156  0,
158  {1,
159  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
160  3,
161  0,
162  0,
163  0,
164  512,
165  640,
166  128,
167  0,
169  {4,
170  {"ab", "metadata"},
171  1,
172  0,
173  0,
174  0,
175  512,
176  640,
177  128,
178  1,
180  {2,
181  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
182  2,
183  0,
184  0,
185  0,
186  256,
187  320,
188  128,
189  0,
191  {3,
192  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
193  3,
194  0,
195  0,
196  0,
197  256,
198  320,
199  128,
200  0,
202  {6,
203  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
204  2,
205  0,
206  0,
207  0,
208  256,
209  320,
210  128,
211  0,
213  {5,
214  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
215  3,
216  0,
217  0,
218  0,
219  256,
220  320,
221  128,
222  0,
224 
225 const std::vector<DepthSensorModeDetails> adtf3080_standardModes = {
226  {0,
227  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
228  2,
229  0,
230  0,
231  0,
232  512,
233  640,
234  128,
235  0,
237  {1,
238  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
239  3,
240  0,
241  0,
242  0,
243  512,
244  640,
245  128,
246  0,
248  {4,
249  {"ab", "metadata"},
250  1,
251  0,
252  0,
253  0,
254  512,
255  640,
256  128,
257  1,
259  {7,
260  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
261  2,
262  0,
263  0,
264  0,
265  512,
266  640,
267  128,
268  0,
270  {3,
271  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
272  3,
273  0,
274  0,
275  0,
276  256,
277  320,
278  128,
279  0,
281  {6,
282  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
283  2,
284  0,
285  0,
286  0,
287  256,
288  320,
289  128,
290  0,
292  {5,
293  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
294  3,
295  0,
296  0,
297  0,
298  256,
299  320,
300  128,
301  0,
303  {8,
304  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
305  2,
306  0,
307  0,
308  0,
309  256,
310  320,
311  128,
312  0,
314  {9,
315  {"raw", "depth", "ab", "conf", "xyz", "metadata"},
316  2,
317  0,
318  0,
319  0,
320  256,
321  320,
322  128,
323  0,
325 
326 #endif
adsd3030_standardModes
const std::vector< DepthSensorModeDetails > adsd3030_standardModes
Definition: driver_configuration_table.h:146
adtf3080_standardModes
const std::vector< DepthSensorModeDetails > adtf3080_standardModes
Definition: driver_configuration_table.h:225
aditof
Namespace aditof.
Definition: adsd_errs.h:40
adsd3100_standardModes
const std::vector< DepthSensorModeDetails > adsd3100_standardModes
Definition: driver_configuration_table.h:67
m_adsd3500standard
const std::vector< DriverConfiguration > m_adsd3500standard
Definition: driver_configuration_table.h:51
aditof::DriverConfiguration
Describes the configuration of the used driver.
Definition: sensor_definitions.h:67
sensor_definitions.h
depth_sensor_interface.h


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:50