【01 DualCam Framework】

01 Logical Multi Camera

1.1 Overall

The android p version proposes the concepts of Logical sensor and Logical device. As shown in the figure below, a logical sensor can correspond to multiple physical sensors. Each Logical sensor corresponds to a v3.4 Logical Device. The Logical device is visible to the upper layer ap.

Under such a structure, AP has no difference in the operation of single and multi camera. In the multi camera scenario, the hal layer realizes the operation of multiple sensors through the conversion of the mapping relationship between logical and physical.

1

1.2 Config

The location of the dual camera multi cam LogicalSensor configuration is in camera_custom_stereo_setting.h. With the following configuration, the logical device of dualCam will only be added when searchSenor creates the deviceMap.

2

02 VsDOF Capture

2.1 VsDOF Capture Pipeline

Guess you like

Origin blog.csdn.net/Sugar_wolf/article/details/129948112