Does nvidia dwa buffer share the same hw memory with CUDA device memory?

,

I want to using nvv4l2h265enc to encode the video. I am currently using CUDA inside the Gstreamer plugin in order to accelerate the process. However, I need to copy the memory from host to device and after device process copy it back to host. Then I need to use nvvidconv plugin to convert gstreamer buffer into nvvidia dwa buffer. Finally, I can feed the data into nvv4l2h265enc plugin.
I am wondering does CUDA divice memory and nvidia dwa buffer share the same memory address? If so, I do not need to copy over and over again. I can import CUDA device memory into nvv4l2h265enc plugin directly?

Thank you very much.

Hi,

Just want to confirm first.
Do you mean the DMA buffer?

Thanks.

Yes, sorry for the typo. It’s DMA buffer.

Hi,

Sorry for the late update.
Could you try if the following example can meet your requirement?

/usr/src/jetson_multimedia_api/samples/03_video_cuda_enc

Thanks.

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