We use mipi (Toshiba TC359746) for video capture and transmission to TX2, video format YUV422, resolution 1024x768, pixel depth 16bit, 30fps. Our application (coming from the example12 of tegra_multimedia_api) uses V4L2 API to get video frames via nvbuff on TX2. We boundled 4xlanes of mipi channels into one for our video transmission, mipi driver is ov5693.c. When our application running on TX2 received the video frames and display the video via DVI, we found the video frames was tearing on screen, which seems the half of new frame data was writen into the nvbuff which was being read by application for displaying. The screen has part of previous frame and part of the current frame. Could you help to explain where the problem is, and tell us how to fix this problem?
We use the same hardware platform as described above, but changed the video format as 1920x1080, 16bit, 30fps, yuv422.
When we capture and display this video, we also had video frame tearing problem. But when we changed the resolution to 2048x1080, the tearing problem is gone. We don’t understand why. Could you explain?DeviceTree-tegra186-camera-e3326-a00.zip (1.8 KB)