I want to develop a user module with the SDK which is a dll developed by other manufactor.
But I found that the SDK supply the decode function is asynchronous like the intel media sdk.
For example the SDK use like this :
SetDecodeCallback(DecodeOutputCallback);//DecodeOutputCallback is a callback function point fot decoded data callback
void DecodeOutputCallback(char * pDecodedData,int nDataLen)
I found that the DecodeInputData the thread id is different from the DecodeOutputCallback thread id.
So,how can I use the MFXDecodePlugin to develop the user decode module?
I don't know how to implement the "DeocdeFrameSubmit" and "Execute" in the MFXDecodePlugin.
Thank you all