I have the following pipeline setup:
An argus camera, that writes frames into a video converter (to convert to RGB)
which uploads it’s output with NvEGLImageFromFd.
To save myself the conversion, i’ve converted my gl shader to take 3 planes (Y, U, and V) as an input, instead of a single RGB plane.
I’ve noticed that the YUV input to the converter is represented as only one DMABUF file descriptor (with planes 1 and 2 left empty). this seems contrary to the V4L API.
How can I get 3 DMABUFS to represent the 3 planes coming from the argus camera? Are All 3 planes represented in the file descriptor that’s returned from iNativeBuffer->createNvBuffer? if so, what are it’s dimentions/offsets?
Thank you very much.