Callbacks¶
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- GstVulkan.VulkanDeviceForEachQueueFunc(device, queue, *user_data)¶
- Parameters:
device (
GstVulkan.VulkanDevice) –queue (
GstVulkan.VulkanQueue) –
- Return type:
New in version 1.18.
- GstVulkan.VulkanHandleDestroyNotify(handle, *user_data)¶
- Parameters:
handle (
GstVulkan.VulkanHandle) – theGstVulkan.VulkanHandle
Function definition called when the
GstVulkan.VulkanHandleis no longer in use. All implementations of this callback must free the internal handle stored inside handle.New in version 1.18.
- GstVulkan.VulkanImageMemoryFindViewFunc(view, *user_data)¶
- Parameters:
view (
GstVulkan.VulkanImageView) –
- Return type:
Function definition used to find views. Return
Trueif view matches the criteria.New in version 1.18.
- GstVulkan.VulkanTrashListAdd(trash_list, trash)¶
- Parameters:
trash_list (
GstVulkan.VulkanTrashList) – theGstVulkan.VulkanTrashListinstancetrash (
GstVulkan.VulkanTrash) – theGstVulkan.VulkanTrashto add to trash_list
- Returns:
whether trash could be added to trash_list
- Return type:
Add trash to trash_list for tracking
New in version 1.18.
- GstVulkan.VulkanTrashListGC(trash_list)¶
- Parameters:
trash_list (
GstVulkan.VulkanTrashList) – theGstVulkan.VulkanTrashListinstance
Remove any memory allocated by any signalled objects.
New in version 1.18.
- GstVulkan.VulkanTrashListWait(trash_list, timeout)¶
- Parameters:
trash_list (
GstVulkan.VulkanTrashList) – theGstVulkan.VulkanTrashListinstancetimeout (
int) – the timeout in ns to wait
- Returns:
whether all objects were signalled and freed within the timeout
- Return type:
Wait for a most timeout to pass for all
GstVulkan.VulkanTrashobjects to be signalled and freed.New in version 1.18.
- GstVulkan.VulkanTrashNotify(device, *user_data)¶
- Parameters:
device (
GstVulkan.VulkanDevice) – theGstVulkan.VulkanDevice
New in version 1.18.