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.

TMS320DM8148: VIP Port Latency

Part Number: TMS320DM8148

Using TI_EZSDK_EVM_05_05_02_00 and OMX, I'm creating an application that utilizes both the "OMX.TI.VPSSM3.VFCC" and the "OMX.TI.DUCATI.VIDENC" components to grab frames from the VIP port to encode. I'm working on better understanding the latency incurred from the VIP capture OMX component ("OMX.TI.VPSSM3.VFCC"). To help us better understand the latency, we replace the first pixel of every frame sent to the VIP port with a counter value. We also have the ability to inject a fixed number of frames into the VIP port. 

We notice we have to send 6 frames to the VIP port before the first frame is passed to the encoder for encoding. We added code to ProcessPipeCmdETB to print out the first pixel of every frame to see which frame is passed to the encoder. It shows us that when we send the 6th frame to "OMX.TI.VPSSM3.VFCC", "OMX.TI.DUCATI.VIDENC" gets a frame with the 4th frame's counter value. As we keep passing frames, it appears the encoder continually gets frames that are 2 frame counter values behind. Is there anything we can remove this 2 frame latency? I don't see any settings for "OMX.TI.VPSSM3.VFCC" that would help reduce this number.

Thanks,

Shaun