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.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Sharing VA Surfaces with media sdk

ahmed__shakeeb
Beginner
169 Views

I want to use media sdk to perform denoising on linux. The problem I have is that I have VASurfaceID which i want to give to the media sdk to perform denoising. Is there any good way to convert this VASurfaceID to mfxFrameSurface1 or something similar so that I can use Media SDK?  

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
169 Views

Hi Shakeeb,

Sorry for the late response, did you solved this problem yet?

We should be able to support VASurfaceID, could you check the sample code of our Media SDK open source project? Here might be a good start point and you might trace the API from here:

https://github.com/Intel-Media-SDK/MediaSDK/blob/7f93c075850798d8b5555eec02f517d2cbd85dcf/samples/sa...

https://github.com/Intel-Media-SDK/MediaSDK/blob/dfdce26488c5a6e443a56fedce02b7a496dcbd0b/samples/sa...

Our sample code has 2 configurations for memory usage: system memory and video memory; VASurfaceID should be on the path for video memory.

Hope this helps.

Mark

Reply