Just implemented sample app which captures video from camera, encodes it using IPP H.264 encoder (128 Kbps), then decodes and plays back. I noticed that there is latency in 5 frames, which as far as I understood are buffered somewhere in encoder processing pipeline. I not very familiar with H.264 standard, so may be mistaken about this. I'm using "high profile". Tested with "baseline" and "main" profiles (had to turn off transform8x8 flag), but situation is just the same.
Is there any way to decrease the latency? Although 5 frames may seem not very high - for VoIP application latency is a serious issue.
The H264 decoder waits for additional frames for start decoding in order to improve the threading performance.
Check method TaskBroker::IsEnoughForStartDecoding().
you can change the following code:
if (au_count >= m_iConsumerNumber || (force && au_count)) decoding