Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK

MFXDecodePlugin Problem

cen__longhui
Beginner
185 Views

Hello:

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

DecodeInputData(pData,nDataLen);

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

cenlonghui

 

0 Kudos
0 Replies
Reply