Memory for NvMap

Hi,
It looks similar to this topic:
High CPU usage for video capturing - #14 by DaneLLL

NvBuffer is hardware DMA buffer and need to consider data alignment. Not able to be as flexible as CPU buffer. In the topic it is UYVY format with width > 4096. Another example is YUV420 in 1920x1080. The buffer is:

Y: pitch=2048 width=1920 height=1080
U: pitch=1024 width=960 height=540
V: pitch=1024 width=960 height=540

You may call NvBufferGetParams() to get the information.