Vulkan requested extensions
Functions
gst_vulkan_element_get_merged_requested_device_extensions_context
GstContext * gst_vulkan_element_get_merged_requested_device_extensions_context (GstElement * element)
Like gst_vulkan_element_get_merged_requested_instance_extensions_context, but for GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR. The result is only non-%NULL if the merge includes a GstVulkanInstance anchor (extension-only device requests are ignored).
Parameters:
element
–
merged context, or NULL
Since : 1.30
GstVulkan.prototype.vulkan_element_get_merged_requested_device_extensions_context
function GstVulkan.prototype.vulkan_element_get_merged_requested_device_extensions_context(element: Gst.Element): {
// javascript wrapper for 'gst_vulkan_element_get_merged_requested_device_extensions_context'
}
Like GstVulkan.prototype.vulkan_element_get_merged_requested_instance_extensions_context, but for GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR. The result is only non-%NULL if the merge includes a GstVulkan.VulkanInstance anchor (extension-only device requests are ignored).
Parameters:
merged context, or null
Since : 1.30
GstVulkan.vulkan_element_get_merged_requested_device_extensions_context
def GstVulkan.vulkan_element_get_merged_requested_device_extensions_context (element):
#python wrapper for 'gst_vulkan_element_get_merged_requested_device_extensions_context'
Like GstVulkan.vulkan_element_get_merged_requested_instance_extensions_context, but for GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR. The result is only non-%NULL if the merge includes a GstVulkan.VulkanInstance anchor (extension-only device requests are ignored).
Parameters:
merged context, or None
Since : 1.30
gst_vulkan_element_get_merged_requested_instance_extensions_context
GstContext * gst_vulkan_element_get_merged_requested_instance_extensions_context (GstElement * element)
Merges every GST_VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR context already set on element into a single GstContext (extension names only; see gst_vulkan_requested_extensions_merge_from_element).
Parameters:
element
–
merged context, or NULL if no instance extension names were found
Since : 1.30
GstVulkan.prototype.vulkan_element_get_merged_requested_instance_extensions_context
function GstVulkan.prototype.vulkan_element_get_merged_requested_instance_extensions_context(element: Gst.Element): {
// javascript wrapper for 'gst_vulkan_element_get_merged_requested_instance_extensions_context'
}
Merges every GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR context already set on element into a single Gst.Context (extension names only; see GstVulkan.prototype.vulkan_requested_extensions_merge_from_element).
Parameters:
merged context, or null if no instance extension names were found
Since : 1.30
GstVulkan.vulkan_element_get_merged_requested_instance_extensions_context
def GstVulkan.vulkan_element_get_merged_requested_instance_extensions_context (element):
#python wrapper for 'gst_vulkan_element_get_merged_requested_instance_extensions_context'
Merges every GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR context already set on element into a single Gst.Context (extension names only; see GstVulkan.vulkan_requested_extensions_merge_from_element).
Parameters:
merged context, or None if no instance extension names were found
Since : 1.30
gst_vulkan_requested_device_extensions_context_new
GstContext * gst_vulkan_requested_device_extensions_context_new ()
new device-extension request GstContext
Since : 1.30
GstVulkan.prototype.vulkan_requested_device_extensions_context_new
function GstVulkan.prototype.vulkan_requested_device_extensions_context_new(): {
// javascript wrapper for 'gst_vulkan_requested_device_extensions_context_new'
}
new device-extension request Gst.Context
Since : 1.30
GstVulkan.vulkan_requested_device_extensions_context_new
def GstVulkan.vulkan_requested_device_extensions_context_new ():
#python wrapper for 'gst_vulkan_requested_device_extensions_context_new'
new device-extension request Gst.Context
Since : 1.30
gst_vulkan_requested_extensions_context_add
gst_vulkan_requested_extensions_context_add (GstContext * context, const gchar * extension_name)
Appends extension_name to extensions, ignoring duplicates.
Parameters:
context
–
a GstContext of type GST_VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
extension_name
–
Vulkan extension name to request
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_context_add
function GstVulkan.prototype.vulkan_requested_extensions_context_add(context: Gst.Context, extension_name: String): {
// javascript wrapper for 'gst_vulkan_requested_extensions_context_add'
}
Appends extension_name to extensions, ignoring duplicates.
Parameters:
a Gst.Context of type GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
Vulkan extension name to request
Since : 1.30
GstVulkan.vulkan_requested_extensions_context_add
def GstVulkan.vulkan_requested_extensions_context_add (context, extension_name):
#python wrapper for 'gst_vulkan_requested_extensions_context_add'
Appends extension_name to extensions, ignoring duplicates.
Parameters:
a Gst.Context of type GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
Vulkan extension name to request
Since : 1.30
gst_vulkan_requested_extensions_context_dup_extensions
gchar ** gst_vulkan_requested_extensions_context_dup_extensions (GstContext * context)
Parameters:
context
–
a requested-extensions GstContext
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_context_dup_extensions
function GstVulkan.prototype.vulkan_requested_extensions_context_dup_extensions(context: Gst.Context): {
// javascript wrapper for 'gst_vulkan_requested_extensions_context_dup_extensions'
}
Parameters:
a requested-extensions Gst.Context
Since : 1.30
GstVulkan.vulkan_requested_extensions_context_dup_extensions
def GstVulkan.vulkan_requested_extensions_context_dup_extensions (context):
#python wrapper for 'gst_vulkan_requested_extensions_context_dup_extensions'
Parameters:
a requested-extensions Gst.Context
Since : 1.30
gst_vulkan_requested_extensions_context_get_vulkan_instance
gboolean gst_vulkan_requested_extensions_context_get_vulkan_instance (GstContext * context, GstVulkanInstance ** instance)
Parameters:
context
–
a requested-extension GstContext
instance
(
[out][optional][nullable][transfer: full])
–
location for the result
TRUE if instance was present in context
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_context_get_vulkan_instance
function GstVulkan.prototype.vulkan_requested_extensions_context_get_vulkan_instance(context: Gst.Context): {
// javascript wrapper for 'gst_vulkan_requested_extensions_context_get_vulkan_instance'
}
Parameters:
a requested-extension Gst.Context
Returns a tuple made of:
true if instance was present in context
Since : 1.30
GstVulkan.vulkan_requested_extensions_context_get_vulkan_instance
def GstVulkan.vulkan_requested_extensions_context_get_vulkan_instance (context):
#python wrapper for 'gst_vulkan_requested_extensions_context_get_vulkan_instance'
Parameters:
a requested-extension Gst.Context
Returns a tuple made of:
True if instance was present in context
Since : 1.30
gst_vulkan_requested_extensions_context_set_vulkan_instance
gst_vulkan_requested_extensions_context_set_vulkan_instance (GstContext * context, GstVulkanInstance * instance)
Sets or clears the embedded GstVulkanInstance on context, using GST_VULKAN_INSTANCE_CONTEXT_TYPE_STR in the GstStructure (same as gst_context_set_vulkan_instance). This is only meaningful for contexts of type GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR (the instance type ignores the field when merging).
Parameters:
context
–
a requested-extension GstContext
instance
(
[transfer: none][nullable])
–
GstVulkanInstance, or NULL to clear
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_context_set_vulkan_instance
function GstVulkan.prototype.vulkan_requested_extensions_context_set_vulkan_instance(context: Gst.Context, instance: GstVulkan.VulkanInstance): {
// javascript wrapper for 'gst_vulkan_requested_extensions_context_set_vulkan_instance'
}
Sets or clears the embedded GstVulkan.VulkanInstance on context, using GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR in the Gst.Structure (same as GstVulkan.prototype.context_set_vulkan_instance). This is only meaningful for contexts of type GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR (the instance type ignores the field when merging).
Since : 1.30
GstVulkan.vulkan_requested_extensions_context_set_vulkan_instance
def GstVulkan.vulkan_requested_extensions_context_set_vulkan_instance (context, instance):
#python wrapper for 'gst_vulkan_requested_extensions_context_set_vulkan_instance'
Sets or clears the embedded GstVulkan.VulkanInstance on context, using GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR in the Gst.Structure (same as GstVulkan.context_set_vulkan_instance). This is only meaningful for contexts of type GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR (the instance type ignores the field when merging).
Since : 1.30
gst_vulkan_requested_extensions_global_context_query
gst_vulkan_requested_extensions_global_context_query (GstElement * element, const gchar * context_type)
Runs the local query (merging both peer directions), always posts GST_MESSAGE_NEED_CONTEXT so the application or parent bin can contribute extension names, re-merges local contexts after that message, then gst_element_set_context and GST_MESSAGE_HAVE_CONTEXT when the merge contains extension names.
Parameters:
element
–
context_type
–
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_global_context_query
function GstVulkan.prototype.vulkan_requested_extensions_global_context_query(element: Gst.Element, context_type: String): {
// javascript wrapper for 'gst_vulkan_requested_extensions_global_context_query'
}
Runs the local query (merging both peer directions), always posts Gst.MessageType.NEED_CONTEXT so the application or parent bin can contribute extension names, re-merges local contexts after that message, then Gst.Element.prototype.set_context and Gst.MessageType.HAVE_CONTEXT when the merge contains extension names.
Since : 1.30
GstVulkan.vulkan_requested_extensions_global_context_query
def GstVulkan.vulkan_requested_extensions_global_context_query (element, context_type):
#python wrapper for 'gst_vulkan_requested_extensions_global_context_query'
Runs the local query (merging both peer directions), always posts Gst.MessageType.NEED_CONTEXT so the application or parent bin can contribute extension names, re-merges local contexts after that message, then Gst.Element.set_context and Gst.MessageType.HAVE_CONTEXT when the merge contains extension names.
Since : 1.30
gst_vulkan_requested_extensions_handle_context_query
gboolean gst_vulkan_requested_extensions_handle_context_query (GstElement * element, GstQuery * query, GstPadDirection continue_direction, GstVulkanInstance * instance)
Handles GST_QUERY_CONTEXT for either requested-extensions context type.
Parameters:
element
–
query
–
continue_direction
–
instance
–
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_handle_context_query
function GstVulkan.prototype.vulkan_requested_extensions_handle_context_query(element: Gst.Element, query: Gst.Query, continue_direction: Gst.PadDirection, instance: GstVulkan.VulkanInstance): {
// javascript wrapper for 'gst_vulkan_requested_extensions_handle_context_query'
}
Handles Gst.QueryType.CONTEXT for either requested-extensions context type.
Parameters:
Since : 1.30
GstVulkan.vulkan_requested_extensions_handle_context_query
def GstVulkan.vulkan_requested_extensions_handle_context_query (element, query, continue_direction, instance):
#python wrapper for 'gst_vulkan_requested_extensions_handle_context_query'
Handles Gst.QueryType.CONTEXT for either requested-extensions context type.
Parameters:
Since : 1.30
gst_vulkan_requested_extensions_local_context_query
GstQuery * gst_vulkan_requested_extensions_local_context_query (GstElement * element, const gchar * context_type, GstVulkanInstance * instance)
Like gst_vulkan_local_context_query, but merges requested-extension contexts from both peer directions and from contexts already set on element.
Parameters:
element
–
context_type
–
GST_VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
instance
(
[nullable])
–
the GstVulkanInstance for device negotiation; required when context_type is GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR, otherwise ignored (%NULL)
a GST_QUERY_CONTEXT carrying the merged context when actionable, or NULL. Does not post bus messages or call gst_element_set_context.
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_local_context_query
function GstVulkan.prototype.vulkan_requested_extensions_local_context_query(element: Gst.Element, context_type: String, instance: GstVulkan.VulkanInstance): {
// javascript wrapper for 'gst_vulkan_requested_extensions_local_context_query'
}
Like GstVulkan.prototype.vulkan_local_context_query, but merges requested-extension contexts from both peer directions and from contexts already set on element.
Parameters:
GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
the GstVulkan.VulkanInstance for device negotiation; required when context_type is GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR, otherwise ignored (%NULL)
a Gst.QueryType.CONTEXT carrying the merged context when actionable, or null. Does not post bus messages or call Gst.Element.prototype.set_context.
Since : 1.30
GstVulkan.vulkan_requested_extensions_local_context_query
def GstVulkan.vulkan_requested_extensions_local_context_query (element, context_type, instance):
#python wrapper for 'gst_vulkan_requested_extensions_local_context_query'
Like GstVulkan.vulkan_local_context_query, but merges requested-extension contexts from both peer directions and from contexts already set on element.
Parameters:
GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR or GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
the GstVulkan.VulkanInstance for device negotiation; required when context_type is GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR, otherwise ignored (%NULL)
a Gst.QueryType.CONTEXT carrying the merged context when actionable, or None. Does not post bus messages or call Gst.Element.set_context.
Since : 1.30
gst_vulkan_requested_extensions_merge_from_element
gst_vulkan_requested_extensions_merge_from_element (GstElement * element, GstContext * dst)
Merges every attached context matching dst's type into dst (extension names, and for device contexts only, the embedded GstVulkanInstance when dst does not carry one yet). For device contexts, extension-only sources are ignored until an instance anchor exists, and contexts naming different non-NULL GstVulkanInstance objects do not contribute to dst.
Since : 1.30
GstVulkan.prototype.vulkan_requested_extensions_merge_from_element
function GstVulkan.prototype.vulkan_requested_extensions_merge_from_element(element: Gst.Element, dst: Gst.Context): {
// javascript wrapper for 'gst_vulkan_requested_extensions_merge_from_element'
}
Merges every attached context matching dst's type into dst (extension names, and for device contexts only, the embedded GstVulkan.VulkanInstance when dst does not carry one yet). For device contexts, extension-only sources are ignored until an instance anchor exists, and contexts naming different non-NULL GstVulkan.VulkanInstance objects do not contribute to dst.
Since : 1.30
GstVulkan.vulkan_requested_extensions_merge_from_element
def GstVulkan.vulkan_requested_extensions_merge_from_element (element, dst):
#python wrapper for 'gst_vulkan_requested_extensions_merge_from_element'
Merges every attached context matching dst's type into dst (extension names, and for device contexts only, the embedded GstVulkan.VulkanInstance when dst does not carry one yet). For device contexts, extension-only sources are ignored until an instance anchor exists, and contexts naming different non-NULL GstVulkan.VulkanInstance objects do not contribute to dst.
Since : 1.30
gst_vulkan_requested_instance_extensions_context_new
GstContext * gst_vulkan_requested_instance_extensions_context_new ()
new instance-extension request GstContext
Since : 1.30
GstVulkan.prototype.vulkan_requested_instance_extensions_context_new
function GstVulkan.prototype.vulkan_requested_instance_extensions_context_new(): {
// javascript wrapper for 'gst_vulkan_requested_instance_extensions_context_new'
}
new instance-extension request Gst.Context
Since : 1.30
GstVulkan.vulkan_requested_instance_extensions_context_new
def GstVulkan.vulkan_requested_instance_extensions_context_new ():
#python wrapper for 'gst_vulkan_requested_instance_extensions_context_new'
new instance-extension request Gst.Context
Since : 1.30
Constants
GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
#define GST_VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR "gst.vulkan.requested-device-extensions"
Context type for negotiating Vulkan **device** extensions at runtime.
The GstStructure contains a G_TYPE_STRV field extensions and must be
anchored on a GstVulkanInstance (same field name as
gst_context_set_vulkan_instance, GST_VULKAN_INSTANCE_CONTEXT_TYPE_STR)
so answerers can inspect physical devices, filter requested device extension
names, and so merge logic can ignore unrelated fragments when instances
disagree.
Since : 1.30
GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
Context type for negotiating Vulkan **device** extensions at runtime.
The Gst.Structure contains a G_TYPE_STRV field extensions and must be
anchored on a GstVulkan.VulkanInstance (same field name as
GstVulkan.prototype.context_set_vulkan_instance, GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR)
so answerers can inspect physical devices, filter requested device extension
names, and so merge logic can ignore unrelated fragments when instances
disagree.
Since : 1.30
GstVulkan.VULKAN_REQUESTED_DEVICE_EXTENSIONS_CONTEXT_TYPE_STR
Context type for negotiating Vulkan **device** extensions at runtime.
The Gst.Structure contains a G_TYPE_STRV field extensions and must be
anchored on a GstVulkan.VulkanInstance (same field name as
GstVulkan.context_set_vulkan_instance, GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR)
so answerers can inspect physical devices, filter requested device extension
names, and so merge logic can ignore unrelated fragments when instances
disagree.
Since : 1.30
GST_VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR
#define GST_VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR "gst.vulkan.requested-instance-extensions"
Context type for negotiating Vulkan instance extensions at runtime.
The GstStructure holds a G_TYPE_STRV field extensions. Merge helpers
ignore any GST_VULKAN_INSTANCE_CONTEXT_TYPE_STR field for this type so
negotiation stays decoupled from a specific GstVulkanInstance.
Since : 1.30
GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR
Context type for negotiating Vulkan instance extensions at runtime.
The Gst.Structure holds a G_TYPE_STRV field extensions. Merge helpers
ignore any GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR field for this type so
negotiation stays decoupled from a specific GstVulkan.VulkanInstance.
Since : 1.30
GstVulkan.VULKAN_REQUESTED_INSTANCE_EXTENSIONS_CONTEXT_TYPE_STR
Context type for negotiating Vulkan instance extensions at runtime.
The Gst.Structure holds a G_TYPE_STRV field extensions. Merge helpers
ignore any GstVulkan.VULKAN_INSTANCE_CONTEXT_TYPE_STR field for this type so
negotiation stays decoupled from a specific GstVulkan.VulkanInstance.
Since : 1.30
The results of the search are