IMX6Q capture linux driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6Q capture linux driver

ソリューションへジャンプ
1,797件の閲覧回数
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,402件の閲覧回数
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,403件の閲覧回数
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 件の賞賛
返信