How to set nvv4l2decoder output suface layout

here is a sample to operate NvBufSurface by opencv.