nvbuffer black color fill

Hi.
I have nvbuffer with NV12 pixelformat.

How to fill buffer with black color?

Or.

How to clear buffer without destroying?

Hi,
Please refer to 10_camera_recording. We have reference code DO_CPU_PROCESS for accessing NvBuffer.