I am using multimedia API with R28.1 for my TX2. I tried to capture raw frames to CPU memory after scaling. In example “camera_v4l2_cuda”. I can successfully get a frame from conv0’s capture NvBuffer’s planes without mmap the buffer to userspace. Is the buffer data pointer is already been “mmap” to userspace before “conv_capture_dqbuf_thread_callback” function been called? I just get confused about it.
Just to clarify, is this the right way to capture a raw frame? Please specify the right way to get a frame if it is not.