In Windows platform I am using Media SDK.
API version is 1.17 and DecodeFrameAsync is taking more than 5ms time. Can you please suggest what could be the possible reason?
sts = m_pmfxDEC->DecodeFrameAsync(pBitstream, &(m_pCurrentFreeSurface->frame), &pOutSurface, &(m_pCurrentFreeOutputSurface->syncp));
There could be many possibilities to consider. To narrow things down could you send more info?
Also, how are you measuring? Decode only or decode->render, decode->write to file, etc?
Can this behavior be replicated with sample_decode or one of the simple_decode tutorials?
Thank you for your reply. I am trying to reproduce the same with the sample codes.
I am having intel i5 4210U and media sdk API version is 1.17 running Windows 10.
Can you please suggest me some document which will give me some idea about how many simultaneous decoding of 1920*1080 @25fps is possible in the above mentioned processor.
Sorry for the delayed reply. I don't know of a document to point you to, but the best way to start exploring performance on your hardware is with the sample applications. For decode, you can run sample_decode with no output to measure decode FPS by itself. You should see standalone decode performance in the high hundreds of FPS. You can also render from that sample. Output file I/O is unoptimized -- if you write out to file nearly all of the execution time is in NV12->I420 color conversion and fwrite.