Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Decode samples do not match current SDK

Donald_G_
Beginner
105 Views

I've been studying the decode samples and find they do not match the current API 1.8.

For example, the samples use DecodeHeader() while the API 1.8 document describes MFXVideoDECODE_DecodeHeader(). This makes it difficult to work with the samples.

1. Are there samples updated to the current API?

2. Are the older API documents applicable to the obsolete samples available?

Thank you.

0 Kudos
1 Solution
OTorg
New Contributor III
105 Views

MFXVideoDECODE_DecodeHeader is a c-style function, declared at mfxvideo.h

MFXVideoDECODE::DecodeHeader is the same as MFXVideoDECODE_DecodeHeader, but packed into a c++ wrapper/autocloser class, declared at mfxvideo++.h

Nothing is obsolete. They coexist.

PS. It is similar to WinSDK's HANDLE and ATL::CHandle, and MSDN documentation is concentrated on HANDLE.

View solution in original post

2 Replies
OTorg
New Contributor III
106 Views

MFXVideoDECODE_DecodeHeader is a c-style function, declared at mfxvideo.h

MFXVideoDECODE::DecodeHeader is the same as MFXVideoDECODE_DecodeHeader, but packed into a c++ wrapper/autocloser class, declared at mfxvideo++.h

Nothing is obsolete. They coexist.

PS. It is similar to WinSDK's HANDLE and ATL::CHandle, and MSDN documentation is concentrated on HANDLE.

Donald_G_
Beginner
105 Views

Thank you, it is clear to me now.

Reply