iMX6Q Android 4.4.3 use ov3640 image Grid problem

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

iMX6Q Android 4.4.3 use ov3640 image Grid problem

955 次查看
caritzhu
Contributor III

I use the android 4.4.3 BSP from freescale official website, and I port the ov3640 driver from ov5640 driver. I use 640*480 15pts for preview but 2048*1536 30pts for capture. The android system can preview the image correct but capture image is not good, the image has Grid problem. How can I solve this problem or ov3640 is not suitable for android application?

标签 (2)
0 项奖励
回复
2 回复数

683 次查看
jimmychan
NXP TechSupport
NXP TechSupport

please check the logcat that the Android select the correct resolution mode in your ov3640 driver.

For your reference:

Porting ov5645 to android jb4.2.2

0 项奖励
回复

683 次查看
caritzhu
Contributor III

Thanks!

I have confirmed the selection is correct. I use 640*480 15pts for preview but 2048*1536 15pts(i have written wrong for this framerate in the answer). I check in the logcat and console print. The ov3640 has two work mode: one is QXGA mode for full pixel and 15 framerate, the other is XGA mode for 1048*768 and 30 framerate. I only use QXGA mode for preview and capture, in order to avoid mode switch. I just set the register of crop, zoom and output size for the resolution mode changement. Is this correct?

0 项奖励
回复