The difference between NvBufferLayout_Pitch and NvBufferLayout_BlockLinear


On the basis of 14_multivideo_decode.
I want to use the dump_dmabuf() function to write DMA(BlockLinear) buffer to file, this is a failure.

How to solve this problem? What is the format of Layout_BlockLinear.

Please convert the buffer to pitch linear format and then call dump_dmabuf(). Block linear format is for internal usage.

Ok, thank you!