I have found a bug in the VPP scale/resize function of libmfxsw64.dll
This happens in the latest version of libmfxsw64.dll, that is 7.16.5.13, and older versions too.
There is no issue in the hardware VPP function, or when using MFX_IMPL_HARDWARE
This issue will occur when using MFX_IMPL_SOFTWARE
Here is the carefully crafted reproduction:
You will now have two output files, the correct file 'good*' and the incorrect file 'bad*'
Please view the two files and you will see how only the software VPP scale/resize messes up the colors.
The cause of the issue is the combination of the '-lib sw' and the '-dcrX 1' flags, or MFX_IMPL_SOFTWARE and mfxFrameInfo.CropX elements.
This is not an issue if mfxFrameInfo.CropX%2==0, this is only an issue when mfxFrameInfo.CropX%2==1
If the team decides not to support 'mfxFrameInfo.CropX%2==1' for whatever reason, please add note to documentation AND return a fatal error code when attempting to use the unsupported values inside mfxFrameInfo.
I hope this is enough to get the issue into the correct queue inside Intel, but if not, and you need a formal report filed though another channel, please let me know.
Thank you very much, Cameron Elliott
Link Copied
Hi Cameron,
Can you share log from system_analyzer tool located at (mediasdk/tools/analyzer) ? This will help provide your system details.
Thanks,
Zachary
Zachary,
I am attaching my system_analyzer output. It might be useful to note the issue reported is basically independent of the system configuration, and thus system configuration has little affect on the presence/absence of the issue. The important variables for demonstrating when the bug occurs, and when it does not occur are highlighted in the bug reproduction steps above.
Hi Cameron,
Thanks for your more details, I am reproducing this issue, I will get back to you soon.
Thanks,
Zachary
Hi Cameron,
I have reproduced this issue and escalated it to MSDK develop team.
Hope this issue can be fixed in the next release, I will update this thread when I heard something regarding this issue.
Thanks,
Zachary
For more complete information about compiler optimizations, see our Optimization Notice.