Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ahmed__shakeeb
Beginner
70 Views

Sharing VA Surfaces with media sdk

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
70 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