I am tracing the sample code under Tutorial, like simple_session and sample_multi_transcode. And also trying to mapping the behavior and functions which are listed in SDK Developer Reference.
But I found, it's hard to directly map them together. For example,
Creating Sessions list on manuals are always using MFXInit. But, refer to the source code, it aways implemented by
// Initialize Intel Media SDK Session, device/display and memory manager
mfxStatus Initialize(mfxIMPL impl, mfxVersion ver, MFXVideoSession* pSession, mfxFrameAllocator* pmfxAllocator, bool bCreateSharedHandles = false);
Why MFXInit no longer used in the sample code? Or I miss understand something? Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.