This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Tearing on my video output

Normal 0 21 false false false DE X-NONE X-NONE MicrosoftInternetExplorer4

Hi all,

I am working on resizing frames with the IPIPE. In my application, frames from the CCDC get stored on SDRAM with a resolution of 768x480 and are resized by IPIPE to 720x480, so that they can be displayed on a typical TFT.

I am getting a lot of tearing on my monitor although I am sure that all buffers are used separately. To separate the buffers I am using

(1) CCDC’s VDINT0 at the last line (480), to pass the buffer to IPIPE
(2) IPIPE’s INT_1_SDR to know when SDRAM writing is finished and to pass the finished buffer to OSD
(3) OSDINT to take the finished IPIPE buffer, or not if there’s not a new finished buffer

CCDC is receiving frames at 60Hz, IPIPE is running at VPSSCLK/2 and OSD transmits frames a little above 60Hz. I measured the processing times per frame and got for
(1) CCDC    16.7 ms
(2) IPIPE    7.7 ms
(3) OSD    16.0 ms

From the standing point that the buffers are separated and IPIPE’s processing time is short enough, I don’t see, where the tearing comes from. I tried to capture the tearing, but so far I was not able to see any tearing on my captured frames.

Do you know what the problem could be?

Best regards
Sebastian