Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
3001 Discussions

Visual Studio debugger cannot show the members inside Intel defined structs

Hiroshi_O_
Beginner
210 Views

Hi there,

I started to code a new VC (DLL) project with Intel Media SDK 2014. When I run debug build of this DLL with test program and break into it, I see most of variable values, but those who are defined by Intel (e.g. mfxVideoParam and mfxFrameSurface1) are not at all. Does anyone see this problem or know how to fix this?

My theory is that this is because the definitions are actually compiled into static library (libmfxmd.lib) but the debug information is not available to us. This is just a guess and I did not get such deeper, though.

Thanks.

-Hiroshi

 

0 Kudos
5 Replies
Petter_L_Intel
Employee
210 Views

Hi Hiroshi,

Can you please provide more details about what parameter values you are not able to inspect?

In debug mode you should be able to inspect all Media SDK API structures/parameters.

Please make sure your build config is setup for Debug mode for all components, incl. your DLL.

Regards,
Petter

Hiroshi_O_
Beginner
210 Views

I see this problem with mfxFrameurface1 and mfxVideoParam. It is not all the structs from Intel because mfxFrameAllocResponse is displayed correctly. (See attached)

I am using Visual Studio 2012. My DLL is built on top of Visual 2008 headers/libraries by VS2012's capability to host old projects, though.

Petter_L_Intel
Employee
210 Views

Hi Hiroshi,

not sure what is going on in your setup. Seems to me the issue is somehow related to your Visual Studio project configuration or mixing of Release and Debug builds.

I'm assuming that you can see parameter values in VS if you compile and debug the unmodified samples that come with the SDK package?

Regards,
Petter

Hiroshi_O_
Beginner
210 Views

Thanks. I agree that this may be related to my specific project configuration. If no one else sees this, please disregard this thread.

Hiroshi_O_
Beginner
210 Views

Petter,

I agree that this may be some churn in my project set up.

Please disregard this thread unless anyone else sees the same issue.

-Hiroshi

 

Reply