OPENCV push stream into RTSP server

Hi,
The high CPU usage is from:

It actually does

copy BGRx CPU buffer to NVMM buffer -> convert to NV12 NVMM buffer

OpenCV support CPU buffer only, so the memcpy is must-have and cannot be eliminated.
And some usage is from

This is to convert BGR to BGRx through CPU.

There is a similar discussion: