Hi,
A possible solution will be like:
- Call decodeToFd() to get NvBuffer in YUV420
- Call NvBufferTransform() to get NvBuffer in RGBA
- Create CUDA buffer in BGR and implement CUDA code to convert NvBuffer in RGBA to the CUDA buffer in BGR
For maximum throughput of NvBufferTransform(), please execute the steps:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL