intel / libva

Libva is an implementation for VA-API (Video Acceleration API)
http://intel.github.io/libva/
Other
653 stars 300 forks source link

va:add synchornization fence for HW execution #810

Open XinfengZhang opened 4 months ago

XinfengZhang commented 4 months ago

do not merge! add fence in and fence out for vaEndPicture which is using to submit command buffer fence out will be signaled after HW execution, fence in is the dependencies

ceyusa commented 4 months ago

is this Linux only?

XinfengZhang commented 4 months ago

is this Linux only?

good question, it is for a linux PoC , will not merge until we could verify it. I suppose we could refer vulkan vkSemaphore or vkFence in future to support all OS in future. such as: add a interface to createsyncobj and destroysyncobj, the syncobj could be used to encapsulate different OS sync object.