cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

New Contributor II

Hi,

I have some doubts regarding CX3 metadata.

1. Is metadata send along with video data bytes ( first "x" bytes of the RAW8 video stream) ?

2. When searching i found metadata associated with a datatype 0x12. What is the significance of this datatype.If it is embedded along with video data why use a different dataype?

3. If metadata is present, how can i view the data in a Host PC. Can i use stock UVC viewer?

4. What changes are needed in CX3 code to handle metadata ?

Thanks in advance

Ajay

0 Likes
Reply
1 Solution
Moderator
Moderator

Ajay,

Yes, modify the vertical resolution.

The MIPI checks the datatype ID and strips the data payload. It does not consider which data it is.

Therefore, CX3 considers both image and non image data as same, and send to the host.

View solution in original post

0 Likes
Reply
4 Replies
Moderator
Moderator

Ajay,

1&2:

The data type ID 0x12  is given to Embedded 8-bit non Image Data by MIPI CSI-2 Spec.

As the name said, it is non image data. It can be at start of the frame and end of the frame.

The MIPI TX has a provision to send non image data along with video data. This is optional.

3&4. By default, the CX3 MIPI Receiver can receive this data and send it to the host. This cannot be changed.

So the host will receive non image data along with image data for every frame. You need remove it while display the image on the host side or you can set the MIPI Transmitter to not send this data.

You may refer the following threads https://community.cypress.com/message/169942#169942

Regards,

Sridhar

You answer that question na

0 Likes
Reply
New Contributor II

Hi Sridhar,

We have configured our sensor to send one extra line of metadata information. Considering this new scenario, should we modify the CX3 resolutions? (Suppose if we have a resolution of 640*480, should we modify the CX3 resolution to 640*481 in the CX3 configuration tool?)

Since the CX3 DMA does not differentiate between video data and non-video data internally, how does the CX3 send this two types of the data to the host?

Regards

Ajay

0 Likes
Reply
Moderator
Moderator

Ajay,

Yes, modify the vertical resolution.

The MIPI checks the datatype ID and strips the data payload. It does not consider which data it is.

Therefore, CX3 considers both image and non image data as same, and send to the host.

View solution in original post

0 Likes
Reply
New Contributor II

OK. So the metadata would be received along with the video data.

I'll process it accordingly from the Host side.

Thanks for the help.

Ajay

0 Likes
Reply