Part Number: AM5728
Other Parts Discussed in Thread: TVP5158
Tool/software: Linux
Hi,
In my old thread : https://e2e.ti.com/support/arm/sitara_arm/f/791/t/660340#pi316653=1
Our board is capture PAL(576I) from tvp5158.We need VPE to do interlace so that we can run our own algo.
I 'm using capturevpedisplay demo in omapdrmtest.
I found that there is almost no time remains between vpe output a buf (V4L2 dqbuf) and display the buf.
Blow is what I'm debuging in capturevpedisplay demo:
index = vpe_output_dqbuf(vpe);
testbuf = vpe->disp_bufs[index]; // add a cmem buf in struct buffer, try to transmit cmem buf to our algo(opencv)
usleep(2000); // if this delay is more than 2ms .Sometimes it will display the original image (interlace) .
display_buffer(vpe, index);
I tried to use delay to replace our algo.I found that if delay is more than about 2ms the "deinterlace" will be unstable.
Is this due to hardware features ?
