Converting Raw10 to YUV2 for CX3

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
sherrydodo
Level 1
Level 1
5 replies posted 5 sign-ins First reply posted

Hello guys!

I would like to ask a question about the conversion for image format from RAW10 to YUV2. The CX3 MIPI configuration for my project is that the sensor format is using RAW10 as input and the output format is 16bit (YUV2) in EZ-USB.

I do not know how to convert image format in Windows system. The system is reading the RAW format image as YUV2. Currently, I am trying to use OpenCV to make the image format conversion, but I have met some difficulties. Would anyone mind providing the demo code or any suggestions for me?

Best regards,

Sherry

0 Likes
1 Solution

Hello,

Please let me know if you have created a CX3 project for streaming RAW10 output from an image sensor. Also, please let me know if you have referred to the following KBA which describes the changes that needs to be done on a project for streaming RAW10 data output from an image sensor using CX3:
https://community.cypress.com/t5/Knowledge-Base-Articles/Streaming-RAW10-Format-Input-Data-to-16-24-...

The KBA mentioned above gives detailed description on the steps that are to be followed to stream the video data from the image sensor to the host. CX3 can be configured to pack or pad the incoming data from the image sensor. For retrieving the original video stream, you need to develop a custom host application.

Unfortunately, we do not have a host application project to share for your reference. Kindly refer to the source code of any existing UVC host applications. You can use it as a reference for designing your own host application.

Best Regards,
Jayakrishna

View solution in original post

0 Likes
5 Replies