1<?xml version='1.0' encoding='utf-8'?> 2<!-- Copyright (C) 2021 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 device information --> 32 <camera> 33 <!-- camera device starts --> 34 <device id='/dev/video0' 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 <control name='AUTO_WHITE_BALANCE' min='0' max='1'/> 41 <control name='WHITE_BALANCE_TEMPERATURE' min='2000' max='7500'/> 42 <control name='SHARPNESS' min='0' max='255'/> 43 <control name='AUTO_FOCUS' min='0' max='1'/> 44 <control name='ABSOLUTE_FOCUS' min='0' max='255' step='5'/> 45 <control name='ABSOLUTE_ZOOM' min='100' max='400'/> 46 </supported_controls> 47 48 <!-- list of supported stream configurations --> 49 <!-- vivid webcam input support below three resolutions --> 50 <stream id='0' width='1280' height='720' format='RGBA_8888' framerate='5'/> 51 <stream id='1' width='640' height='360' format='RGBA_8888' framerate='15'/> 52 <stream id='2' width='360' height='180' format='RGBA_8888' framerate='30'/> 53 </caps> 54 55 <!-- list of parameters --> 56 <characteristics/> 57 </device> 58 </camera> 59 60 <!-- display device starts --> 61 <display> 62 <device id='display0' position='driver'> 63 <caps> 64 <!-- list of supported inpu stream configurations --> 65 <stream id='0' width='1280' height='720' format='RGBA_8888' framerate='30'/> 66 </caps> 67 </device> 68 </display> 69</configuration> 70