On TK1 I used NvDDK2D and NvRmSurface to manage gpu memory. Now on TX1 I am using Multmedia API based on V4L2.
- How can I convert between dma_fds created by NvBufferCreate[nvbuf_utils.h] with different params ? Just like what NvDdk2dBlit did.
- How can I read out / write into the memory of dma_fd in block linear layout created by NvBufferCreate[nvbuf_utils.h] ? Just like what NvRmSurfaceRead/NvRmSurfaceWrite did.
In ‘samples/07_video_convert’, I can only see convert between fd-s exported by V4L2 convert element; and the fd-s are one per planner. Although in some cases(pitch layout ?), the fd-s of different planners are the same, I’m not sure whether I can pass the dma_fd created by NvBufferCreate into it.