- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using sample_decode.exe to decode h264 streams. If I replace this code () :
mfxU16 GetFreeSurfaceIndex(mfxFrameSurface1* pSurfacesPool, mfxU16 nPoolSize)
{
if (pSurfacesPool)
{
for (mfxU16 i = 0: i< nPoolSize; i >= 0; i++)
{
if (0 == pSurfacesPool.Data.Locked)
{
return i;
}
}
}
return MSDK_INVALID_SURF_IDX;
}
by this one :
mfxU16 GetFreeSurfaceIndex(mfxFrameSurface1* pSurfacesPool, mfxU16 nPoolSize)
{
if (pSurfacesPool)
{
for (mfxI16 i = nPoolSize - 1; i >= 0; i--)
{
if (0 == pSurfacesPool.Data.Locked)
{
return i;
}
}
}
return MSDK_INVALID_SURF_IDX;
}
the decoder does not render the right frame. I use the hw implementation 1.1 (old hardware). However, it does run correctly using the sw implementation. Do you have any tip on this behaviour ? Do I have to send surfaces to the decoder in a precise order to have a correct rendering ?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Petter, and Happy New Year !
You are right, I used the bad version of the IMSDK. I now use the 2012 R3 :
Intel(R) Media SDK Decoding Sample Version 3.5.915.45327However, I am still facing the same issue (only 1.0 API available in the hardware case)
I guess I know why the automated tool did not pick the latest driver. I tried to update my hardware with the 15.28.7.2875 driver, but it did not work. The setup.exe application dies without any message.
This version (15.28.7.2875) of the driver is available if I choose Graphics > Desktop Graphics Drivers > 2nd Generation Intel Core Processors with Intel HD Graphics 3000/2000 > Windows 7.
However, my chip is precisely this one : http://ark.intel.com/products/47341, and the Intel website references it as "previous generation". So I guess I can't pick "2nd Generation Intel Core Processors"
Using Graphics > Desktop Graphics Drivers > Intel Core Processors with Intel HD Graphics > Windows 7, the Intel website leads me to download exactly the same driver as the automated tool proposed me to install (15.22.57.2827).
As far as I know, the libmfxhw dll is embedded in the HD Graphics driver and the libmfxsw dll is released with the IMSDK software package. So I guess the question is : is there a more recent driver supported by this particular hardware (Core i5 520) ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page