GstVulkan.VulkanQueue¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
device |
r |
the |
|
family |
r |
the vulkan queue family |
|
index |
r |
the vulkan queue index |
|
parent |
r |
the parent |
|
queue |
r |
the vulkan queue handle |
Class Details¶
- class GstVulkan.VulkanQueue(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.18.
- classmethod flags_to_string(queue_bits)¶
- Parameters:
queue_bits (
Vulkan.QueueFlags
) –- Return type:
New in version 1.18.
- classmethod handle_context_query(element, query, queue)¶
- Parameters:
element (
Gst.Element
) – aGst.Element
query (
Gst.Query
) – aGst.Query
of typeGst.QueryType.CONTEXT
queue (
GstVulkan.VulkanQueue
orNone
) – theGstVulkan.VulkanQueue
- Returns:
whether query was responded to with queue
- Return type:
If a
GstVulkan.VulkanQueue
is requested in query, sets queue as the reply.Intended for use with element query handlers to respond to
Gst.QueryType.CONTEXT
for aGstVulkan.VulkanQueue
.New in version 1.18.
- classmethod run_context_query(element, queue)¶
- Parameters:
element (
Gst.Element
) – aGst.Element
queue (
GstVulkan.VulkanQueue
) – aGstVulkan.VulkanQueue
- Returns:
whether queue contains a valid
GstVulkan.VulkanQueue
- queue:
- Return type:
(
bool
, queue:GstVulkan.VulkanQueue
)
Attempt to retrieve a
GstVulkan.VulkanQueue
usingGst.QueryType.CONTEXT
from the surrounding elements of element.New in version 1.18.
- create_command_pool()¶
- Raises:
- Returns:
a new
GstVulkan.VulkanCommandPool
orNone
- Return type:
New in version 1.18.
- create_decoder(codec)¶
- Parameters:
codec (
int
) – the VkVideoCodecOperationFlagBitsKHR to decode- Returns:
the
GstVulkan.VulkanDecoder
object- Return type:
Creates a
GstVulkan.VulkanDecoder
object if codec decoding is supported by selfNew in version 1.24.
- get_device()¶
- Returns:
the
GstVulkan.VulkanDevice
for self- Return type:
New in version 1.18.
- submit_lock()¶
Locks the queue for command submission using
vkQueueSubmit()
to meet the Vulkan requirements for externally synchronised resources.New in version 1.18.
- submit_unlock()¶
Unlocks the queue for command submission using
vkQueueSubmit()
.See
GstVulkan.VulkanQueue.submit_lock
() for details on when this call is needed.New in version 1.18.