Multimedia api encoder unit sample DMA MAPPED VS MMAPED buffers

In multimediaapi samples there is encoder unit sample - example how to use encoder using v4l2 api.
The example using MMAP buffer and thete is option to use DMA MAPPED
Can you explain to me what the diffrence between them?

Hi,
The two options are the same. The two run like:

  1. Allocate NvBufSurface in libtegrav42 → map the buffer
  2. Allocate NvBufSurface in application → map the buffer

So the difference is allocating NvBufSurface in prebuilt lib(not open source) or in application layer.

If you use Orin Nano, please note it does not have hardware encoder. Please use software encoder.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.