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 group starts -->
34        <group id='group1' synchronized='APPROXIMATE'>
35            <caps>
36                <stream id='0' width='640'  height='360'  format='RGBA_8888' framerate='30'/>
37            </caps>
38
39            <!-- list of parameters -->
40            <characteristics>
41                <parameter
42                    name='REQUEST_AVAILABLE_CAPABILITIES'
43                    type='enum'
44                    size='1'
45                    value='LOGICAL_MULTI_CAMERA'
46                />
47                <parameter
48                    name='LOGICAL_MULTI_CAMERA_PHYSICAL_IDS'
49                    type='byte[]'
50                    size='1'
51                    value='/dev/video1'
52                />
53            </characteristics>
54        </group>
55
56        <!-- camera device starts -->
57        <device id='/dev/video1' position='rear'>
58            <caps>
59                <!-- list of supported controls -->
60                <supported_controls>
61                    <control name='BRIGHTNESS' min='0' max='255'/>
62                    <control name='CONTRAST' min='0' max='255'/>
63                </supported_controls>
64
65                <stream id='0' width='640'  height='360'  format='RGBA_8888' framerate='30'/>
66            </caps>
67
68            <!-- list of parameters -->
69            <characteristics>
70                <!-- Camera intrinsic calibration matrix. See
71                     https://developer.android.com/reference/android/hardware/camera2/CameraCharacteristics.html#LENS_INTRINSIC_CALIBRATION
72                -->
73                <parameter
74                    name='LENS_INTRINSIC_CALIBRATION'
75                    type='float'
76                    size='5'
77                    value='0.0,0.0,0.0,0.0,0.0'
78                />
79            </characteristics>
80        </device>
81    </camera>
82    <display>
83        <device id='display0' position='driver'>
84            <caps>
85                <!-- list of supported inpu stream configurations -->
86                <stream id='0' width='1280' height='720' format='RGBA_8888' framerate='30'/>
87            </caps>
88        </device>
89    </display>
90</configuration>
91
92