UI layer has defined the interface similarly composite(src, dst), the UI layer will use it like that composite(fd1, fd),composite(fd2, fd)…composite(fdn, fd), fd1,2,3,4,5…n are the pictures. fd is the assemble of pictures.
I want to know if I can composite the picture by using NvBufferTransform. Here is my code. But I found that the fdn will cover the fd(n-1),though all the pictures positions are correct.
Hi,
You may try NvBufferComposite(). The function can be used to composite multiple NvBuffer in single function call. There is demo code in 13_multi_camera sample and please take a look.
That means input_buf_count is 2 at least?
Can I use NvTransform to composite the picture? Because NvBufferComposite just has 16 channel. But I have to more than 16 and one picture is so small.
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