Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

HEVC image hardware decoding has memory problems.

Intel_C_
Novice
395 Views
Hi all,
 
My HEVC image hardware decoding code is as follows:
 
void CDecodingPipeline::SetHEVCGuid(mfxPluginUID & mfxGuid)
{
//33 a6 1c 0b 4c 27 45 4c a8 d8 5d de 75 7c 6f 8e h265 hw decoder guid
mfxGuid.Data[0] = (mfxU8)0x33;
mfxGuid.Data[1] = (mfxU8)0xa6;
mfxGuid.Data[2] = (mfxU8)0x1c;
mfxGuid.Data[3] = (mfxU8)0x0b;
mfxGuid.Data[4] = (mfxU8)0x4c;
mfxGuid.Data[5] = (mfxU8)0x27;
mfxGuid.Data[6] = (mfxU8)0x45;
mfxGuid.Data[7] = (mfxU8)0x4c;
mfxGuid.Data[8] = (mfxU8)0xa8;
mfxGuid.Data[9] = (mfxU8)0xd8;
mfxGuid.Data[10] = (mfxU8)0x5d;
mfxGuid.Data[11] = (mfxU8)0xde;
mfxGuid.Data[12] = (mfxU8)0x75;
mfxGuid.Data[13] = (mfxU8)0x7c;
mfxGuid.Data[14] = (mfxU8)0x6f;
mfxGuid.Data[15] = (mfxU8)0x8e;
}
 
mfxStatus CDecodingPipeline::Init(sInputParams *pParams, HWND Renderhwnd)
{
    ..................
    if (m_CodecType == E_H265_CODEC_TYPE) {
        pParams->videoType = MFX_CODEC_HEVC;
        SetHEVCGuid(pParams->pluginParams.pluginGuid);
    }
    ................
    m_pPlugin.reset(LoadPlugin(MFX_PLUGINTYPE_VIDEO_DECODE, m_mfxSession, pParams->pluginParams.pluginGuid, 1));
    ................
}
 
Image can be decoded correctly,But it takes up too much system memory.
Three 720p resolution images take up more than 600 Mb of system memory.
Is there any other setting I did not do?
Or is this normal?
Please help me.
 
OS: Windows10
SDK: Intel(R)_Media_SDK_2016.0.2
Intel Graphic: Intel(R) HD Graphics 4600
Driver: 20.19.15.4549
 
 
David.Liu
0 Kudos
1 Reply
Artem_S_Intel
Employee
395 Views

For Intel(R) HD Graphics 4*** series it most likely expected as it doesn't have native hardware HEVC support, but has hybrid implementation(GPGPU+CPU).

0 Kudos
Reply