I run the sample_multi_transcode.exe from MediaSamples_MSDK_2017_126.96.36.1991\sample_multi_transcode\, and it works.
then I make DLL based on sample_multi_transcode code and meet an error as follows:
sts = m_pmfxENC->Query(&m_mfxEncParams, &m_mfxEncParams) returns MFX_WRN_PARTIAL_ACCELERATION.
P.S, The Intel GPU on my laptop is HD530 and all these code runs on win10.
by the way, I try to transocde H265 to H264 with sample_multi_transcode.exe, it works.
my problem is what happened when I build these transcode code to DLL(I call transcode API from the DLL by a demo code) instead of EXE, and the DLLs the DLL-case load is quite different from EXE-case, which showes in VS's output window.
finaly， the reason is confliction from loading nvidia's dll before loading intel's hw dll, and this cause load un-expect dll for intel hw acceleate. just unload nvidia's project in VS solution can handle this problem.