IMX6Q capture linux driver

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

IMX6Q capture linux driver

跳至解决方案
2,040 次查看
Selea
Senior Contributor I

DEars,

I have a question to better understand and use the video capture part of the imx6Q.

I can see in driver /media/video/imx/capture that i have ov5642.c driver (it configure I"c interface to the sensor, init register, etc etc... if mipi set up also the mipi interface).

then I have several layers (CIS, IPU , etc) the the last one I suppose is the V4l_imX)_capture

First question is:

1) is there any schematic block to better understand the relationship between them?)

2) all of that layer has their own ioctls... how i can specify wich one i want to use. (i.e the mirror or rotate can be done by IPU or by sensor itself.... how i can say from V4L2 to use that ioctl or that other....)?

Thanks

Omar Pighi

0 项奖励
回复
1 解答
1,645 次查看
rogerio_silva
NXP Employee
NXP Employee

Hi Omar,

1 - For documentation about relationship between ipu linux drivers, you can check the document "Lnux_6DQ_RM_L3.0.35_1.1.0.pdf" chapter 5.2 - Software Operation, pages 49 and 50. You can find this document inside L3.0.35_1.1.0_LINUXDOCS_BUNDLE package.

2 - If you use V4L2 driver, it will handle the ipu functions (e.g. rotaion, resize and etc) as needed. To know or change the way V4L2 works, you need to check/change its source code : linux/driver/media/video/mxc/output/mxc_vout.c.

Rgds

Rogerio

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,646 次查看
rogerio_silva
NXP Employee
NXP Employee

Hi Omar,

1 - For documentation about relationship between ipu linux drivers, you can check the document "Lnux_6DQ_RM_L3.0.35_1.1.0.pdf" chapter 5.2 - Software Operation, pages 49 and 50. You can find this document inside L3.0.35_1.1.0_LINUXDOCS_BUNDLE package.

2 - If you use V4L2 driver, it will handle the ipu functions (e.g. rotaion, resize and etc) as needed. To know or change the way V4L2 works, you need to check/change its source code : linux/driver/media/video/mxc/output/mxc_vout.c.

Rgds

Rogerio

0 项奖励
回复