Open maximd33 opened 6 years ago
Hi @maximd33 , You may re-use the following code https://github.com/Intel-Media-SDK/MediaSDK/blob/b3c34423842fcac5cb6bae587e409cf60bc0bcd2/_studio/shared/mfx_trace/src/mfx_reflect.cpp
Please see example of usage here: https://github.com/Intel-Media-SDK/MediaSDK/blob/e51cd4243862e112c62d4ebc3bdba3974becab80/_studio/mfx_lib/shared/src/libmfxsw_encode.cpp#L612
It compares two mfxVideoParam's and returns std::string with description of found differences.
@dmitryermilov it is C++ implementation, pure C one is required.
Would you like to propose a patch? :)
it actually would be good to have an implementation sample for handling of MFX_ERR_INVALID_VIDEO_PARAM via compare options been marked off and report this out.