Decoding metadata from a CSI2 video stream on imx6

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

Decoding metadata from a CSI2 video stream on imx6

跳至解决方案
1,741 次查看
ofer_livny
Contributor III

Hi

I am  currently using an iMX6Q processor with a MIPI-CSI2 camera sensor for streaming high resolution YUV422 video.

I'm using freescale's linux 3.0.35 LTIB BSP.

My CSI2 camera sensor is able to send a status line of the frame parameters along with the csi2 data stream.

According to its documentation, each line of the image has its datatype indicated in the beginning of the line - YUV422 for all the lines but the last one, and GENERIC for the last one, which holds the meta data.

In case it matters, the IPU is currently configured to convert the YUV422 into YUV420 in the IDMAC.

How does the CSI-IPU handle such data?  Does the IDMAC discriminate between the two datatypes? Is it considered as the same stream/channel? or a different one?

And most important - is this method supported in the existing linux MIPI CSI / IPU / V4L drivers ?

Thanks,

Ofer

标签 (4)
标记 (6)
0 项奖励
1 解答
833 次查看
rogerio_silva
NXP Employee
NXP Employee

Hi ofer.livny,


     i.MX CSI will not receive mixed signal (YUV + metadata) and be able to discriminate and handle the YUV data. In order to receive this kind of data, you'll have to set i.MX CSI to receive generic data and store it on memory. After YUV correctly be stored on memory, you can use IPU/VPU to make some post processing operation on it.

     You will not take advantage of some on-the-fly operations that CSI/IPU can do. You will have to make it in software.


Rgds

Rogerio

在原帖中查看解决方案

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

Hi ofer.livny,


     i.MX CSI will not receive mixed signal (YUV + metadata) and be able to discriminate and handle the YUV data. In order to receive this kind of data, you'll have to set i.MX CSI to receive generic data and store it on memory. After YUV correctly be stored on memory, you can use IPU/VPU to make some post processing operation on it.

     You will not take advantage of some on-the-fly operations that CSI/IPU can do. You will have to make it in software.


Rgds

Rogerio

0 项奖励