【Android Camera】How to configure VFEs to support dual-camera

1.1 Problem description

In dual-camera use case, to make sure each camera can get a VFE, it needs1. Sensor output op_clk is configured lower

than VFE turbo clock by customer.2. Sensor output width and height are lower than ISP max width and max height.

1.2 ISP allocation workflow

Reference code locates in

vendor\qcom\proprietary\mm-camera\mm-camera2\mediacontroller\modules\isp2\module

and workflow of function: isp_resource_reserve_isp()is as follow.

1.3 Configure ISP Clock setting to support dual-cam

By default, Sensor will be allocated 2 VFEs if sensor op_clk is higher than ISP normal clk to

avoid turbo VFE clk and save power. If thw first sensor get two ISPs, and the second sensor will

get none.

Refer to the workflow of ISP allocation flow, following command will allow VFE run at turbo

clk and try to use just one VFE as possible:

adb root

adb shell setprop persist.camera.isp.dualisp 0

adb shell setprop persist.camera.isp.turbo 1

adb reboot

adb wait-for-devices

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值