Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
Target Operating System
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
SDK Manager Version
Host Machine Version
native Ubuntu 18.04
When using the NvMedia SIPL API, inside the callback function implemented by my app and registered with SIPL, I’m feeding the buffer into a queue and adding a ref count via
In another consumer thread, I’m popping from this queue and using the GetImage() API to feed the image pointer obtained from the buffer to an encoder.
My question is, what is the correct instance to release the buffer? Is it right after feeding the NvMediaImage* to the encoder, or do I need to wait for the encoder to be done to release the buffer?