How to composite several picture by NvBufferTransform

Hi,
The NvBufferTransform() function is designed for scaling/cropping/conversion. The interface is one source buffer and one destination buffer. It is not able to set up multiple buffers. If you need to composite multiple buffers into single video plane, we would suggest call NvBufferComposite()

For optimal performance of NvBufferTransform()/NvBufferComposite(), please do

  1. Run hardware converter at maximum clock:
    Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL
  2. Create NvBufferSession for each NvBufferTransfrom()/NvBufferComposite() task