I am using V4L2 to capture frames from the onboard camera (OV5693) that comes with the Jetson TX2. I want to store the frames using a DMA buffer. I’m trying to create the buffer using the NvBufferCreateEx() function from the multimedia api, which requires parameters including an NvBufferColorFormat.
From what I can tell, there is not an NvBufferColorFormat that matches the onboard camera’s pixel format (BG10). Is there an equivalent format that I can use? If not, will this prevent me from using NvBufferCreateEx()? Is this parameter even critical to the functionality?
Thanks