I am trying to use the VPP component to just do a color space conversion from UYVY to NV12, no de-interlacing or scaling, or other filters. When I use the exact same input parameters with MFX_FOURCC_YUY2 everything works. When I change mfxVideoParam.vpp.In.FourCC to MFX_FOURCC_UYVY, MFXVideoVPP::QueryIOSurf returns MFX_ERR_INVALID_VIDEO_PARAM. I am using API level 1.25.
Are there any additional restrictions on converting from UYVY to NV12 that I am missing and may be causing this?
Are you running on Windows?
From the following line, MFX_FOURCC_UYVY is only supported in Linux:
I am using windows, that explains the issue. Any chance of getting UYVY support in the windows SDK? The color conversion from UYVY to YUV2 is pretty simple, but CPU intensive and so it would be much more efficient to be able to just send UYVY to the Intel Media SDK.
I could ask for the change, could you specify the reason in the application why you want to add UYVY to YUV2 HW accelerated conversion? Is it critical to your project?