Hello. I develope H.264 and MPEG2 Viewing Aplication.
I use Intel Media Sdk 2013 R2 for it.
Developing application change viewing video dynamic.
So, Init and Close of MFXVideoDECODE are called many time.
H.264 HD(1920 x 1080) and MPEG2 SD(720 x 480) is always fine.
But, memory leak happen in H.264 SD(720 x 480).
I investigate aplication by Intel Inspector XE.
It indicate leaking in MFXVideoVPP_GetVPPStat of libmfxhw32.dll.
That's leak increase 156 byte every time Init and Close.
How can I improve that's leak ?
My developing enviroment is
OS:Windows 7 Pro SP1 32 bit
CPU: Core i7-3770 3.4GHz
Graphic: Intel HD Graphics 4000
Driver version: 220.127.116.1140
Please advice to me.
The "Driver version: 18.104.22.16840" is relatively old and many fixes have been implemented since then.
Please update graphics drivers. (downloadcenter.intel.com, use Windows Update, or see your PC vendors website).
Thank you for your advice and sorry for my late reply.
I checked graphics driver ver 10.18.10.3621
Memory leak of H.264 SD is improved in the driver.
But another memory leak happen in the driver.
Memory leak happen by changing decode format.
First, call init of MFXVideoDECODE for H.264.
Next, call close of MFXVideoDECODE and init for MPEG2.
Next, call close of MFXVideoDECODE and init for H.264.
Repeating that's sequence make memory leak.
Resolution changing have no influence.
So I try to check another way.
That's way is call close and init of MFXVideoDECODE in resolution change.
But repeat that's way for H.264, finaly fail to call close and init.
So I have question.
Repeating to call close and init is expected behavior ?
Or is there another way to change decoding format and resolution many time ?
Please tell me about it.