Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

Intel HD Graphics 530 HW decode initializing fail

$
0
0

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


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>