Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Donald_G_
Beginner
42 Views

Decode samples do not match current SDK

Jump to solution

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 II
42 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 II
43 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

Donald_G_
Beginner
42 Views

Thank you, it is clear to me now.

Reply