i.MX6 Android camera auto focus handler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6 Android camera auto focus handler

跳至解决方案
1,206 次查看
pierrelgcb
Contributor III

Good morning,

Working on i.MX6 Dual Lite with Android Nougat N7.1.1_1.0.0(kernel 4.1.15).

 

I integrated camera driver OV5640 with auto focus feature. Video and auto focus work well.

One trouble remains. On camera app, when I touch the screen to focus on a target point, a circle appears but auto focus doesn't start. Auto focus only works on app launch/wake up.

 

Problem comes from file : kernel_imx/drivers/media/platform/mxc/capture/ov5640_mipi.c (attached file)

function : ioctl_s_ctrl - V4L2 sensor interface handler for VIDIOC_S_CTRL ioctl

 

The function handler is never called. How can I register/link it to screen touch event ?

 

Best regards,

Pierre

Original Attachment has been moved to: ov5640_mipi.c.zip

标签 (3)
0 项奖励
1 解答
891 次查看
diegoadrian
NXP Employee
NXP Employee

Hello Pierre,

This problem is more related with OV5640 driver, and unfortunately, we cannot help you with this problem. In this case, I recommend you to go with Omnivision.

Technical Support | Support | OmniVision 

I apologize for the inconvenient.

Best Regards,

Diego.

在原帖中查看解决方案

0 项奖励
3 回复数
892 次查看
diegoadrian
NXP Employee
NXP Employee

Hello Pierre,

This problem is more related with OV5640 driver, and unfortunately, we cannot help you with this problem. In this case, I recommend you to go with Omnivision.

Technical Support | Support | OmniVision 

I apologize for the inconvenient.

Best Regards,

Diego.

0 项奖励
891 次查看
pierrelgcb
Contributor III

Hello Diego,

Thanks for the advice.

Best regards,

Pierre

0 项奖励
891 次查看
frank_zhang
NXP Employee
NXP Employee

Hi Pierre,

     For this case, maybe you can try to use our professional support Professional Support for Microcontrollers|NXP, Thank you!

Best Regards,

Frank

0 项奖励