(1)Is hardware buffer and DMA buffer the same concept from your description?
(2)If the bufferDesc param is a dma fd,can I access it with low-level functions?,Please have a look at Some questions about NvJPEGDecoder::decodeToFd.
I use same interface to access the dma fd from two cases,I get different width and height param.case 1 param is not aligned, but case 2 param is aligned.Why are the obtained parameters different?
(3)What is the meaning of the parameter layout?,what’t the differnce between the ‘NVBUF_LAYOUT_PITCH’ and ‘NVBUF_LAYOUT_BLOCK_LINEAR’?