How to set CSI0 register value for change image size?

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

How to set CSI0 register value for change image size?

跳至解决方案
2,571 次查看
hanseunglee
Contributor III

My configure below.
Linux kernel 3.0.35

OS Ubuntu 12.04

I.mx6dl Board

------------------------------------------------------------------------------------------

Hi everyone.

In my case, not use camera. just use csi0 driver(mxc_v4l2_capture) and ov5640 camera driver and app.

ov5640 driver set image is below

ov5640_mode_VGA_640_480
ov5640_mode_QVGA_320_240
ov5640_mode_NTSC_720_480
ov5640_mode_PAL_720_576
ov5640_mode_720P_1280_720
ov5640_mode_1080P_1920_1080
ov5640_mode_QSXGA_2592_1944
ov5640_mode_QCIF_176_144
ov5640_mode_XGA_1024_768

If i want to add size 6144 X 3072 , how to change code?

According to the manual(IMX6SDLRM : 2818p, 2877p ) that can

change elements (sensor frame width (height)and active frame width(height) and clock(F=FH*FW*FPS*BI*DF) )

I don't know. what files are check .I already check like that  mxc_v4l2_capture.c(in kernel) , ov5640.c(in kernel), ,ipu_capture.c ,ipu_regs.h(in linux/ipu3) ..

How to check and modify correct files?

标签 (3)
0 项奖励
回复
1 解答
2,382 次查看
art
NXP Employee
NXP Employee

Please refer to the Chapter 7 of the attached document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,382 次查看
art
NXP Employee
NXP Employee

The document is attached to my previous post. I'm attaching it once again. Also, this i.MX6Solo/DualLite BSP Porting Guide document can be found as the part of the L3.0.35 BSP Documentation package, available for download on the NXP web site:

https://www.nxp.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Su...

Best Regards,

Artur

0 项奖励
回复
2,383 次查看
art
NXP Employee
NXP Employee

Please refer to the Chapter 7 of the attached document.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,382 次查看
hanseunglee
Contributor III

Hi Artur.

Thank you for your reply.

By the way, where is the attached document?

Have a nice day~!

0 项奖励
回复