How to modify USBVideoClass example firmware to send PGM format images ? | Cypress Semiconductor
How to modify USBVideoClass example firmware to send PGM format images ?
I'm trying to use uvcinmem example firmware to send images in PGM format.
The current example contains MJPEG images in memory, I would like to register PGM images in memory. I've tried to modify "Class specific VS format descriptor" and "Class specific VS frame descriptor" to make the firmware compliant whit PGM format images, but in UVC 1.1 specifications it requires a field called "guidFormat". I don't know where to find this GUID value for PGM format...
Furthermore, I don't know how to write the images in PGM format in "glUVCVidFrames" structure.
Does anybody know how to modify this firmware example for transferring other image formats than MJPEG ?
Thanks in advance,