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?
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?