I am developing a program that uses decoded YUV data.
With reference to the sample 06_jpeg_decode, I succeeded in writing yuv data to a file, then reading it and putting it into a char buffer to use.
However, I don’t know how to copy the buffer right away without using the file.
After getting NvBuffer through getNthBuffer, I thought I could copy the data in NvBuffer, but it failed.
Is there any way or sample I can refer to?