iCaptureSession->createOutputStreamSettings has two types
STREAM_TYPE_BUFFER and STREAM_TYPE_EGL
By EGL mode , we got a stream , then get EGLImage from the stream.
By BUFFER mode, we create some Native Buffer, then get the EGLImage from Native Buffer.
- What’s the difference between two modes? Do they have same latency?
- What is the type of the buffer created by NvBufferCreateEx ? It seem can be access by GPU, related by cudaMallocPitch. The buffer memory is device memory , Pinned host memory, or managed memory?
- The buffer name is “DMABuffer” in samples. Is it mean the buffer receive the CSI data by DMA mode? And the format is NV12 only?
Thank you for help!!