Other Parts Discussed in Thread: TVP7002
Hi
We are working on DM368 with encode application (based on the encode example)
The encode works fine up to 720P using the TVP7002 . We have modified the encode to support 1080i but than the Capture thread hangs (waits) in
while
(!gblGetQuit())
{
dprintf("$$2\n");
/* Pause processing? */
Pause_test(envp->hPauseProcess);
dprintf("$$2b\n");
/* Capture a frame */
if (Capture_get(hCapture, &hCapBuf) < 0) { // Here it hangs
ERR("Failed to get capture buffer\n");
cleanup(THREAD_FAILURE);
}
once in few second it returns with a valid frame but most of the time it just waits.
The TVP7002 seems to be locked and it status registers indicates correct lines number and Vsync signal is active.
what can cause the capture thread behavior? , is some one implemented 1080i capture with DM368/TVP7002 ?
Any tips here?
Thx
Avi