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.

Frame latency in OMX chain that includes DSP component

Hi,

I have created an OMX chain that includes capture->dei->dsp->display.
When i am measuring the latency when the dsp is coping input buffer to output buffer (vlpb), the frame rate is 50fps and the latency is 50msec.
When i am changing the vlpb module to perform my (heavy) video enhancement algorithm the frame rate drops to 19fps (which is OK for me) but the latency measured is 350msec. When i enable notify_always as explained in  http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/163085.aspx#603197 the latency is 300msec.
I have 2 questions:

1. If the frame rate processing when the DSP runs at 800MHz is 19fps then the processing time of 1 frame by the DSP is ~53msec. thus i would expect that the latency would be ~100msec, Why is the latency 300msec?

2. Is there anything that can be done to reduce the latency caused by the DSP?

Thanks,
Gabi