1<?xml version='1.0' encoding='utf-8'?>
2<!-- Copyright (C) 2019 The Android Open Source Project
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     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15
16<!-- Exterior View System Example Configuration
17
18     Android Automotive axes are used to define coordinates.
19     See https://source.android.com/devices/sensors/sensor-types#auto_axes
20
21     Use evs_configuration.dtd with xmllint tool, to validate XML configuration file
22-->
23
24<configuration>
25    <!-- system configuration -->
26    <system>
27        <!-- number of cameras available to EVS -->
28        <num_cameras value='1'/>
29    </system>
30
31    <!-- camera information -->
32    <camera>
33        <!-- camera device starts -->
34        <device id='/dev/video10' position='rear'>
35            <caps>
36                <!-- list of supported controls -->
37                <supported_controls>
38                    <control name='BRIGHTNESS' min='0' max='255'/>
39                    <control name='CONTRAST' min='0' max='255'/>
40                </supported_controls>
41
42                <stream id='0' width='640'  height='360'  format='RGBA_8888' framerate='30'/>
43            </caps>
44
45            <!-- list of parameters -->
46            <characteristics>
47                <!-- Camera intrinsic calibration matrix. See
48                     https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics.html#LENS_INTRINSIC_CALIBRATION
49                -->
50                <parameter
51                    name='LENS_INTRINSIC_CALIBRATION'
52                    type='float'
53                    size='5'
54                    value='0.0,0.0,0.0,0.0,0.0'
55                />
56            </characteristics>
57        </device>
58        <device id='/dev/video11' position='front'>
59            <caps>
60                <!-- list of supported controls -->
61                <supported_controls>
62                    <control name='BRIGHTNESS' min='0' max='255'/>
63                    <control name='CONTRAST' min='0' max='255'/>
64                </supported_controls>
65
66                <stream id='0' width='640'  height='360'  format='RGBA_8888' framerate='30'/>
67            </caps>
68
69            <!-- list of parameters -->
70            <characteristics>
71                <!-- Camera intrinsic calibration matrix. See
72                     https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics.html#LENS_INTRINSIC_CALIBRATION
73                -->
74                <parameter
75                    name='LENS_INTRINSIC_CALIBRATION'
76                    type='float'
77                    size='5'
78                    value='0.0,0.0,0.0,0.0,0.0'
79                />
80            </characteristics>
81        </device>
82    </camera>
83    <display>
84        <device id='display0' position='driver'>
85            <caps>
86                <!-- list of supported inpu stream configurations -->
87                <stream id='0' width='1280' height='720' format='RGBA_8888' framerate='30'/>
88            </caps>
89        </device>
90    </display>
91</configuration>
92
93