[urgent]Regarding usage of hardware decoder(nvjpg, nvdec)


We have a program that draws the image data of the rgb color system.
In mmapi, there are nvdec for jpg images and nvdec for formats such as h264, but the internal structure is different, so it is difficult to wrap with one module. Is there any reference material in this situation?

Aside from
Why is the hardware decoder divided into two, nvjpg and nvdec?

Thank you.

We have implemented hardware functions into classes such as NvJpegDecoder, NvVideoDecoder. And the decoded frames are in hardware DMA buffer( NvBuffer ). You may use NvBuffer APIs to access the buffers and copy to your image data buffer.

1 Like