I wrote an earlier post about the video frame shifting when I toggle the flash muxes on the DM648 EVM (https://community.ti.com/forums/t/151.aspx). I resolved this issue, but I still see the shifting video when I switch video feeds or plug in a new video feed. It looks like the capture hardware takes about .5 seconds to sync to the composite video, and until then the input is shifted, distorted or both.
I tried setting up VPORT_IntCallBack(), but I don't get any interrupts for capture fifo over-run, sync error, or long or short field detection. (When I set the mask to 0xFF I get some ints, so I know the function is hooked in properly).
It would be best if I could just drop a couple of frames until I know the video is good. Since this is security software, the feed could be changed on the fly and it would be best if the driver would allow me to handle that. Is there anything else I can do to detect when the video capture is out of sync?