- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to use the ExternalTreads parameter of mfxInitParam structure (set to 1).
When I call MfxinitEx, it returns MFX_ERR_UNSUPPORTED.
The detected API version is 1.19.
Is there any other parameters to set ?
[System]
OS : Windows 10 Professional
CPU : i7-7700
Graphic : Intel(R) HD Graphics 630 (driver version : 21.20.16.4664, date : 2017-03-05)
Memory : DDR3 8G x 2 (Total 16G)
SDK : Intel(R) Media SDK 2016 R2
Compiler : Visual Studio 2010
Here is the code :
mfxInitParam initPar; MSDK_ZERO_MEMORY(initPar); initPar.Version.Major = 1; initPar.Version.Minor = 14; initPar.Implementation = MFX_IMPL_HARDWARE_ANY; initPar.GPUCopy = MFX_GPUCOPY_ON; initPar.ExternalThreads = 1; MFXVideoSession * pmfxSession = new MFXVideoSession; MSDK_CHECK_POINTER(pmfxSession, MFX_ERR_MEMORY_ALLOC); mfxStatus sts = pmfxSession->InitEx(initPar); // MSDK API version may not support multiple adapters - then try initialize on the default if (MFX_ERR_NONE != sts) { initPar.Implementation = (initPar.Implementation & !MFX_IMPL_HARDWARE_ANY) | MFX_IMPL_HARDWARE; sts = pmfxSession->InitEx(initPar); } MSDK_CHECK_RESULT(sts, MFX_ERR_NONE, sts);
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does anyone have use this parameter ?
Is this parameter obsolete ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anthony, unfortunatelly it is missed from Media SDK release notes, but mfxExtThreadsParam not supported on windows.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page