Hi,I'm trying to set up a decoding application using the Intel Media SDK. As for now, I will use the software implementation to decode a h264 stream.I have 2 questions :
- UsingMFXVideoCore_SetFrameAllocator andMFXVideoCore_SetBufferAllocator just after invoking MFX_Init(), I set up callback to manager externally memory allocations. According to the documentation, the frame allocator's Alloc callback should be called once during MFXVideoDECODE_Init call. This is not the case for me... I never run into these functions. I use MFX_IOPATTERN_OUT_SYSTEM_MEMORY as IOPattern parameter (but usingMFX_IOPATTERN_OUT_VIDEO_MEMORY leads to the same behaviour)
- TheMFXVideoDECODE_Init returns MFX_ERR_NONE, but I can't go further : the first call to MFXVideoDECODE_DecodeFrameAsync returns -3 (MFX_ERR_UNSUPPORTED). Since headers decoding went well, I do not see what feature is not supported here...
I do not think these issues are linked : I have the second issue even if I use default allocators.Thanks for any clue on these issues.