Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anthony_M_
Beginner
60 Views

Using ExternalThreads

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

 

0 Kudos
2 Replies
Anthony_M_
Beginner
60 Views

Hi,

Does anyone have use this parameter ?

Is this parameter obsolete ?

Thanks

Artem_S_Intel
Employee
60 Views

Hi Anthony, unfortunatelly it is missed from Media SDK release notes, but mfxExtThreadsParam not supported on windows.

Reply