The AN75779 reference code doesn't convert the RAW data to YUY2 format not we do have any reference code to do the same.
But what can be done is:
- You can report the image format as YUY2 in the UVC format descriptors (even though the stream is of RAW format). By doing so, the UVC driver will not drop the data and your Host application can get the data.
And then, after you get this data in the Host application, you can process it and covert into displayable format.
Hope this is clear.
Thanks for your reply.
The conversion from raw data to YUY2 will cause too much compuatation, this is why it can't be implemented on FX3, right?
Alternatively, I can use other sensors which can support YUY2 output instead of simply raw ouput, this will make the processing on host unnecessary.
Yes you are correct.