MediaSDK icon indicating copy to clipboard operation
MediaSDK copied to clipboard

[Clarification] Supported input / output combinations for VPP colorspace conversion

Open ishmael1985 opened this issue 6 years ago • 6 comments

YUY2 output format support using VPP CSC (colorspace conversion) works on Intel media drivers (Windows and Linux) which I tested to comply with MSDK version 1.22+, but this support is not very well documented in the manual. The MSDK reference manual clearly specifies that NV12 and RGB32 output formats are only supported for color space conversion. I believe the manual needs to be updated to reflect the new YUY2 output format support, and any other supported input / output CSC combinations. So for now, I would like to ask until such information is documented: what is the minimum MSDK version support that should be advertised by the media driver to know for sure that YUY2 output format is definitely supported for CSC?

ishmael1985 avatar Mar 28 '18 22:03 ishmael1985

Actually, I think I'll just use MFXVideoVPP_Query () to query the support instead of hacking with the MFX version. I'll rename this question then instead, it could help clarify things for others.

ishmael1985 avatar Mar 28 '18 23:03 ishmael1985

Hi @ishmael1985 ,

I found YUY2 in color conversion support declared at p11-12 of Media SDK manual. And I see it mentioned at the API versions <1.22. So, it seems like it's supported for very long time and all drivers working on officially supported platforms should have this feature.

Best wishes, Anna

avbelova avatar Jun 06 '18 17:06 avbelova

@avbelova I was referring to NV12->YUY2, P010->YUY2 output CSC, MSDK reference gives NV12, BGRA, etc., output CSC in the manual, but no mention of YUY2. There is support for it in the iHD driver, and has been exposed in sample_vpp, but what's not clear is when has YUY2 output CSC been introduced in Windows and Linux.

ishmael1985 avatar Jun 06 '18 17:06 ishmael1985

We have a detailed format table and are working on a way to share this table in GitHub.

FurongZhang avatar Oct 13 '20 13:10 FurongZhang

We are preparing the document.

FurongZhang avatar Nov 02 '20 06:11 FurongZhang

Hi @FurongZhang do you have any updates?

daleksan avatar Jun 09 '21 23:06 daleksan