Hi, I have a problem when I initializing H264 HW codec, it always return MFX_ERR_UNSUPPORTED.
This is my code:
MFXVideoDECODE* m_pmfxDEC;
mfxVideoParam m_mfxVideoParams;
mfxFrameAllocRequest Request;
m_mfxVideoParams.vpp.In.FourCC = MFX_FOURCC_NV12;
m_mfxVideoParams.vpp.In.Width = 5120;
m_mfxVideoParams.vpp.In.Height = 3648;
m_mfxVideoParams.vpp.In.CropX = 0;
m_mfxVideoParams.vpp.In.CropY = 0;
m_mfxVideoParams.vpp.In.CropW = 5120;
m_mfxVideoParams.vpp.In.CropH = 3648;
m_mfxVideoParams.vpp.In.ChromaFormat = MFX_CHROMAFORMAT_YUV420;
sts = m_pmfxDEC->QueryIOSurf(&m_mfxVideoParams, &Request);/////always fail return MFX_ERR_UNSUPPORTED
It always fail when my video size is "5120x3648", but it is OK when I input low resolution video like "1920x1080".
thank your help
bill