Convert NvBuffer to cv::Mat

Hi,
You would need to create RGBA NvBuffer and then call NvBufferTransform() to convert the decoded YUV to RGBA. Please refer to this patch for mapping RGBA NvBuffer to cv::Mat:
NVBuffer (FD) to opencv Mat - #6 by DaneLLL