linux medis sdk 1.8
h264decode,i have a problem:
memset(&mfxVideoParams, 0, sizeof(mfxVideoParams));
mfxVideoParams.IOPattern = MFX_IOPATTERN_OUT_SYSTEM_MEMORY;
sts = ReadBitStreamData1(&mfxBS, data, length); ==>sts =0;
sts = pmfxDEC->DecodeHeader(&mfxBS, &mfxVideoParams);==>sts =0;
memset(&Request, 0, sizeof(Request));
sts = pmfxDEC->QueryIOSurf(&mfxVideoParams, &Request); ==>sts =0;
sts = pmfxDEC->Init(&mfxVideoParams);==>sts =-8, MFX_ERR_NOT_INITIALIZED why?
i don't know the error,what's mean it?
There are a few differences to keep in mind between the Windows and Linux implementations:
1. Windows has SW and HW implementations, Linux only has HW.
2. In Windows, setHandle is only required when you wish to allocate your own video memory surfaces. In Linux, ALL sessions require setHandle after init.
The code to do this is in the Linux samples. When the next release of the tutorials is available (should be very soon) they will illustrate initialization in a simpler way. For now, there is more information to get you started in this thread.