ในระบบมุมมองภายนอก (EVS) 1.1 รองรับอุปกรณ์กล้องแบบลอจิคัลที่ประกอบด้วยอุปกรณ์กล้องกายภาพหลายตัว หากต้องการใช้อุปกรณ์เสมือนนี้ การใช้งานอุปกรณ์ต้องรองรับ Synchronization Framework
แจกแจง เปิด และปิดอุปกรณ์กล้องแบบลอจิคัล
แอปสามารถใช้วิธี IEvsEnumerator
เดียวกันเพื่อใช้อุปกรณ์กล้องลอจิคัลที่มีอยู่ ออบเจ็กต์ EvsCamera
ที่ส่งคืน ซึ่งแสดงถึงอุปกรณ์กล้องแบบลอจิคัล ต้องมีรายการต่อไปนี้ในข้อมูลเมตา:
-
ANDROID_REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA
หากวัตถุ EvsCamera ที่ส่งคืนแสดงถึงกล้องแบบลอจิคัล ข้อมูลเมตาของกล้องจะต้องมีคีย์ความสามารถนี้ในฟิลด์ANDROID_REQUEST_AVAILABLE_CAPABILITIES
- ช่อง
ANDROID_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS
แสดงรายการตัวระบุอุปกรณ์กล้องจริง - ช่อง
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE
สามารถมีค่า enum ด้านล่างรายการใดรายการหนึ่งได้:-
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE
ใช้สำหรับเซ็นเซอร์ในโหมดมาสเตอร์-มาสเตอร์ โดยไม่มีการซิงค์ชัตเตอร์/ค่าแสงด้วยฮาร์ดแวร์ -
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED
ใช้สำหรับเซ็นเซอร์ในโหมดมาสเตอร์-สเลฟ การซิงค์ชัตเตอร์/ค่าแสงด้วยฮาร์ดแวร์ กล้อง GMSL2 ที่ซิงโครไนซ์จะต้องมีค่านี้
-
แอปสามารถดึงคำอธิบายของอุปกรณ์กล้องจริงผ่าน IEvsCamera
ในเมธอด getPhysicalCameraInfo(stringcameraId)
ใหม่
/** * Returns the description of the physical camera device that backs this * logical camera. * * If a requested device does not either exist or back this logical device, * this method returns a null camera descriptor. And, if this is called on * a physical camera device, this method is the same as getCameraInfo_1_1() * method if a given device ID is matched. Otherwise, this returns a * null camera descriptor. * * @param deviceId Physical camera device identifier string. * @return info The description of a member physical camera device. * This must be the same value as reported by * EvsEnumerator::getCameraList_1_1(). */ getPhysicalCameraInfo(string deviceId) generates (CameraDesc info);
กำหนดค่าการรองรับกล้องหลายตัว
กล้องลอจิคัลทั้งหมดจำเป็นต้องถูกกำหนดแบบคงที่ และต้องระบุผ่านการใช้งานตัวจัดการการกำหนดค่า เนื่องจาก EVS อนุญาตให้อุปกรณ์แต่ละเครื่องในกลุ่มกำหนดค่าได้แตกต่างกัน EVS จึงจัดเตรียมรายการอุปกรณ์สมาชิกและระบุว่าการจับภาพซิงโครไนซ์หรือไม่
<!-- camera group 0 --> <group id='group0' synchronized='CALIBRATED'> <caps> <!-- list of supported controls supported by all physical devices --> <supported_controls> <control name='BRIGHTNESS' min='0' max='255'/> <control name='CONTRAST' min='0' max='255'/> </supported_controls> <!-- list of stream configuration supported by all physical devices --> <stream id='0' width='640' height='480' format='RGBA_8888' framerate='30'/> </caps> <!-- list of parameters --> <characteristics> <parameter name='REQUEST_AVAILABLE_CAPABILITIES' type='enum' size='1' value='LOGICAL_MULTI_CAMERA' /> <parameter name='LOGICAL_MULTI_CAMERA_PHYSICAL_IDS' type='byte[]' size='2' value='/dev/video3,/dev/video4' /> </characteristics> </group>,
ในระบบมุมมองภายนอก (EVS) 1.1 รองรับอุปกรณ์กล้องแบบลอจิคัลที่ประกอบด้วยอุปกรณ์กล้องกายภาพหลายตัว หากต้องการใช้อุปกรณ์เสมือนนี้ การใช้งานอุปกรณ์ต้องรองรับ Synchronization Framework
แจกแจง เปิด และปิดอุปกรณ์กล้องแบบลอจิคัล
แอปสามารถใช้วิธี IEvsEnumerator
เดียวกันเพื่อใช้อุปกรณ์กล้องลอจิคัลที่มีอยู่ ออบเจ็กต์ EvsCamera
ที่ส่งคืน ซึ่งแสดงถึงอุปกรณ์กล้องแบบลอจิคัล ต้องมีรายการต่อไปนี้ในข้อมูลเมตา:
-
ANDROID_REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA
หากวัตถุ EvsCamera ที่ส่งคืนแสดงถึงกล้องแบบลอจิคัล ข้อมูลเมตาของกล้องจะต้องมีคีย์ความสามารถนี้ในฟิลด์ANDROID_REQUEST_AVAILABLE_CAPABILITIES
- ช่อง
ANDROID_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS
แสดงรายการตัวระบุอุปกรณ์กล้องจริง - ช่อง
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE
สามารถมีค่า enum ด้านล่างรายการใดรายการหนึ่งได้:-
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE
ใช้สำหรับเซ็นเซอร์ในโหมดมาสเตอร์-มาสเตอร์ โดยไม่มีการซิงค์ชัตเตอร์/ค่าแสงด้วยฮาร์ดแวร์ -
ANDROID_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED
ใช้สำหรับเซ็นเซอร์ในโหมดมาสเตอร์-สเลฟ การซิงค์ชัตเตอร์/ค่าแสงด้วยฮาร์ดแวร์ กล้อง GMSL2 ที่ซิงโครไนซ์จะต้องมีค่านี้
-
แอปสามารถดึงคำอธิบายของอุปกรณ์กล้องจริงผ่าน IEvsCamera
ในเมธอด getPhysicalCameraInfo(stringcameraId)
ใหม่
/** * Returns the description of the physical camera device that backs this * logical camera. * * If a requested device does not either exist or back this logical device, * this method returns a null camera descriptor. And, if this is called on * a physical camera device, this method is the same as getCameraInfo_1_1() * method if a given device ID is matched. Otherwise, this returns a * null camera descriptor. * * @param deviceId Physical camera device identifier string. * @return info The description of a member physical camera device. * This must be the same value as reported by * EvsEnumerator::getCameraList_1_1(). */ getPhysicalCameraInfo(string deviceId) generates (CameraDesc info);
กำหนดค่าการรองรับกล้องหลายตัว
กล้องลอจิคัลทั้งหมดจำเป็นต้องถูกกำหนดแบบคงที่ และต้องระบุผ่านการใช้งานตัวจัดการการกำหนดค่า เนื่องจาก EVS อนุญาตให้อุปกรณ์แต่ละเครื่องในกลุ่มกำหนดค่าได้แตกต่างกัน EVS จึงจัดเตรียมรายการอุปกรณ์สมาชิกและระบุว่าการจับภาพซิงโครไนซ์หรือไม่
<!-- camera group 0 --> <group id='group0' synchronized='CALIBRATED'> <caps> <!-- list of supported controls supported by all physical devices --> <supported_controls> <control name='BRIGHTNESS' min='0' max='255'/> <control name='CONTRAST' min='0' max='255'/> </supported_controls> <!-- list of stream configuration supported by all physical devices --> <stream id='0' width='640' height='480' format='RGBA_8888' framerate='30'/> </caps> <!-- list of parameters --> <characteristics> <parameter name='REQUEST_AVAILABLE_CAPABILITIES' type='enum' size='1' value='LOGICAL_MULTI_CAMERA' /> <parameter name='LOGICAL_MULTI_CAMERA_PHYSICAL_IDS' type='byte[]' size='2' value='/dev/video3,/dev/video4' /> </characteristics> </group>