Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

oneVPL - Device Discovery (Windows Os)

Zanaboni__Gabriele
1,104 Views

Hi,

The oneVPL library describe some functions used in Device Discovery, of which I can't find compare for Windows, for instance:

- int GetDeviceCount(VplDeviceType dtype)

- VplDeviceProperty *GetDeviceProperty(VplDeviceType dtype, uint32_t id)

Please someone may help me understand how to achieve this in windows OS.

Thanks

0 Kudos
3 Replies
Mark_L_Intel1
Moderator
1,104 Views

Hi Gabriele,

Could you check the VPL spec 0.7 and see if it answers your question?

https://spec.oneapi.com/versions/latest/elements/oneVPL/source/index.html#device-discovery

But could you be more specific about your question? My understanding is, user uses this API to retrieve the device count from the current device, this API should be available on both Windows and Linux.

Mark

0 Kudos
Zanaboni__Gabriele
1,104 Views

Hi Liu,

Thank you for reply.

I have read the spec VPL 0.7 and they are fine. But I can't find this kind of class (DeviceInfo) defined in any namespace none in a class.

So, the question is, where could be found these functions (or class DeviceInfo)?

In attach the only file of library (C:\Program Files (x86)\inteloneapi\vpl\2021.1-beta06\include\vpl\vpl.hpp) that contain the 'namespace vpl' where I supposed to find the vpl::DeviceInfo (but is not there)

In addiction a would like to point out that even the simple_encode, program sample used as reference from Visual
Studio 2017 to show the base-use-case, doesn't use the DeviceInfo class (why?)

Thanks

Gabriele

0 Kudos
Luis_at_Intel
Moderator
998 Views

Hi @Zanaboni__Gabriele 

I am not able to find these class references in the oneAPI spec for the API descriptions in latest spec https://spec.oneapi.com/versions/latest/elements/oneVPL/source/index.html 

I wonder if the documentation included these classes by mistake, as you observed in Beta 07 such documentation references weren't found in sample code. 

 

For the latest Beta 08 release, please check the landing page at: https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html

The new source code is at: https://github.com/oneapi-src/oneVPL

 

Thank you again for your feedback.

 

Best Regards,

Luis

0 Kudos
Reply